Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.conf.json
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001382/0.001382, allocations: 110 kB / 18.93 MB, free: 2.945 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001564/0.001564, allocations: 192 kB / 22.23 MB, free: 5.16 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.476/1.476, allocations: 225.6 MB / 251 MB, free: 13.02 MB / 206.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.879/0.879, allocations: 134 MB / 440.3 MB, free: 212 kB / 334.1 MB
"
[Timeout remaining time 179]
Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle")
translateModel(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.002014/0.002014, allocations: 72.39 kB / 0.6107 GB, free: 13.68 MB / 446.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.1741/0.1761, allocations: 84.73 MB / 0.6935 GB, free: 9.027 MB / 0.5137 GB
Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle): time 0.006859/0.183, allocations: 4.189 MB / 0.6976 GB, free: 4.816 MB / 0.5137 GB
Notification: Performance of NFInst.instExpressions: time 0.6552/0.8382, allocations: 151.1 MB / 0.8451 GB, free: 6.555 MB / 0.6075 GB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0009447/0.8391, allocations: 25.81 kB / 0.8451 GB, free: 6.543 MB / 0.6075 GB
Notification: Performance of NFTyping.typeComponents: time 0.0006253/0.8398, allocations: 166.8 kB / 0.8453 GB, free: 6.398 MB / 0.6075 GB
Notification: Performance of NFTyping.typeBindings: time 0.001715/0.8415, allocations: 496.2 kB / 0.8457 GB, free: 6.059 MB / 0.6075 GB
Notification: Performance of NFTyping.typeClassSections: time 0.00213/0.8436, allocations: 0.8173 MB / 0.8465 GB, free: 5.469 MB / 0.6075 GB
Notification: Performance of NFFlatten.flatten: time 0.001566/0.8452, allocations: 1.195 MB / 0.8477 GB, free: 4.359 MB / 0.6075 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.0007708/0.8459, allocations: 445.3 kB / 0.8481 GB, free: 3.914 MB / 0.6075 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.0006569/0.8466, allocations: 454.4 kB / 0.8486 GB, free: 3.469 MB / 0.6075 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.0005413/0.8471, allocations: 453.9 kB / 0.849 GB, free: 3.023 MB / 0.6075 GB
Notification: Performance of NFPackage.collectConstants: time 0.000144/0.8473, allocations: 104 kB / 0.8491 GB, free: 2.922 MB / 0.6075 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.000958/0.8482, allocations: 480.6 kB / 0.8496 GB, free: 2.453 MB / 0.6075 GB
Notification: Performance of NFScalarize.scalarize: time 0.0002891/0.8485, allocations: 267.1 kB / 0.8498 GB, free: 2.191 MB / 0.6075 GB
Notification: Performance of NFVerifyModel.verify: time 0.0004926/0.849, allocations: 0.4974 MB / 0.8503 GB, free: 1.691 MB / 0.6075 GB
Notification: Performance of NFConvertDAE.convert: time 0.001962/0.851, allocations: 1.493 MB / 0.8518 GB, free: 204 kB / 0.6075 GB
Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.851, allocations: 0 / 0.8518 GB, free: 204 kB / 0.6075 GB
Notification: Performance of FrontEnd: time 1.583e-06/0.851, allocations: 4 kB / 0.8518 GB, free: 200 kB / 0.6075 GB
Notification: Performance of Transformations before backend: time 1.17e-05/0.851, allocations: 0 / 0.8518 GB, free: 200 kB / 0.6075 GB
Notification: Model statistics after passing the front-end and creating the data structures used by the back-end:
 * Number of equations: 203
 * Number of variables: 203
