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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001336/0.001336, allocations: 117.4 kB / 17.17 MB, free: 5.977 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00142/0.00142, allocations: 214.3 kB / 20.13 MB, free: 3.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.454/1.454, allocations: 230.6 MB / 253.5 MB, free: 15.11 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.8511/0.8511, allocations: 133.9 MB / 443.5 MB, free: 14.27 MB / 350.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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001972/0.001972, allocations: 66.06 kB / 0.6141 GB, free: 38.3 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1547/0.1566, allocations: 85.86 MB / 0.6979 GB, free: 13.68 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness): time 0.006343/0.163, allocations: 4.244 MB / 0.7021 GB, free: 10.34 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.1828/0.3458, allocations: 153.9 MB / 0.8523 GB, free: 352 kB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000988/0.3467, allocations: 23.81 kB / 0.8524 GB, free: 328 kB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0006021/0.3473, allocations: 174.4 kB / 0.8525 GB, free: 152 kB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.001574/0.3489, allocations: 497.7 kB / 0.853 GB, free: 15.67 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.001937/0.3509, allocations: 0.8216 MB / 0.8538 GB, free: 14.85 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.001314/0.3522, allocations: 1.23 MB / 0.855 GB, free: 13.62 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007825/0.353, allocations: 0.5242 MB / 0.8555 GB, free: 13.07 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005675/0.3535, allocations: 490.3 kB / 0.856 GB, free: 12.59 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005439/0.3541, allocations: 0.4939 MB / 0.8565 GB, free: 12.09 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0001404/0.3542, allocations: 116 kB / 0.8566 GB, free: 11.98 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009396/0.3551, allocations: 0.5074 MB / 0.8571 GB, free: 11.47 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0002674/0.3554, allocations: 295 kB / 0.8574 GB, free: 11.18 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0004553/0.3559, allocations: 0.5479 MB / 0.8579 GB, free: 10.63 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.001906/0.3578, allocations: 1.644 MB / 0.8595 GB, free: 8.98 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.3578, allocations: 0 / 0.8595 GB, free: 8.98 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.773e-06/0.3578, allocations: 0 / 0.8595 GB, free: 8.98 MB / 0.67 GB Notification: Performance of Transformations before backend: time 1.373e-05/0.3578, allocations: 0 / 0.8595 GB, free: 8.98 MB / 0.67 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.002359/0.3602, allocations: 1.457 MB / 0.8609 GB, free: 7.461 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.462e-05/0.3602, allocations: 13.7 kB / 0.8609 GB, free: 7.449 MB / 0.67 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.622e-05/0.3602, allocations: 26.19 kB / 0.861 GB, free: 7.426 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001658/0.3604, allocations: 143.9 kB / 0.8611 GB, free: 7.277 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002419/0.3628, allocations: 367.8 kB / 0.8615 GB, free: 6.918 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00119/0.364, allocations: 0.7619 MB / 0.8622 GB, free: 6.113 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.618e-05/0.3641, allocations: 66 kB / 0.8623 GB, free: 6.051 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001299/0.3642, allocations: 91.98 kB / 0.8623 GB, free: 5.961 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001914/0.3661, allocations: 1.007 MB / 0.8633 GB, free: 4.914 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.143e-05/0.3661, allocations: 3.938 kB / 0.8633 GB, free: 4.91 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.636e-05/0.3662, allocations: 40 kB / 0.8634 GB, free: 4.871 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.252e-05/0.3663, allocations: 24 kB / 0.8634 GB, free: 4.848 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002303/0.3686, allocations: 1.221 MB / 0.8646 GB, free: 3.629 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004297/0.3729, allocations: 2.568 MB / 0.8671 GB, free: 1 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002479/0.3753, allocations: 0.8913 MB / 0.868 GB, free: 84 kB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.3775/0.7528, allocations: 305.3 kB / 0.8683 GB, free: 169.7 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001069/0.753, allocations: 34.17 kB / 0.8683 GB, free: 169.7 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001143/0.7541, allocations: 490.8 kB / 0.8688 GB, free: 169.6 MB / 0.67 GB Notification: Performance of pre-optimization done (n=75): time 2.275e-06/0.7541, allocations: 0.7812 kB / 0.8688 GB, free: 169.6 MB / 0.67 GB Notification: Performance of matching and sorting (n=75): time 0.003775/0.7579, allocations: 1.24 MB / 0.87 GB, free: 169.2 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.997e-05/0.7579, allocations: 193.7 kB / 0.8702 GB, free: 169 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009082/0.7589, allocations: 0.621 MB / 0.8708 GB, free: 168.7 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 6.302e-05/0.7589, allocations: 37.08 kB / 0.8708 GB, free: 168.7 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002981/0.7592, allocations: 427 kB / 0.8712 GB, free: 168.4 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001776/0.7594, allocations: 261.9 kB / 0.8715 GB, free: 168.2 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002272/0.7596, allocations: 137.8 kB / 0.8716 GB, free: 168.2 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001157/0.7597, allocations: 384.1 kB / 0.872 GB, free: 167.8 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007091/0.7604, allocations: 264.3 kB / 0.8722 GB, free: 167.8 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007945/0.7612, allocations: 374.1 kB / 0.8726 GB, free: 167.6 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001513/0.7627, allocations: 0.6376 MB / 0.8732 GB, free: 167.3 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.147e-06/0.7628, allocations: 0 / 0.8732 GB, free: 167.3 MB / 0.67 GB Notification: Performance of matching and sorting (n=80) (initialization): time 0.002339/0.7651, allocations: 0.8286 MB / 0.874 GB, free: 167 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.979e-05/0.7651, allocations: 5.531 kB / 0.874 GB, free: 167 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.827e-06/0.7651, allocations: 0.9688 kB / 0.874 GB, free: 167 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006269/0.7657, allocations: 86.75 kB / 0.8741 GB, free: 167 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007888/0.7665, allocations: 160 kB / 0.8742 GB, free: 167 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00195/0.7685, allocations: 1.619 MB / 0.8758 GB, free: 165.5 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008096/0.7693, allocations: 105.6 kB / 0.8759 GB, free: 165.5 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.949e-05/0.7694, allocations: 28.72 kB / 0.8759 GB, free: 165.5 MB / 0.67 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.0004668/0.7698, allocations: 258.3 kB / 0.8762 GB, free: 165.3 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001694/0.77, allocations: 82.88 kB / 0.8763 GB, free: 165.2 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002972/0.773, allocations: 1.111 MB / 0.8774 GB, free: 164.8 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.56e-05/0.773, allocations: 13.16 kB / 0.8774 GB, free: 164.8 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.234e-06/0.773, allocations: 0 / 0.8774 GB, free: 164.8 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.446e-05/0.773, allocations: 7.391 kB / 0.8774 GB, free: 164.8 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004491/0.7775, allocations: 2.059 MB / 0.8794 GB, free: 163.9 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.051e-06/0.7775, allocations: 0.5625 kB / 0.8794 GB, free: 163.9 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008521/0.7784, allocations: 167.2 kB / 0.8795 GB, free: 163.9 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004593/0.7788, allocations: 76.02 kB / 0.8796 GB, free: 163.8 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.032e-05/0.7789, allocations: 23.12 kB / 0.8796 GB, free: 163.8 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001729/0.7806, allocations: 1.666 MB / 0.8813 GB, free: 162.3 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.7806, allocations: 0.5 kB / 0.8813 GB, free: 162.3 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002328/0.7829, allocations: 1.026 MB / 0.8823 GB, free: 161.8 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003078/0.7832, allocations: 273.2 kB / 0.8825 GB, free: 161.6 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001078/0.7834, allocations: 21.64 kB / 0.8826 GB, free: 161.6 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006923/0.784, allocations: 73.27 kB / 0.8826 GB, free: 161.6 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001362/0.7842, allocations: 59.91 kB / 0.8827 GB, free: 161.6 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.547e-05/0.7842, allocations: 36.72 kB / 0.8827 GB, free: 161.6 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0005429/0.7848, allocations: 460.1 kB / 0.8832 GB, free: 161.4 MB / 0.67 GB Notification: Performance of sort global known variables: time 7.1e-08/0.7848, allocations: 0 / 0.8832 GB, free: 161.4 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0008877/0.7857, allocations: 301.1 kB / 0.8834 GB, free: 161.3 MB / 0.67 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.004007/0.7897, allocations: 2.092 MB / 0.8855 GB, free: 160.1 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.001844/0.7915, allocations: 0.806 MB / 0.8863 GB, free: 159.7 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.7915, allocations: 0 / 0.8863 GB, free: 159.7 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.000952/0.7925, allocations: 0.5148 MB / 0.8868 GB, free: 159.4 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001112/0.7936, allocations: 299.3 kB / 0.8871 GB, free: 159.2 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009691/0.8033, allocations: 6.448 MB / 0.8934 GB, free: 152.8 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003793/0.8037, allocations: 1.027 MB / 0.8944 GB, free: 151.7 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0006923/0.8044, allocations: 266.5 kB / 0.8946 GB, free: 151.4 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004456/0.8048, allocations: 395.3 kB / 0.895 GB, free: 151 MB / 0.67 GB Notification: Performance of SimCode: time 8.21e-07/0.8048, allocations: 3.938 kB / 0.895 GB, free: 151 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04253/0.8473, allocations: 21.19 MB / 0.9157 GB, free: 130.2 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.78/13.63, allocations: 12.44 kB / 0.9157 GB, free: 130.2 MB / 0.67 GB " [Timeout remaining time 646] (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: 17.58403940300923] Failed to read output from testmodel.py, exit status != 0: 14.160265818005428 13.894832558 13.534852793 Calling exit ...