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.001299/0.001299, allocations: 110.5 kB / 17.12 MB, free: 6.008 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.001471/0.001471, allocations: 211.2 kB / 20.1 MB, free: 3.055 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.485/1.485, allocations: 230.6 MB / 253.5 MB, free: 15.09 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 1.008/1.008, allocations: 150 MB / 459.5 MB, free: 5.297 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass",fmuType="me",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.001999/0.001999, allocations: 73.66 kB / 0.6361 GB, free: 30.6 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1462/0.1482, allocations: 89.12 MB / 0.7231 GB, free: 4.168 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass): time 0.007426/0.1556, allocations: 5.179 MB / 0.7282 GB, free: 14.96 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.5867/0.7423, allocations: 154 MB / 0.8786 GB, free: 2.129 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007782/0.7431, allocations: 25.56 kB / 0.8786 GB, free: 2.129 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.0005711/0.7437, allocations: 204.4 kB / 0.8788 GB, free: 2.129 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.0015/0.7452, allocations: 0.5762 MB / 0.8794 GB, free: 2.121 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.001783/0.7469, allocations: 0.8701 MB / 0.8803 GB, free: 2.113 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.001198/0.7481, allocations: 1.461 MB / 0.8817 GB, free: 2.109 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006407/0.7488, allocations: 474.2 kB / 0.8821 GB, free: 2.047 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006737/0.7495, allocations: 0.5369 MB / 0.8827 GB, free: 2.043 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006205/0.7501, allocations: 0.5571 MB / 0.8832 GB, free: 2.043 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0001758/0.7503, allocations: 126.5 kB / 0.8833 GB, free: 2.043 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001049/0.7513, allocations: 0.5211 MB / 0.8838 GB, free: 2.027 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0002955/0.7516, allocations: 322.2 kB / 0.8841 GB, free: 2.027 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0005614/0.7522, allocations: 0.6135 MB / 0.8847 GB, free: 2.027 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.002083/0.7542, allocations: 1.79 MB / 0.8865 GB, free: 1.914 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 5.109e-06/0.7543, allocations: 0.625 kB / 0.8865 GB, free: 1.914 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.443e-06/0.7543, allocations: 4 kB / 0.8865 GB, free: 1.91 MB / 0.67 GB Notification: Performance of Transformations before backend: time 1.775e-05/0.7543, allocations: 0 / 0.8865 GB, free: 1.91 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.002963/0.7572, allocations: 1.565 MB / 0.888 GB, free: 17.07 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.536e-05/0.7573, allocations: 9.219 kB / 0.888 GB, free: 17.07 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000191/0.7575, allocations: 146.2 kB / 0.8882 GB, free: 17.03 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002053/0.7595, allocations: 285.8 kB / 0.8884 GB, free: 16.95 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00142/0.7609, allocations: 0.8058 MB / 0.8892 GB, free: 16.62 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.871e-05/0.761, allocations: 68.62 kB / 0.8893 GB, free: 16.62 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002174/0.7613, allocations: 94.58 kB / 0.8894 GB, free: 16.62 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002156/0.7634, allocations: 1.006 MB / 0.8904 GB, free: 16.48 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.298e-05/0.7634, allocations: 1.531 kB / 0.8904 GB, free: 16.48 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001084/0.7635, allocations: 40.69 kB / 0.8904 GB, free: 16.48 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.413e-05/0.7636, allocations: 26.08 kB / 0.8904 GB, free: 16.48 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002158/0.7658, allocations: 1.179 MB / 0.8916 GB, free: 16.46 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004742/0.7705, allocations: 2.977 MB / 0.8945 GB, free: 15.3 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00227/0.7728, allocations: 0.9185 MB / 0.8954 GB, free: 15.17 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005551/0.7733, allocations: 290.2 kB / 0.8957 GB, free: 15.16 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 8.129e-05/0.7734, allocations: 35.83 kB / 0.8957 GB, free: 15.16 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009562/0.7744, allocations: 0.4926 MB / 0.8962 GB, free: 15.08 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=82): time 2.635e-06/0.7744, allocations: 0 / 0.8962 GB, free: 15.08 MB / 0.6856 GB Notification: Performance of matching and sorting (n=82): time 0.003485/0.7779, allocations: 1.237 MB / 0.8974 GB, free: 14.87 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001334/0.778, allocations: 197.1 kB / 0.8976 GB, free: 14.65 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008307/0.7788, allocations: 0.6637 MB / 0.8982 GB, free: 14.53 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 9.11e-05/0.7789, allocations: 41.86 kB / 0.8983 GB, free: 14.5 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002725/0.7792, allocations: 444.9 kB / 0.8987 GB, free: 14.29 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001626/0.7793, allocations: 278.7 kB / 0.899 GB, free: 14.11 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000213/0.7796, allocations: 152.8 kB / 0.8991 GB, free: 14.09 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.000207/0.7798, allocations: 390.1 kB / 0.8995 GB, free: 13.78 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000528/0.7803, allocations: 258.9 kB / 0.8997 GB, free: 13.77 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006045/0.7809, allocations: 361.1 kB / 0.9001 GB, free: 13.7 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001105/0.782, allocations: 0.6047 MB / 0.9007 GB, free: 13.64 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/0.782, allocations: 0 / 0.9007 GB, free: 13.64 MB / 0.6856 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001907/0.7839, allocations: 0.8277 MB / 0.9015 GB, free: 13.53 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.002e-05/0.7839, allocations: 9.5 kB / 0.9015 GB, free: 13.53 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.716e-06/0.7839, allocations: 5.906 kB / 0.9015 GB, free: 13.53 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006047/0.7845, allocations: 84.03 kB / 0.9016 GB, free: 13.52 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006374/0.7852, allocations: 153.8 kB / 0.9017 GB, free: 13.52 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002245/0.7874, allocations: 1.628 MB / 0.9033 GB, free: 12.12 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007969/0.7882, allocations: 100.5 kB / 0.9034 GB, free: 12.09 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.141e-05/0.7883, allocations: 36.86 kB / 0.9034 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.0004604/0.7887, allocations: 270.9 kB / 0.9037 GB, free: 11.96 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002064/0.7889, allocations: 86.91 kB / 0.9038 GB, free: 11.92 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002375/0.7913, allocations: 1.102 MB / 0.9048 GB, free: 11.79 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.965e-06/0.7913, allocations: 11.09 kB / 0.9049 GB, free: 11.79 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.795e-06/0.7913, allocations: 3.188 kB / 0.9049 GB, free: 11.79 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.819e-06/0.7913, allocations: 5.625 kB / 0.9049 GB, free: 11.79 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003182/0.7945, allocations: 2.029 MB / 0.9068 GB, free: 11.41 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.803e-06/0.7945, allocations: 5.203 kB / 0.9068 GB, free: 11.41 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005968/0.7951, allocations: 154.8 kB / 0.907 GB, free: 11.41 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004402/0.7956, allocations: 73.22 kB / 0.9071 GB, free: 11.39 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.014e-05/0.7956, allocations: 27.38 kB / 0.9071 GB, free: 11.39 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002042/0.7977, allocations: 1.658 MB / 0.9087 GB, free: 10 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.7977, allocations: 0 / 0.9087 GB, free: 10 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002144/0.7998, allocations: 1.025 MB / 0.9097 GB, free: 9.777 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004497/0.8003, allocations: 285.2 kB / 0.91 GB, free: 9.625 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000134/0.8004, allocations: 25.89 kB / 0.91 GB, free: 9.621 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007192/0.8011, allocations: 67.48 kB / 0.9101 GB, free: 9.617 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001622/0.8013, allocations: 69.73 kB / 0.9101 GB, free: 9.617 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.074e-05/0.8014, allocations: 32.73 kB / 0.9102 GB, free: 9.617 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0006192/0.802, allocations: 491.1 kB / 0.9106 GB, free: 9.523 MB / 0.6856 GB Notification: Performance of sort global known variables: time 8e-08/0.802, allocations: 2.656 kB / 0.9106 GB, free: 9.523 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.0009828/0.803, allocations: 342.2 kB / 0.911 GB, free: 9.457 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.004362/0.8073, allocations: 2.085 MB / 0.913 GB, free: 8.609 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.001766/0.8091, allocations: 0.7962 MB / 0.9138 GB, free: 8.473 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 4.82e-06/0.8091, allocations: 0 / 0.9138 GB, free: 8.473 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.000934/0.81, allocations: 0.5007 MB / 0.9143 GB, free: 8.352 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001346/0.8114, allocations: 304.7 kB / 0.9146 GB, free: 8.324 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0102/0.8216, allocations: 6.522 MB / 0.9209 GB, free: 6.293 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007004/0.8223, allocations: 1.048 MB / 0.922 GB, free: 5.574 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0008414/0.8231, allocations: 264 kB / 0.9222 GB, free: 5.504 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005581/0.8237, allocations: 413.3 kB / 0.9226 GB, free: 5.492 MB / 0.6856 GB Notification: Performance of SimCode: time 6.61e-07/0.8237, allocations: 0 / 0.9226 GB, free: 5.492 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06081/0.8845, allocations: 22.66 MB / 0.9447 GB, free: 9.746 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.67/14.56, allocations: 17.81 kB / 0.9447 GB, free: 9.734 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 & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.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 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: 18.652608994860202] Failed to read output from testmodel.py, exit status != 0: 14.763491246150807 14.778864051 14.021605985999999 Calling exit ...