Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle") translateModel(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001282/0.001282, allocations: 115.3 kB / 15.34 MB, free: 0.5156 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001441/0.001441, allocations: 189.6 kB / 16.25 MB, free: 6.633 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.339/1.339, allocations: 222.9 MB / 239.9 MB, free: 4.52 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001998/0.001998, allocations: 286.5 kB / 290.4 MB, free: 2.141 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9741/0.9741, allocations: 169.2 MB / 0.4978 GB, free: 14.07 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002583/0.002583, allocations: 100.4 kB / 0.5947 GB, free: 28.27 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1592/0.1618, allocations: 86.98 MB / 0.6796 GB, free: 1.066 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle): time 0.006188/0.168, allocations: 4.288 MB / 0.6838 GB, free: 12.77 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.4395/0.6075, allocations: 148.3 MB / 0.8286 GB, free: 0.8086 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008047/0.6084, allocations: 19.16 kB / 0.8287 GB, free: 0.8008 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.000518/0.6089, allocations: 131.8 kB / 0.8288 GB, free: 0.7461 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001387/0.6103, allocations: 450.9 kB / 0.8292 GB, free: 0.6523 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.00156/0.6119, allocations: 0.7268 MB / 0.8299 GB, free: 0.6172 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001111/0.613, allocations: 1.281 MB / 0.8312 GB, free: 424 kB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007419/0.6138, allocations: 0.6169 MB / 0.8318 GB, free: 284 kB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005257/0.6143, allocations: 469.5 kB / 0.8322 GB, free: 188 kB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004193/0.6147, allocations: 490.3 kB / 0.8327 GB, free: 76 kB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001376/0.6149, allocations: 113.9 kB / 0.8328 GB, free: 76 kB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007564/0.6157, allocations: 458 kB / 0.8332 GB, free: 56 kB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002066/0.6159, allocations: 288.2 kB / 0.8335 GB, free: 12 kB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0004417/0.6163, allocations: 0.5351 MB / 0.834 GB, free: 15.84 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.00138/0.6177, allocations: 1.545 MB / 0.8355 GB, free: 15.62 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/0.6177, allocations: 0 / 0.8355 GB, free: 15.62 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.543e-06/0.6177, allocations: 0 / 0.8355 GB, free: 15.62 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.462e-05/0.6178, allocations: 1.312 kB / 0.8355 GB, free: 15.62 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 208 * Number of variables: 208 Notification: Performance of Generate backend data structure: time 0.002401/0.6202, allocations: 1.394 MB / 0.8369 GB, free: 14.84 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.153e-05/0.6202, allocations: 9.375 kB / 0.8369 GB, free: 14.84 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009358/0.6212, allocations: 181.9 kB / 0.8371 GB, free: 14.78 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009698/0.6221, allocations: 0.7428 MB / 0.8378 GB, free: 14.45 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.777e-05/0.6222, allocations: 60.03 kB / 0.8379 GB, free: 14.44 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001086/0.6223, allocations: 81.77 kB / 0.8379 GB, free: 14.44 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001477/0.6238, allocations: 0.9052 MB / 0.8388 GB, free: 14.29 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.075e-05/0.6238, allocations: 4.969 kB / 0.8388 GB, free: 14.29 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.92e-05/0.6239, allocations: 33.12 kB / 0.8389 GB, free: 14.29 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.824e-05/0.6239, allocations: 20.16 kB / 0.8389 GB, free: 14.29 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001552/0.6255, allocations: 1.097 MB / 0.84 GB, free: 14.27 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003516/0.629, allocations: 2.472 MB / 0.8424 GB, free: 12.8 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001381/0.6304, allocations: 0.8589 MB / 0.8432 GB, free: 12.32 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004939/0.6309, allocations: 296.8 kB / 0.8435 GB, free: 12.17 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 7.994e-05/0.631, allocations: 33.89 kB / 0.8435 GB, free: 12.16 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000876/0.6319, allocations: 488.5 kB / 0.844 GB, free: 11.85 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=79): time 2.104e-06/0.6319, allocations: 0 / 0.844 GB, free: 11.85 MB / 0.5762 GB Notification: Performance of matching and sorting (n=79): time 0.002965/0.6349, allocations: 1.173 MB / 0.8451 GB, free: 11.21 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.977e-05/0.635, allocations: 193.7 kB / 0.8453 GB, free: 10.99 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006612/0.6357, allocations: 0.6216 MB / 0.8459 GB, free: 10.62 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 7.299e-05/0.6358, allocations: 42.61 kB / 0.846 GB, free: 10.58 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002552/0.636, allocations: 392.9 kB / 0.8463 GB, free: 10.24 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001949/0.6362, allocations: 259.5 kB / 0.8466 GB, free: 10.02 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002425/0.6365, allocations: 162.6 kB / 0.8467 GB, free: 9.922 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001688/0.6367, allocations: 384 kB / 0.8471 GB, free: 9.555 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005007/0.6372, allocations: 259.7 kB / 0.8474 GB, free: 9.43 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005925/0.6378, allocations: 359.6 kB / 0.8477 GB, free: 9.223 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009803/0.6387, allocations: 0.599 MB / 0.8483 GB, free: 8.902 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.6388, allocations: 0 / 0.8483 GB, free: 8.902 MB / 0.5762 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001823/0.6406, allocations: 0.8388 MB / 0.8491 GB, free: 8.469 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.796e-05/0.6406, allocations: 7.031 kB / 0.8491 GB, free: 8.469 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.895e-06/0.6406, allocations: 2.219 kB / 0.8491 GB, free: 8.469 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006098/0.6412, allocations: 83.95 kB / 0.8492 GB, free: 8.426 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006157/0.6419, allocations: 158.3 kB / 0.8493 GB, free: 8.387 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002021/0.6439, allocations: 1.629 MB / 0.8509 GB, free: 6.785 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000705/0.6446, allocations: 90.16 kB / 0.851 GB, free: 6.727 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.16e-05/0.6447, allocations: 34.5 kB / 0.8511 GB, free: 6.715 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 17 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (93): * Single equations (assignments): 92 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0003636/0.6451, allocations: 271.6 kB / 0.8513 GB, free: 6.504 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001427/0.6452, allocations: 82.66 kB / 0.8514 GB, free: 6.461 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002246/0.6475, allocations: 1.055 MB / 0.8524 GB, free: 5.875 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.133e-06/0.6475, allocations: 10.06 kB / 0.8524 GB, free: 5.875 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.296e-06/0.6475, allocations: 0 / 0.8524 GB, free: 5.875 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.578e-06/0.6475, allocations: 3.984 kB / 0.8524 GB, free: 5.871 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002968/0.6505, allocations: 1.908 MB / 0.8543 GB, free: 4.625 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.677e-06/0.6505, allocations: 0 / 0.8543 GB, free: 4.625 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000538/0.6511, allocations: 139.8 kB / 0.8544 GB, free: 4.594 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000451/0.6515, allocations: 70.89 kB / 0.8545 GB, free: 4.559 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.009e-05/0.6516, allocations: 27.38 kB / 0.8545 GB, free: 4.539 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001826/0.6534, allocations: 1.653 MB / 0.8561 GB, free: 2.922 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.945e-06/0.6534, allocations: 3.938 kB / 0.8561 GB, free: 2.918 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001846/0.6553, allocations: 0.986 MB / 0.8571 GB, free: 2.359 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003456/0.6556, allocations: 275.5 kB / 0.8574 GB, free: 2.117 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001341/0.6558, allocations: 23.34 kB / 0.8574 GB, free: 2.102 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006739/0.6565, allocations: 55.84 kB / 0.8575 GB, free: 2.074 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001549/0.6566, allocations: 76.05 kB / 0.8575 GB, free: 2.035 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.833e-05/0.6567, allocations: 30.39 kB / 0.8576 GB, free: 2.027 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0005417/0.6573, allocations: 459.6 kB / 0.858 GB, free: 1.758 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.472e-06/0.6573, allocations: 0 / 0.858 GB, free: 1.758 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0008332/0.6581, allocations: 303.7 kB / 0.8583 GB, free: 1.672 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (weaDat.locTim.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (90): * Single equations (assignments): 84 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001381/0.6595, allocations: 0.6086 MB / 0.8589 GB, free: 1.395 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.00215/0.6616, allocations: 1.019 MB / 0.8599 GB, free: 0.9258 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.588e-06/0.6617, allocations: 2.406 kB / 0.8599 GB, free: 0.9258 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0008723/0.6625, allocations: 0.5051 MB / 0.8604 GB, free: 0.6406 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001189/0.6637, allocations: 297 kB / 0.8606 GB, free: 0.5 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003725/0.6675, allocations: 2.145 MB / 0.8627 GB, free: 15.06 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005955/0.6681, allocations: 1.012 MB / 0.8637 GB, free: 14.22 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0007854/0.6689, allocations: 262 kB / 0.864 GB, free: 14.09 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002553/0.6691, allocations: 105.6 kB / 0.8641 GB, free: 14.05 MB / 0.5919 GB Notification: Performance of SimCode: time 3.81e-07/0.6692, allocations: 0 / 0.8641 GB, free: 14.05 MB / 0.5919 GB Notification: Performance of Templates: time 0.02292/0.6921, allocations: 14.45 MB / 0.8782 GB, free: 3.57 MB / 0.5919 GB make -j1 -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.makefile (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.sim & ./BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe 2>&1)