Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.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.001219/0.001219, allocations: 108.2 kB / 16.46 MB, free: 6.035 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.001228/0.001228, allocations: 191.8 kB / 19.41 MB, free: 3.539 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.324/1.324, allocations: 225.6 MB / 247.8 MB, free: 13.93 MB / 206.1 MB " [Timeout remaining time 179] 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.7862/0.7862, allocations: 134 MB / 436.6 MB, free: 1.266 MB / 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: "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001804/0.001804, allocations: 70.06 kB / 0.6051 GB, free: 15.7 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1463/0.1481, allocations: 84.68 MB / 0.6878 GB, free: 11.1 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness): time 0.006006/0.1541, allocations: 4.221 MB / 0.6919 GB, free: 6.855 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.4711/0.6252, allocations: 150.9 MB / 0.8393 GB, free: 13.34 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006372/0.6258, allocations: 16.94 kB / 0.8393 GB, free: 13.34 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0006223/0.6264, allocations: 166.5 kB / 0.8395 GB, free: 13.19 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.001636/0.6281, allocations: 487.9 kB / 0.84 GB, free: 12.85 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001918/0.63, allocations: 0.8094 MB / 0.8407 GB, free: 12.27 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.001297/0.6313, allocations: 1.211 MB / 0.8419 GB, free: 11.51 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007648/0.632, allocations: 0.5238 MB / 0.8424 GB, free: 11.13 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005499/0.6326, allocations: 463.9 kB / 0.8429 GB, free: 10.85 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005384/0.6331, allocations: 0.4887 MB / 0.8434 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001304/0.6333, allocations: 114.1 kB / 0.8435 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008046/0.6341, allocations: 486.2 kB / 0.8439 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.000276/0.6343, allocations: 299.9 kB / 0.8442 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0004335/0.6348, allocations: 0.5297 MB / 0.8447 GB, free: 9.66 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.001712/0.6365, allocations: 1.6 MB / 0.8463 GB, free: 8.496 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.6365, allocations: 0 / 0.8463 GB, free: 8.496 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.773e-06/0.6365, allocations: 0 / 0.8463 GB, free: 8.496 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.341e-05/0.6365, allocations: 2.812 kB / 0.8463 GB, free: 8.496 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 232 * Number of variables: 232 Notification: Performance of Generate backend data structure: time 0.002327/0.6388, allocations: 1.436 MB / 0.8477 GB, free: 7.344 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.225e-05/0.6389, allocations: 10.09 kB / 0.8477 GB, free: 7.344 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001533/0.639, allocations: 141.9 kB / 0.8478 GB, free: 7.227 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001572/0.6406, allocations: 301.5 kB / 0.8481 GB, free: 7.094 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001145/0.6417, allocations: 0.7539 MB / 0.8489 GB, free: 6.477 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.002e-05/0.6418, allocations: 76.75 kB / 0.8489 GB, free: 6.438 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001033/0.6419, allocations: 84.53 kB / 0.849 GB, free: 6.41 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001699/0.6436, allocations: 1.012 MB / 0.85 GB, free: 5.781 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.292e-05/0.6436, allocations: 0 / 0.85 GB, free: 5.781 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.951e-05/0.6437, allocations: 35.97 kB / 0.85 GB, free: 5.754 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.838e-05/0.6437, allocations: 33.97 kB / 0.8501 GB, free: 5.75 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002067/0.6458, allocations: 1.221 MB / 0.8513 GB, free: 5.176 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004029/0.6498, allocations: 2.545 MB / 0.8538 GB, free: 3.27 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002279/0.6521, allocations: 0.8915 MB / 0.8546 GB, free: 2.77 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006689/0.6528, allocations: 308.4 kB / 0.8549 GB, free: 2.621 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 6.891e-05/0.6528, allocations: 29.59 kB / 0.855 GB, free: 2.605 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009581/0.6538, allocations: 491.2 kB / 0.8554 GB, free: 2.301 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=75): time 2.054e-06/0.6538, allocations: 0 / 0.8554 GB, free: 2.301 MB / 0.6075 GB Notification: Performance of matching and sorting (n=75): time 0.003424/0.6572, allocations: 1.238 MB / 0.8566 GB, free: 1.625 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001294/0.6573, allocations: 192.6 kB / 0.8568 GB, free: 1.391 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008107/0.6581, allocations: 0.594 MB / 0.8574 GB, free: 0.7891 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 6.887e-05/0.6582, allocations: 41.7 kB / 0.8574 GB, free: 0.7422 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003562/0.6586, allocations: 420.8 kB / 0.8578 GB, free: 332 kB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002121/0.6588, allocations: 253.8 kB / 0.8581 GB, free: 76 kB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002363/0.659, allocations: 142.2 kB / 0.8582 GB, free: 15.93 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001947/0.6592, allocations: 390.7 kB / 0.8586 GB, free: 15.54 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006707/0.6599, allocations: 269.1 kB / 0.8588 GB, free: 15.28 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007778/0.6607, allocations: 370.7 kB / 0.8592 GB, free: 14.89 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001443/0.6621, allocations: 0.6292 MB / 0.8598 GB, free: 14.25 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/0.6621, allocations: 0 / 0.8598 GB, free: 14.25 MB / 0.6231 GB Notification: Performance of matching and sorting (n=80) (initialization): time 0.002185/0.6643, allocations: 0.8177 MB / 0.8606 GB, free: 13.42 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.72e-05/0.6643, allocations: 12.03 kB / 0.8606 GB, free: 13.41 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.622e-06/0.6643, allocations: 4 kB / 0.8606 GB, free: 13.4 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005914/0.6649, allocations: 92.62 kB / 0.8607 GB, free: 13.31 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007295/0.6656, allocations: 163.8 kB / 0.8609 GB, free: 13.15 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002135/0.6678, allocations: 1.62 MB / 0.8625 GB, free: 11.39 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006804/0.6685, allocations: 105.2 kB / 0.8626 GB, free: 11.29 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.259e-05/0.6685, allocations: 35.53 kB / 0.8626 GB, free: 11.25 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 (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 (78): * Single equations (assignments): 77 * 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.0004004/0.6689, allocations: 260.3 kB / 0.8628 GB, free: 10.99 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001512/0.6691, allocations: 79.48 kB / 0.8629 GB, free: 10.91 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002725/0.6718, allocations: 1.104 MB / 0.864 GB, free: 9.801 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.868e-06/0.6718, allocations: 8 kB / 0.864 GB, free: 9.793 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.701e-06/0.6718, allocations: 6.656 kB / 0.864 GB, free: 9.789 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.097e-06/0.6718, allocations: 3.984 kB / 0.864 GB, free: 9.785 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003829/0.6756, allocations: 2.044 MB / 0.866 GB, free: 7.676 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.927e-06/0.6757, allocations: 0 / 0.866 GB, free: 7.676 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007261/0.6764, allocations: 167.8 kB / 0.8662 GB, free: 7.512 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004308/0.6768, allocations: 68.8 kB / 0.8662 GB, free: 7.441 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.568e-05/0.6769, allocations: 23.98 kB / 0.8662 GB, free: 7.418 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001964/0.6788, allocations: 1.666 MB / 0.8679 GB, free: 5.605 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.6788, allocations: 0 / 0.8679 GB, free: 5.605 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002295/0.6811, allocations: 1.022 MB / 0.8689 GB, free: 4.566 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000408/0.6815, allocations: 268.2 kB / 0.8691 GB, free: 4.285 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001071/0.6816, allocations: 23.98 kB / 0.8692 GB, free: 4.262 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006797/0.6823, allocations: 67.94 kB / 0.8692 GB, free: 4.195 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001181/0.6824, allocations: 56.91 kB / 0.8693 GB, free: 4.141 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.076e-05/0.6825, allocations: 35.98 kB / 0.8693 GB, free: 4.105 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.000534/0.683, allocations: 447 kB / 0.8697 GB, free: 3.676 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.1e-07/0.683, allocations: 0 / 0.8697 GB, free: 3.676 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0007965/0.6838, allocations: 311 kB / 0.87 GB, free: 3.371 MB / 0.6231 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 (88): * Single equations (assignments): 85 * 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.004271/0.6881, allocations: 2.071 MB / 0.8721 GB, free: 1.492 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001944/0.6901, allocations: 0.8059 MB / 0.8728 GB, free: 0.6719 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.6901, allocations: 0 / 0.8728 GB, free: 0.6719 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.001077/0.6911, allocations: 0.5235 MB / 0.8733 GB, free: 144 kB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001125/0.6923, allocations: 295 kB / 0.8736 GB, free: 15.87 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01166/0.7039, allocations: 6.377 MB / 0.8799 GB, free: 9.387 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000665/0.7046, allocations: 1.024 MB / 0.8809 GB, free: 8.336 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0008084/0.7054, allocations: 262.3 kB / 0.8811 GB, free: 8.074 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005561/0.706, allocations: 379.3 kB / 0.8815 GB, free: 7.703 MB / 0.6387 GB Notification: Performance of SimCode: time 5.31e-07/0.706, allocations: 0 / 0.8815 GB, free: 7.703 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06099/0.7669, allocations: 20.9 MB / 0.9019 GB, free: 3.062 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.13/12.9, allocations: 2.625 kB / 0.9019 GB, free: 3.062 MB / 0.6544 GB " [Timeout remaining time 647] (rm -f IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness_fmu --startTime=0 --stopTime=8.64e+06 --stepSize=3456 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness.fmu > IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.30748022114858] Failed to read output from testmodel.py, exit status != 0: 13.097004344221205 13.110832109 12.471589645 Calling exit ...