Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.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.001323/0.001323, allocations: 109.2 kB / 20.48 MB, free: 1.473 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.001746/0.001746, allocations: 213.7 kB / 23.79 MB, free: 4.68 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.478/1.478, allocations: 230.6 MB / 257.6 MB, free: 7.988 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.9654/0.9654, allocations: 150 MB / 464 MB, free: 10.47 MB / 366.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.Examples.DiffuseIsotropic,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic",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.001944/0.001944, allocations: 61.02 kB / 0.642 GB, free: 10.36 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.174/0.176, allocations: 89.17 MB / 0.7291 GB, free: 1.25 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic): time 0.008334/0.1843, allocations: 6.059 MB / 0.735 GB, free: 11.16 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.566/0.7503, allocations: 154.4 MB / 0.8858 GB, free: 6.797 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001326/0.7516, allocations: 27.75 kB / 0.8858 GB, free: 6.77 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.00111/0.7527, allocations: 239.9 kB / 0.886 GB, free: 6.535 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.003499/0.7562, allocations: 0.6506 MB / 0.8866 GB, free: 5.898 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.003907/0.7601, allocations: 0.9085 MB / 0.8875 GB, free: 5.031 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.003486/0.7636, allocations: 1.674 MB / 0.8892 GB, free: 3.352 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001731/0.7654, allocations: 0.5972 MB / 0.8897 GB, free: 2.711 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001509/0.7669, allocations: 0.6462 MB / 0.8904 GB, free: 2.062 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001584/0.7685, allocations: 0.669 MB / 0.891 GB, free: 1.391 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0004426/0.7689, allocations: 156 kB / 0.8912 GB, free: 1.238 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001929/0.7708, allocations: 0.5491 MB / 0.8917 GB, free: 0.6914 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0005563/0.7714, allocations: 378.8 kB / 0.8921 GB, free: 328 kB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.001298/0.7727, allocations: 0.7463 MB / 0.8928 GB, free: 15.57 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.00392/0.7766, allocations: 2.088 MB / 0.8948 GB, free: 13.48 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.7766, allocations: 4 kB / 0.8948 GB, free: 13.48 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.863e-06/0.7766, allocations: 0 / 0.8948 GB, free: 13.48 MB / 0.67 GB Notification: Performance of Transformations before backend: time 7.554e-05/0.7767, allocations: 0 / 0.8948 GB, free: 13.48 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: 305 * Number of variables: 305 Notification: Performance of Generate backend data structure: time 0.004225/0.7809, allocations: 1.725 MB / 0.8965 GB, free: 11.71 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.41e-05/0.781, allocations: 8.031 kB / 0.8965 GB, free: 11.71 MB / 0.67 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.02e-05/0.781, allocations: 30.59 kB / 0.8966 GB, free: 11.68 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000298/0.7813, allocations: 193.8 kB / 0.8968 GB, free: 11.48 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001695/0.783, allocations: 271.7 kB / 0.897 GB, free: 11.21 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001733/0.7847, allocations: 0.8126 MB / 0.8978 GB, free: 10.37 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001014/0.7848, allocations: 94.41 kB / 0.8979 GB, free: 10.28 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001756/0.785, allocations: 116 kB / 0.898 GB, free: 10.16 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002337/0.7873, allocations: 1.202 MB / 0.8992 GB, free: 8.898 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.376e-05/0.7874, allocations: 0 / 0.8992 GB, free: 8.898 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000116/0.7875, allocations: 52 kB / 0.8992 GB, free: 8.848 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.887e-05/0.7875, allocations: 28 kB / 0.8993 GB, free: 8.82 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002487/0.79, allocations: 1.285 MB / 0.9005 GB, free: 7.527 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006603/0.7966, allocations: 3.657 MB / 0.9041 GB, free: 3.66 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00176/0.7984, allocations: 0.81 MB / 0.9049 GB, free: 2.848 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006178/0.799, allocations: 303.6 kB / 0.9052 GB, free: 2.547 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 8.304e-05/0.7991, allocations: 24.61 kB / 0.9052 GB, free: 2.523 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009956/0.8001, allocations: 0.5277 MB / 0.9057 GB, free: 1.977 MB / 0.67 GB Notification: Performance of pre-optimization done (n=87): time 2.484e-06/0.8001, allocations: 0 / 0.9057 GB, free: 1.977 MB / 0.67 GB Notification: Performance of matching and sorting (n=87): time 0.003582/0.8036, allocations: 1.211 MB / 0.9069 GB, free: 0.7578 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001595/0.8038, allocations: 196.8 kB / 0.9071 GB, free: 0.5234 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001466/0.8053, allocations: 0.7511 MB / 0.9078 GB, free: 15.77 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.000104/0.8054, allocations: 45.69 kB / 0.9079 GB, free: 15.71 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.000645/0.806, allocations: 0.5398 MB / 0.9084 GB, free: 15.17 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003391/0.8063, allocations: 293.5 kB / 0.9087 GB, free: 14.88 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000309/0.8067, allocations: 162.6 kB / 0.9088 GB, free: 14.71 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.000187/0.8068, allocations: 334 kB / 0.9091 GB, free: 14.38 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006183/0.8075, allocations: 269.9 kB / 0.9094 GB, free: 14.12 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007535/0.8082, allocations: 386.5 kB / 0.9098 GB, free: 13.71 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001252/0.8095, allocations: 0.636 MB / 0.9104 GB, free: 13.06 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.438e-06/0.8095, allocations: 3.938 kB / 0.9104 GB, free: 13.06 MB / 0.6856 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.002249/0.8117, allocations: 0.8809 MB / 0.9112 GB, free: 12.17 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.309e-05/0.8117, allocations: 4 kB / 0.9112 GB, free: 12.17 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.272e-05/0.8118, allocations: 7.938 kB / 0.9113 GB, free: 12.16 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006332/0.8124, allocations: 84.8 kB / 0.9113 GB, free: 12.07 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007122/0.8131, allocations: 163.8 kB / 0.9115 GB, free: 11.91 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002269/0.8154, allocations: 1.529 MB / 0.913 GB, free: 10.27 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008293/0.8162, allocations: 99.42 kB / 0.9131 GB, free: 10.17 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.052e-05/0.8163, allocations: 32.16 kB / 0.9131 GB, free: 10.14 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 (96): * Single equations (assignments): 95 * 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.0006208/0.8169, allocations: 295.6 kB / 0.9134 GB, free: 9.84 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002983/0.8172, allocations: 107.3 kB / 0.9135 GB, free: 9.734 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00272/0.8199, allocations: 1.123 MB / 0.9146 GB, free: 8.609 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.309e-05/0.8199, allocations: 11.94 kB / 0.9146 GB, free: 8.598 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.165e-06/0.8199, allocations: 5.25 kB / 0.9146 GB, free: 8.594 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.025e-05/0.82, allocations: 3.984 kB / 0.9146 GB, free: 8.59 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001622/0.8216, allocations: 1.039 MB / 0.9156 GB, free: 7.508 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.133e-05/0.8216, allocations: 3.984 kB / 0.9156 GB, free: 7.504 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006377/0.8222, allocations: 155.8 kB / 0.9158 GB, free: 7.352 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000462/0.8227, allocations: 76.72 kB / 0.9159 GB, free: 7.273 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001045/0.8228, allocations: 23.98 kB / 0.9159 GB, free: 7.25 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002165/0.825, allocations: 1.556 MB / 0.9174 GB, free: 5.566 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.834e-06/0.825, allocations: 32 / 0.9174 GB, free: 5.566 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002335/0.8273, allocations: 0.9946 MB / 0.9184 GB, free: 4.555 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000599/0.8279, allocations: 223 kB / 0.9186 GB, free: 4.336 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002161/0.8281, allocations: 20 kB / 0.9186 GB, free: 4.316 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007535/0.8289, allocations: 70.27 kB / 0.9187 GB, free: 4.25 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001957/0.8291, allocations: 76.8 kB / 0.9187 GB, free: 4.172 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001029/0.8292, allocations: 39.97 kB / 0.9188 GB, free: 4.133 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.001019/0.8302, allocations: 0.5342 MB / 0.9193 GB, free: 3.605 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8302, allocations: 0 / 0.9193 GB, free: 3.605 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.001392/0.8316, allocations: 398.7 kB / 0.9197 GB, free: 3.215 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.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (98): * Single equations (assignments): 92 * 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.005157/0.8367, allocations: 2.047 MB / 0.9217 GB, free: 1.355 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.002161/0.8389, allocations: 0.8274 MB / 0.9225 GB, free: 0.5156 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 5.931e-06/0.8389, allocations: 4 kB / 0.9225 GB, free: 0.5117 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.001106/0.84, allocations: 0.5041 MB / 0.923 GB, free: 0 / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001783/0.8418, allocations: 330.7 kB / 0.9233 GB, free: 15.7 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01477/0.8565, allocations: 7.159 MB / 0.9303 GB, free: 8.395 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009272/0.8575, allocations: 1.114 MB / 0.9314 GB, free: 7.254 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.0009404/0.8584, allocations: 275.8 kB / 0.9316 GB, free: 6.98 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007527/0.8592, allocations: 495.2 kB / 0.9321 GB, free: 6.496 MB / 0.7012 GB Notification: Performance of SimCode: time 9.82e-07/0.8592, allocations: 0 / 0.9321 GB, free: 6.496 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06766/0.9268, allocations: 25.18 MB / 0.9567 GB, free: 13.57 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.77/15.7, allocations: 11.89 kB / 0.9567 GB, free: 13.56 MB / 0.7325 GB " [Timeout remaining time 644] (rm -f IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; mkfifo IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe >> ../files/IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic_fmu --startTime=1.82304e+07 --stopTime=1.83168e+07 --stepSize=34.56 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic.fmu > IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 19.765430486993864] Failed to read output from testmodel.py, exit status != 0: 15.987376484030392 16.012545529 15.231079421 Calling exit ...