Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.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.001227/0.001227, allocations: 113 kB / 18.94 MB, free: 2.934 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.001369/0.001369, allocations: 208.9 kB / 22.25 MB, free: 5.086 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 / 256 MB, free: 8.012 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.8559/0.8559, allocations: 134 MB / 446.4 MB, free: 10.26 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.RelativeAirMass,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass",fmuType="me",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.001955/0.001955, allocations: 69.45 kB / 0.6185 GB, free: 7.363 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.167/0.169, allocations: 85.9 MB / 0.7024 GB, free: 1.551 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass): time 0.00639/0.1754, allocations: 4.236 MB / 0.7066 GB, free: 13.3 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.5528/0.7282, allocations: 154 MB / 0.857 GB, free: 8.359 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008619/0.7291, allocations: 23.81 kB / 0.857 GB, free: 8.336 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.0006816/0.7298, allocations: 177.4 kB / 0.8572 GB, free: 8.164 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.001847/0.7316, allocations: 490.1 kB / 0.8576 GB, free: 7.699 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.002032/0.7336, allocations: 0.8537 MB / 0.8585 GB, free: 6.887 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.001433/0.7351, allocations: 1.211 MB / 0.8596 GB, free: 5.672 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008298/0.7359, allocations: 0.5048 MB / 0.8601 GB, free: 5.145 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006944/0.7366, allocations: 482.3 kB / 0.8606 GB, free: 4.672 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000632/0.7372, allocations: 499.8 kB / 0.8611 GB, free: 4.184 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0001529/0.7374, allocations: 116 kB / 0.8612 GB, free: 4.07 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001076/0.7384, allocations: 0.5086 MB / 0.8617 GB, free: 3.566 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0002922/0.7387, allocations: 295 kB / 0.862 GB, free: 3.277 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.000518/0.7393, allocations: 0.5401 MB / 0.8625 GB, free: 2.734 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.002072/0.7413, allocations: 1.621 MB / 0.8641 GB, free: 1.113 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/0.7413, allocations: 3.938 kB / 0.8641 GB, free: 1.109 MB / 0.6231 GB Notification: Performance of FrontEnd: time 2.225e-06/0.7413, allocations: 0 / 0.8641 GB, free: 1.109 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.392e-05/0.7414, allocations: 0 / 0.8641 GB, free: 1.109 MB / 0.6231 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 227 * Number of variables: 227 Notification: Performance of Generate backend data structure: time 0.002345/0.7437, allocations: 1.372 MB / 0.8654 GB, free: 15.7 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.965e-05/0.7437, allocations: 11.97 kB / 0.8654 GB, free: 15.68 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001674/0.7439, allocations: 139.8 kB / 0.8656 GB, free: 15.54 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001802/0.7457, allocations: 272 kB / 0.8658 GB, free: 15.27 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001178/0.7469, allocations: 0.6957 MB / 0.8665 GB, free: 14.55 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.166e-05/0.7469, allocations: 66 kB / 0.8666 GB, free: 14.49 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001237/0.7471, allocations: 87.98 kB / 0.8666 GB, free: 14.4 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001602/0.7487, allocations: 0.9448 MB / 0.8676 GB, free: 13.42 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.986e-05/0.7487, allocations: 0 / 0.8676 GB, free: 13.42 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.307e-05/0.7488, allocations: 40 kB / 0.8676 GB, free: 13.38 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.207e-05/0.7488, allocations: 24 kB / 0.8676 GB, free: 13.36 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001839/0.7506, allocations: 1.124 MB / 0.8687 GB, free: 12.23 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004007/0.7546, allocations: 2.411 MB / 0.8711 GB, free: 9.766 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002187/0.7568, allocations: 0.7607 MB / 0.8718 GB, free: 9 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005162/0.7573, allocations: 254.7 kB / 0.8721 GB, free: 8.75 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 7.825e-05/0.7574, allocations: 36.67 kB / 0.8721 GB, free: 8.715 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008011/0.7582, allocations: 440.4 kB / 0.8725 GB, free: 8.266 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=73): time 2.294e-06/0.7582, allocations: 0 / 0.8725 GB, free: 8.266 MB / 0.6387 GB Notification: Performance of matching and sorting (n=73): time 0.003035/0.7613, allocations: 1.025 MB / 0.8735 GB, free: 7.234 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001235/0.7614, allocations: 196.5 kB / 0.8737 GB, free: 6.996 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008386/0.7622, allocations: 0.6292 MB / 0.8743 GB, free: 6.355 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 6.502e-05/0.7623, allocations: 41.7 kB / 0.8744 GB, free: 6.309 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003521/0.7626, allocations: 416.9 kB / 0.8748 GB, free: 5.895 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.000236/0.7629, allocations: 249.8 kB / 0.875 GB, free: 5.648 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002038/0.7631, allocations: 134.2 kB / 0.8751 GB, free: 5.512 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001889/0.7633, allocations: 378.8 kB / 0.8755 GB, free: 5.133 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000485/0.7638, allocations: 221.2 kB / 0.8757 GB, free: 4.918 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005982/0.7644, allocations: 326.8 kB / 0.876 GB, free: 4.57 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001081/0.7654, allocations: 0.5394 MB / 0.8765 GB, free: 4.02 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.7654, allocations: 0 / 0.8765 GB, free: 4.02 MB / 0.6387 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.001911/0.7673, allocations: 0.7434 MB / 0.8773 GB, free: 3.266 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.808e-05/0.7674, allocations: 8 kB / 0.8773 GB, free: 3.258 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.424e-06/0.7674, allocations: 0 / 0.8773 GB, free: 3.258 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006256/0.768, allocations: 80.86 kB / 0.8774 GB, free: 3.176 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005923/0.7686, allocations: 147.8 kB / 0.8775 GB, free: 3.031 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00229/0.7709, allocations: 1.525 MB / 0.879 GB, free: 1.387 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006091/0.7715, allocations: 80.45 kB / 0.8791 GB, free: 1.309 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.348e-05/0.7715, allocations: 27.98 kB / 0.8791 GB, free: 1.281 MB / 0.6387 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 (76): * Single equations (assignments): 75 * 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.0004441/0.772, allocations: 263.9 kB / 0.8793 GB, free: 1.016 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001501/0.7721, allocations: 79.48 kB / 0.8794 GB, free: 0.9375 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002316/0.7745, allocations: 1.006 MB / 0.8804 GB, free: 15.92 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.807e-06/0.7745, allocations: 8 kB / 0.8804 GB, free: 15.91 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.107e-06/0.7745, allocations: 4 kB / 0.8804 GB, free: 15.91 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.151e-05/0.7745, allocations: 3.984 kB / 0.8804 GB, free: 15.9 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003505/0.778, allocations: 1.877 MB / 0.8822 GB, free: 13.97 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.709e-06/0.778, allocations: 0 / 0.8822 GB, free: 13.97 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00061/0.7786, allocations: 147.8 kB / 0.8824 GB, free: 13.83 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004814/0.7791, allocations: 80.72 kB / 0.8825 GB, free: 13.75 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.856e-05/0.7791, allocations: 23.92 kB / 0.8825 GB, free: 13.72 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002377/0.7815, allocations: 1.555 MB / 0.884 GB, free: 12.05 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.774e-06/0.7815, allocations: 3.938 kB / 0.884 GB, free: 12.05 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002166/0.7837, allocations: 0.9321 MB / 0.8849 GB, free: 11.09 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004244/0.7841, allocations: 187.2 kB / 0.8851 GB, free: 10.91 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001111/0.7842, allocations: 16 kB / 0.8851 GB, free: 10.89 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005955/0.7848, allocations: 66.38 kB / 0.8852 GB, free: 10.83 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001412/0.785, allocations: 64.88 kB / 0.8852 GB, free: 10.77 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.874e-05/0.785, allocations: 27.98 kB / 0.8853 GB, free: 10.74 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0007064/0.7857, allocations: 463 kB / 0.8857 GB, free: 10.29 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7857, allocations: 4 kB / 0.8857 GB, free: 10.29 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0009351/0.7867, allocations: 303.1 kB / 0.886 GB, free: 9.992 MB / 0.6544 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 (85): * Single equations (assignments): 82 * 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.004272/0.7909, allocations: 1.972 MB / 0.8879 GB, free: 8.215 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001818/0.7928, allocations: 0.7121 MB / 0.8886 GB, free: 7.488 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 5.861e-06/0.7928, allocations: 4 kB / 0.8886 GB, free: 7.484 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0009638/0.7937, allocations: 472.4 kB / 0.8891 GB, free: 7.008 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001219/0.7949, allocations: 287.3 kB / 0.8893 GB, free: 6.758 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01107/0.806, allocations: 6.137 MB / 0.8953 GB, free: 0.5078 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006989/0.8067, allocations: 1.027 MB / 0.8963 GB, free: 15.45 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0008141/0.8075, allocations: 262.3 kB / 0.8966 GB, free: 15.19 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005517/0.8081, allocations: 387.3 kB / 0.897 GB, free: 14.81 MB / 0.67 GB Notification: Performance of SimCode: time 7.31e-07/0.8081, allocations: 0 / 0.897 GB, free: 14.81 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08125/0.8893, allocations: 21.28 MB / 0.9177 GB, free: 9.691 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.64/14.53, allocations: 0 / 0.9177 GB, free: 9.691 MB / 0.6856 GB " [Timeout remaining time 645] (rm -f IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass_res.csv --start-time 0 --stop-time 864000 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 345.6 IDEAS_IDEAS_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass.fmu > IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 18.361261956997623] Failed to read output from testmodel.py, exit status != 0: 14.759406173994648 14.785862247 14.039636876 Calling exit ...