Notification: Performance of Generate backend data structure: time 0.002481/0.8535, allocations: 1.289 MB / 0.853 GB, free: 14.87 MB / 0.6231 GB
Notification: Performance of prepare preOptimizeDAE: time 5.06e-05/0.8535, allocations: 8.031 kB / 0.853 GB, free: 14.86 MB / 0.6231 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009903/0.8545, allocations: 188.1 kB / 0.8532 GB, free: 14.68 MB / 0.6231 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.001237/0.8558, allocations: 0.6594 MB / 0.8538 GB, free: 13.99 MB / 0.6231 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.243e-05/0.8558, allocations: 61.94 kB / 0.8539 GB, free: 13.93 MB / 0.6231 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001265/0.856, allocations: 79.94 kB / 0.854 GB, free: 13.86 MB / 0.6231 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.001534/0.8575, allocations: 0.8755 MB / 0.8548 GB, free: 12.94 MB / 0.6231 GB
Notification: Performance of preOpt findStateOrder (simulation): time 1.77e-05/0.8575, allocations: 0 / 0.8548 GB, free: 12.94 MB / 0.6231 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.28e-05/0.8576, allocations: 35.98 kB / 0.8549 GB, free: 12.91 MB / 0.6231 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.758e-05/0.8576, allocations: 20 kB / 0.8549 GB, free: 12.89 MB / 0.6231 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001782/0.8594, allocations: 1.061 MB / 0.8559 GB, free: 11.82 MB / 0.6231 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003963/0.8634, allocations: 2.302 MB / 0.8582 GB, free: 9.449 MB / 0.6231 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.001313/0.8647, allocations: 0.6904 MB / 0.8589 GB, free: 8.758 MB / 0.6231 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0004982/0.8652, allocations: 250.7 kB / 0.8591 GB, free: 8.512 MB / 0.6231 GB
Notification: Performance of preOpt evalFunc (simulation): time 8.089e-05/0.8652, allocations: 36.67 kB / 0.8591 GB, free: 8.473 MB / 0.6231 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007948/0.866, allocations: 423.2 kB / 0.8595 GB, free: 8.043 MB / 0.6231 GB
Notification: Performance of pre-optimization done (n=73): time 1.904e-06/0.866, allocations: 4 kB / 0.8595 GB, free: 8.039 MB / 0.6231 GB
Notification: Performance of matching and sorting (n=73): time 0.003051/0.8691, allocations: 1.011 MB / 0.8605 GB, free: 7.02 MB / 0.6231 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001374/0.8692, allocations: 192.6 kB / 0.8607 GB, free: 6.789 MB / 0.6231 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00078/0.87, allocations: 0.5823 MB / 0.8613 GB, free: 6.203 MB / 0.6231 GB
Notification: Performance of collectPreVariables (initialization): time 6.077e-05/0.8701, allocations: 41.7 kB / 0.8613 GB, free: 6.156 MB / 0.6231 GB
Notification: Performance of collectInitialEqns (initialization): time 0.0003298/0.8704, allocations: 380.9 kB / 0.8617 GB, free: 5.777 MB / 0.6231 GB
Notification: Performance of collectInitialBindings (initialization): time 0.0002219/0.8706, allocations: 261.8 kB / 0.8619 GB, free: 5.52 MB / 0.6231 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002388/0.8709, allocations: 150.5 kB / 0.8621 GB, free: 5.367 MB / 0.6231 GB
Notification: Performance of setup shared object (initialization): time 0.0002005/0.8711, allocations: 378.8 kB / 0.8624 GB, free: 4.988 MB / 0.6231 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004831/0.8715, allocations: 237.9 kB / 0.8627 GB, free: 4.758 MB / 0.6231 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006016/0.8721, allocations: 339.9 kB / 0.863 GB, free: 4.406 MB / 0.6231 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.00108/0.8732, allocations: 0.5612 MB / 0.8635 GB, free: 3.832 MB / 0.6231 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/0.8732, allocations: 0 / 0.8635 GB, free: 3.832 MB / 0.6231 GB
Notification: Performance of matching and sorting (n=87) (initialization): time 0.001951/0.8752, allocations: 0.7906 MB / 0.8643 GB, free: 3.027 MB / 0.6231 GB
Notification: Performance of prepare postOptimizeDAE: time 2.81e-05/0.8752, allocations: 8 kB / 0.8643 GB, free: 3.02 MB / 0.6231 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.237e-06/0.8752, allocations: 0 / 0.8643 GB, free: 3.02 MB / 0.6231 GB
Notification: Performance of postOpt tearingSystem (initialization): time 0.0006337/0.8759, allocations: 84.89 kB / 0.8644 GB, free: 2.934 MB / 0.6231 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006422/0.8765, allocations: 147.8 kB / 0.8645 GB, free: 2.789 MB / 0.6231 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002307/0.8788, allocations: 1.523 MB / 0.866 GB, free: 1.148 MB / 0.6231 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006295/0.8794, allocations: 83.44 kB / 0.8661 GB, free: 1.07 MB / 0.6231 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.014e-05/0.8795, allocations: 35.97 kB / 0.8661 GB, free: 1.035 MB / 0.6231 GB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 5
 * Number of states: 0 ()
 * Number of discrete variables: 8 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,$whenCondition1,$whenCondition2)
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for initialization (85):
 * Single equations (assignments): 84
 * 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.0004354/0.8799, allocations: 259.4 kB / 0.8664 GB, free: 0.7734 MB / 0.6231 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001495/0.8801, allocations: 83.42 kB / 0.8665 GB, free: 0.6914 MB / 0.6231 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002316/0.8824, allocations: 0.99 MB / 0.8674 GB, free: 15.69 MB / 0.6387 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.067e-06/0.8824, allocations: 8 kB / 0.8674 GB, free: 15.68 MB / 0.6387 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 2.204e-06/0.8824, allocations: 0 / 0.8674 GB, free: 15.68 MB / 0.6387 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.131e-05/0.8824, allocations: 7.969 kB / 0.8674 GB, free: 15.67 MB / 0.6387 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003314/0.8857, allocations: 1.837 MB / 0.8692 GB, free: 13.78 MB / 0.6387 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.605e-06/0.8857, allocations: 3.938 kB / 0.8692 GB, free: 13.78 MB / 0.6387 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005593/0.8863, allocations: 147.8 kB / 0.8694 GB, free: 13.63 MB / 0.6387 GB
