Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.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.001497/0.001497, allocations: 114.2 kB / 17.84 MB, free: 5.312 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.001568/0.001568, allocations: 203.1 kB / 20.8 MB, free: 2.371 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.527/1.527, allocations: 230.6 MB / 254.2 MB, free: 15.08 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.9844/0.9844, allocations: 150 MB / 460.2 MB, free: 5.34 MB / 350.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/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(IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IBPSA 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.002017/0.002017, allocations: 68.94 kB / 0.6368 GB, free: 30.5 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1645/0.1665, allocations: 89.14 MB / 0.7238 GB, free: 4.105 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass): time 0.007806/0.1743, allocations: 5.173 MB / 0.7289 GB, free: 14.91 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.6175/0.7918, allocations: 154 MB / 0.8793 GB, free: 2.141 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009709/0.7928, allocations: 20.25 kB / 0.8793 GB, free: 2.141 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.0007003/0.7935, allocations: 208.1 kB / 0.8795 GB, free: 2.141 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.002049/0.7956, allocations: 0.5754 MB / 0.8801 GB, free: 2.129 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.002258/0.7978, allocations: 0.8736 MB / 0.8809 GB, free: 2.121 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.002117/0.7999, allocations: 1.468 MB / 0.8824 GB, free: 2.113 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009336/0.8009, allocations: 465.7 kB / 0.8828 GB, free: 2.051 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001064/0.8019, allocations: 0.5444 MB / 0.8833 GB, free: 2.051 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008601/0.8028, allocations: 0.5554 MB / 0.8839 GB, free: 2.047 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0002577/0.803, allocations: 127.5 kB / 0.884 GB, free: 2.047 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001309/0.8044, allocations: 0.5208 MB / 0.8845 GB, free: 2.031 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.000355/0.8047, allocations: 326.5 kB / 0.8848 GB, free: 2.031 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0009175/0.8056, allocations: 0.6071 MB / 0.8854 GB, free: 2.031 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.003097/0.8087, allocations: 1.792 MB / 0.8872 GB, free: 1.918 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 6.342e-06/0.8087, allocations: 1.188 kB / 0.8872 GB, free: 1.918 MB / 0.67 GB Notification: Performance of FrontEnd: time 2.154e-06/0.8087, allocations: 0 / 0.8872 GB, free: 1.918 MB / 0.67 GB Notification: Performance of Transformations before backend: time 4.758e-05/0.8088, allocations: 1.781 kB / 0.8872 GB, free: 1.918 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: 240 * Number of variables: 240 Notification: Performance of Generate backend data structure: time 0.003989/0.8128, allocations: 1.564 MB / 0.8887 GB, free: 17.07 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.997e-05/0.8128, allocations: 10.8 kB / 0.8887 GB, free: 17.07 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 6.027e-05/0.8129, allocations: 27.28 kB / 0.8887 GB, free: 17.07 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002194/0.8131, allocations: 150 kB / 0.8889 GB, free: 17.03 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002217/0.8153, allocations: 278.5 kB / 0.8891 GB, free: 16.96 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001854/0.8172, allocations: 0.8011 MB / 0.8899 GB, free: 16.63 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001065/0.8173, allocations: 78.42 kB / 0.89 GB, free: 16.62 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002554/0.8175, allocations: 88.53 kB / 0.8901 GB, free: 16.62 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002539/0.8201, allocations: 1.01 MB / 0.8911 GB, free: 16.48 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.706e-05/0.8201, allocations: 2.094 kB / 0.8911 GB, free: 16.48 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001293/0.8202, allocations: 39.92 kB / 0.8911 GB, free: 16.48 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.325e-05/0.8203, allocations: 23 kB / 0.8911 GB, free: 16.48 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00239/0.8227, allocations: 1.173 MB / 0.8923 GB, free: 16.47 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005428/0.8281, allocations: 2.984 MB / 0.8952 GB, free: 15.3 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002634/0.8307, allocations: 0.9217 MB / 0.8961 GB, free: 15.18 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006469/0.8314, allocations: 286.7 kB / 0.8964 GB, free: 15.17 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 9.67e-05/0.8315, allocations: 35.09 kB / 0.8964 GB, free: 15.17 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001013/0.8325, allocations: 0.4979 MB / 0.8969 GB, free: 15.09 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=82): time 2.845e-06/0.8325, allocations: 1.406 kB / 0.8969 GB, free: 15.09 MB / 0.6856 GB Notification: Performance of matching and sorting (n=82): time 0.003787/0.8363, allocations: 1.236 MB / 0.8981 GB, free: 14.88 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001455/0.8364, allocations: 192.8 kB / 0.8983 GB, free: 14.66 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001059/0.8375, allocations: 0.6654 MB / 0.8989 GB, free: 14.53 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0001884/0.8377, allocations: 45.58 kB / 0.899 GB, free: 14.5 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.000337/0.838, allocations: 439.1 kB / 0.8994 GB, free: 14.3 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002707/0.8383, allocations: 282 kB / 0.8997 GB, free: 14.12 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002356/0.8385, allocations: 149.2 kB / 0.8998 GB, free: 14.09 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0002063/0.8387, allocations: 386.9 kB / 0.9002 GB, free: 13.78 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005606/0.8393, allocations: 264.1 kB / 0.9004 GB, free: 13.78 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006231/0.8399, allocations: 372.9 kB / 0.9008 GB, free: 13.7 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001152/0.841, allocations: 0.5961 MB / 0.9014 GB, free: 13.65 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.751e-06/0.8411, allocations: 1.406 kB / 0.9014 GB, free: 13.65 MB / 0.6856 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.002384/0.8434, allocations: 0.8348 MB / 0.9022 GB, free: 13.53 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.852e-05/0.8435, allocations: 5.469 kB / 0.9022 GB, free: 13.53 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.145e-05/0.8435, allocations: 1.156 kB / 0.9022 GB, free: 13.53 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006635/0.8441, allocations: 84.41 kB / 0.9023 GB, free: 13.52 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007902/0.8449, allocations: 153.1 kB / 0.9024 GB, free: 13.52 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00248/0.8474, allocations: 1.629 MB / 0.904 GB, free: 12.13 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001091/0.8485, allocations: 97.44 kB / 0.9041 GB, free: 12.09 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001174/0.8486, allocations: 32.94 kB / 0.9041 GB, free: 12.09 MB / 0.6856 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 15 (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 (88): * Single equations (assignments): 87 * 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.0007955/0.8494, allocations: 277.5 kB / 0.9044 GB, free: 11.97 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003854/0.8498, allocations: 93.52 kB / 0.9045 GB, free: 11.92 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002908/0.8527, allocations: 1.098 MB / 0.9056 GB, free: 11.79 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.5e-05/0.8527, allocations: 8.594 kB / 0.9056 GB, free: 11.79 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.618e-06/0.8527, allocations: 0 / 0.9056 GB, free: 11.79 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.575e-05/0.8527, allocations: 5.953 kB / 0.9056 GB, free: 11.79 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004542/0.8573, allocations: 2.028 MB / 0.9075 GB, free: 11.41 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.005e-06/0.8573, allocations: 6.906 kB / 0.9076 GB, free: 11.41 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007055/0.858, allocations: 154.4 kB / 0.9077 GB, free: 11.41 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005204/0.8585, allocations: 70.41 kB / 0.9078 GB, free: 11.4 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001584/0.8587, allocations: 27.38 kB / 0.9078 GB, free: 11.4 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002468/0.8611, allocations: 1.654 MB / 0.9094 GB, free: 10.01 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/0.8611, allocations: 0 / 0.9094 GB, free: 10.01 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002688/0.8638, allocations: 1.031 MB / 0.9104 GB, free: 9.781 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007279/0.8646, allocations: 285.3 kB / 0.9107 GB, free: 9.625 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002451/0.8648, allocations: 31.03 kB / 0.9107 GB, free: 9.617 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000825/0.8656, allocations: 65.23 kB / 0.9108 GB, free: 9.617 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002109/0.8658, allocations: 75.52 kB / 0.9109 GB, free: 9.613 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.706e-05/0.8659, allocations: 40.5 kB / 0.9109 GB, free: 9.613 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0008128/0.8667, allocations: 490.4 kB / 0.9114 GB, free: 9.52 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.01e-07/0.8667, allocations: 0 / 0.9114 GB, free: 9.52 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.001527/0.8683, allocations: 333.9 kB / 0.9117 GB, free: 9.461 MB / 0.6856 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 (94): * Single equations (assignments): 88 * 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.004817/0.8731, allocations: 2.091 MB / 0.9137 GB, free: 8.59 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.002056/0.8751, allocations: 0.7896 MB / 0.9145 GB, free: 8.457 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 6.853e-06/0.8751, allocations: 3.562 kB / 0.9145 GB, free: 8.457 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.001044/0.8762, allocations: 0.4972 MB / 0.915 GB, free: 8.34 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001682/0.8779, allocations: 300.3 kB / 0.9153 GB, free: 8.309 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01229/0.8902, allocations: 6.525 MB / 0.9216 GB, free: 6.273 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008987/0.8911, allocations: 1.046 MB / 0.9227 GB, free: 5.555 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.00111/0.8922, allocations: 265.6 kB / 0.9229 GB, free: 5.484 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006334/0.8928, allocations: 416.3 kB / 0.9233 GB, free: 5.473 MB / 0.6856 GB Notification: Performance of SimCode: time 1.002e-06/0.8928, allocations: 0 / 0.9233 GB, free: 5.473 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06184/0.9546, allocations: 22.71 MB / 0.9455 GB, free: 9.703 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.96/14.92, allocations: 8.641 kB / 0.9455 GB, free: 9.699 MB / 0.7012 GB " [Timeout remaining time 645] (rm -f IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe ; mkfifo IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe >> ../files/IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass_fmu --startTime=0 --stopTime=864000 --stepSize=345.6 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass.fmu > IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 19.15705377596896] Failed to read output from testmodel.py, exit status != 0: 15.184837908949703 15.200643762 14.388689589 Calling exit ...