Notification: Performance of postOpt tearingSystem (simulation): time 0.000446/0.8868, allocations: 72.8 kB / 0.8694 GB, free: 13.56 MB / 0.6387 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.454e-05/0.8868, allocations: 23.97 kB / 0.8695 GB, free: 13.54 MB / 0.6387 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002008/0.8888, allocations: 1.547 MB / 0.871 GB, free: 11.87 MB / 0.6387 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.8888, allocations: 0 / 0.871 GB, free: 11.87 MB / 0.6387 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001929/0.8907, allocations: 0.9281 MB / 0.8719 GB, free: 10.92 MB / 0.6387 GB
Notification: Performance of postOpt removeConstants (simulation): time 0.000386/0.8911, allocations: 199 kB / 0.8721 GB, free: 10.72 MB / 0.6387 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001042/0.8912, allocations: 20 kB / 0.8721 GB, free: 10.7 MB / 0.6387 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005647/0.8918, allocations: 51.94 kB / 0.8721 GB, free: 10.65 MB / 0.6387 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001299/0.8919, allocations: 60.88 kB / 0.8722 GB, free: 10.59 MB / 0.6387 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.275e-05/0.892, allocations: 31.98 kB / 0.8722 GB, free: 10.56 MB / 0.6387 GB
Notification: Performance of sorting global known variables: time 0.0005445/0.8925, allocations: 431 kB / 0.8726 GB, free: 10.15 MB / 0.6387 GB
Notification: Performance of sort global known variables: time 1.2e-07/0.8926, allocations: 0 / 0.8726 GB, free: 10.15 MB / 0.6387 GB
Notification: Performance of remove unused functions: time 0.0009068/0.8935, allocations: 295.2 kB / 0.8729 GB, free: 9.859 MB / 0.6387 GB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 1
 * Number of states: 0 ()
 * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext)
 * Number of discrete states: 2 (weaDat.conTim.tNext,weaDat.conTimMin.tNext)
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for simulation (87):
 * Single equations (assignments): 84
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 2
 * 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.00193/0.8954, allocations: 0.6071 MB / 0.8735 GB, free: 9.473 MB / 0.6387 GB
Notification: Performance of simCode: created initialization part: time 0.001642/0.897, allocations: 0.7339 MB / 0.8742 GB, free: 8.727 MB / 0.6387 GB
Notification: Performance of simCode: created event and clocks part: time 3.327e-06/0.897, allocations: 0 / 0.8742 GB, free: 8.727 MB / 0.6387 GB
Notification: Performance of simCode: created simulation system equations: time 0.0008807/0.8979, allocations: 476.1 kB / 0.8747 GB, free: 8.246 MB / 0.6387 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001184/0.8991, allocations: 279.9 kB / 0.875 GB, free: 7.992 MB / 0.6387 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003836/0.9029, allocations: 1.678 MB / 0.8766 GB, free: 6.285 MB / 0.6387 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006916/0.9036, allocations: 1 MB / 0.8776 GB, free: 5.258 MB / 0.6387 GB
Notification: Performance of simCode: alias equations: time 0.0007185/0.9043, allocations: 254.1 kB / 0.8778 GB, free: 5.008 MB / 0.6387 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002712/0.9046, allocations: 99.39 kB / 0.8779 GB, free: 4.91 MB / 0.6387 GB
Notification: Performance of SimCode: time 1.051e-06/0.9046, allocations: 0 / 0.8779 GB, free: 4.91 MB / 0.6387 GB
Notification: Performance of Templates: time 0.02756/0.9322, allocations: 14.43 MB / 0.892 GB, free: 6.621 MB / 0.6544 GB
"
[Timeout remaining time 659]
make -j1 -f IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.makefile [Timeout 660]
(rm -f IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.sim & ./IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle  -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe 2>&1) [Timeout 480]
[Calling sys.exit(0), Time elapsed: 7.115289807319641]
Failed to read output from testmodel.py, exit status != 0:
0.9395894575864077 0.954328845 0.100322669
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7f5b9124d7b0>