Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.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.001308/0.001308, allocations: 119.2 kB / 19.7 MB, free: 2.188 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.001508/0.001508, allocations: 220.9 kB / 23.01 MB, free: 5.004 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.493/1.493, allocations: 230.6 MB / 256.8 MB, free: 7.984 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.9488/0.9488, allocations: 150 MB / 463.2 MB, free: 10.54 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.DirectTiltedSurface,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_SolarIrradiation_Examples_DirectTiltedSurface",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_SolarIrradiation_Examples_DirectTiltedSurface",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.002721/0.002721, allocations: 67.52 kB / 0.6413 GB, free: 10.49 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1719/0.1746, allocations: 89.17 MB / 0.7283 GB, free: 1.383 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface): time 0.009396/0.184, allocations: 7.135 MB / 0.7353 GB, free: 10.21 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.5374/0.7214, allocations: 154.7 MB / 0.8863 GB, free: 5.535 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001011/0.7224, allocations: 31.81 kB / 0.8864 GB, free: 5.504 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0007635/0.7232, allocations: 271.8 kB / 0.8866 GB, free: 5.238 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.002356/0.7255, allocations: 0.7944 MB / 0.8874 GB, free: 4.461 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0026/0.7281, allocations: 1.06 MB / 0.8884 GB, free: 3.441 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.002878/0.731, allocations: 2.122 MB / 0.8905 GB, free: 1.312 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001228/0.7322, allocations: 0.7563 MB / 0.8913 GB, free: 0.5078 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001421/0.7337, allocations: 0.8605 MB / 0.8921 GB, free: 15.64 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001176/0.7348, allocations: 0.8909 MB / 0.893 GB, free: 14.75 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0002899/0.7351, allocations: 220 kB / 0.8932 GB, free: 14.54 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001221/0.7363, allocations: 0.6089 MB / 0.8938 GB, free: 13.93 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0004843/0.7368, allocations: 0.4907 MB / 0.8943 GB, free: 13.43 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0009904/0.7378, allocations: 0.9798 MB / 0.8952 GB, free: 12.45 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.00329/0.7411, allocations: 2.726 MB / 0.8979 GB, free: 9.715 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/0.7411, allocations: 4 kB / 0.8979 GB, free: 9.711 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.873e-06/0.7411, allocations: 3.938 kB / 0.8979 GB, free: 9.707 MB / 0.67 GB Notification: Performance of Transformations before backend: time 4.081e-05/0.7412, allocations: 0 / 0.8979 GB, free: 9.707 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: 398 * Number of variables: 398 Notification: Performance of Generate backend data structure: time 0.004201/0.7454, allocations: 2.048 MB / 0.8999 GB, free: 7.609 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.214e-05/0.7454, allocations: 12.03 kB / 0.8999 GB, free: 7.598 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002674/0.7457, allocations: 232.7 kB / 0.9001 GB, free: 7.359 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002996/0.7487, allocations: 407.4 kB / 0.9005 GB, free: 6.961 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001814/0.7505, allocations: 0.9458 MB / 0.9014 GB, free: 5.992 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001808/0.7507, allocations: 170.5 kB / 0.9016 GB, free: 5.812 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002025/0.7509, allocations: 156 kB / 0.9017 GB, free: 5.66 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002795/0.7537, allocations: 1.586 MB / 0.9033 GB, free: 4.02 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.885e-05/0.7537, allocations: 0 / 0.9033 GB, free: 4.02 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001466/0.7538, allocations: 68 kB / 0.9033 GB, free: 3.953 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.467e-05/0.7539, allocations: 36 kB / 0.9034 GB, free: 3.918 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002679/0.7565, allocations: 1.596 MB / 0.9049 GB, free: 2.316 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007784/0.7643, allocations: 4.936 MB / 0.9098 GB, free: 13.11 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002009/0.7663, allocations: 1.028 MB / 0.9108 GB, free: 12.08 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007413/0.7671, allocations: 391 kB / 0.9111 GB, free: 11.7 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001102/0.7672, allocations: 53.25 kB / 0.9112 GB, free: 11.65 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001278/0.7685, allocations: 0.7055 MB / 0.9119 GB, free: 10.93 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=111): time 2.595e-06/0.7685, allocations: 0 / 0.9119 GB, free: 10.93 MB / 0.6856 GB Notification: Performance of matching and sorting (n=111): time 0.004173/0.7726, allocations: 1.586 MB / 0.9134 GB, free: 9.332 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001295/0.7728, allocations: 192.9 kB / 0.9136 GB, free: 9.102 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001364/0.7741, allocations: 0.865 MB / 0.9145 GB, free: 8.211 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0001117/0.7742, allocations: 49.7 kB / 0.9145 GB, free: 8.156 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006151/0.7749, allocations: 0.6493 MB / 0.9151 GB, free: 7.5 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003479/0.7752, allocations: 372.8 kB / 0.9155 GB, free: 7.133 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003378/0.7755, allocations: 210.8 kB / 0.9157 GB, free: 6.922 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001642/0.7757, allocations: 345.9 kB / 0.916 GB, free: 6.578 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007439/0.7765, allocations: 378.4 kB / 0.9164 GB, free: 6.207 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008959/0.7773, allocations: 0.5102 MB / 0.9169 GB, free: 5.668 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001614/0.779, allocations: 0.8555 MB / 0.9177 GB, free: 4.793 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.079e-06/0.779, allocations: 4 kB / 0.9177 GB, free: 4.789 MB / 0.6856 GB Notification: Performance of matching and sorting (n=129) (initialization): time 0.002809/0.7818, allocations: 1.158 MB / 0.9189 GB, free: 3.625 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.523e-05/0.7818, allocations: 8 kB / 0.9189 GB, free: 3.617 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.608e-06/0.7818, allocations: 0 / 0.9189 GB, free: 3.617 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006415/0.7825, allocations: 84.84 kB / 0.9189 GB, free: 3.531 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009494/0.7834, allocations: 223.6 kB / 0.9192 GB, free: 3.312 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002323/0.7857, allocations: 1.535 MB / 0.9207 GB, free: 1.66 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001109/0.7868, allocations: 135.2 kB / 0.9208 GB, free: 1.527 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001015/0.7869, allocations: 49.52 kB / 0.9208 GB, free: 1.48 MB / 0.6856 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 24 (HDirWal.incAng.decAng.tNext,$PRE.HDirWal.incAng.decAng.tNext,HDirFlo.incAng.decAng.tNext,$PRE.HDirFlo.incAng.decAng.tNext,HDirRoo.incAng.decAng.tNext,$PRE.HDirRoo.incAng.decAng.tNext,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,$whenCondition6,$whenCondition7,$whenCondition8) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (127): * Single equations (assignments): 126 * 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.0007552/0.7877, allocations: 358.4 kB / 0.9212 GB, free: 1.121 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002719/0.788, allocations: 123.2 kB / 0.9213 GB, free: 1 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003323/0.7913, allocations: 1.523 MB / 0.9228 GB, free: 15.47 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.572e-05/0.7913, allocations: 16 kB / 0.9228 GB, free: 15.46 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.417e-06/0.7913, allocations: 4 kB / 0.9228 GB, free: 15.45 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.205e-05/0.7913, allocations: 3.984 kB / 0.9228 GB, free: 15.45 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001826/0.7931, allocations: 1.364 MB / 0.9241 GB, free: 14.04 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.863e-06/0.7931, allocations: 7.984 kB / 0.9241 GB, free: 14.03 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000854/0.794, allocations: 191.7 kB / 0.9243 GB, free: 13.84 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004744/0.7945, allocations: 80.72 kB / 0.9244 GB, free: 13.76 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.188e-05/0.7946, allocations: 31.97 kB / 0.9244 GB, free: 13.73 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002045/0.7966, allocations: 1.579 MB / 0.926 GB, free: 12.03 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/0.7966, allocations: 0 / 0.926 GB, free: 12.03 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002794/0.7994, allocations: 1.289 MB / 0.9272 GB, free: 10.72 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007208/0.8001, allocations: 294.7 kB / 0.9275 GB, free: 10.43 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001836/0.8003, allocations: 27.95 kB / 0.9275 GB, free: 10.41 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000859/0.8012, allocations: 83.91 kB / 0.9276 GB, free: 10.32 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002218/0.8014, allocations: 105.1 kB / 0.9277 GB, free: 10.22 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000106/0.8015, allocations: 47.97 kB / 0.9278 GB, free: 10.17 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.0009463/0.8024, allocations: 0.6377 MB / 0.9284 GB, free: 9.523 MB / 0.7012 GB Notification: Performance of sort global known variables: time 9e-08/0.8024, allocations: 0 / 0.9284 GB, free: 9.523 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.001435/0.8039, allocations: 482.6 kB / 0.9288 GB, free: 9.051 MB / 0.7012 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 16 ($whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,HDirRoo.incAng.decAng.tNext,HDirFlo.incAng.decAng.tNext,HDirWal.incAng.decAng.tNext) * Number of discrete states: 8 (weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,HDirRoo.incAng.decAng.tNext,HDirFlo.incAng.decAng.tNext,HDirWal.incAng.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (128): * Single equations (assignments): 119 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.00488/0.8088, allocations: 2.366 MB / 0.9312 GB, free: 6.867 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.002329/0.8111, allocations: 1.074 MB / 0.9322 GB, free: 5.781 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 4.448e-06/0.8111, allocations: 0 / 0.9322 GB, free: 5.781 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.00122/0.8123, allocations: 0.6386 MB / 0.9328 GB, free: 5.129 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00149/0.8138, allocations: 351 kB / 0.9332 GB, free: 4.809 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01557/0.8294, allocations: 8.798 MB / 0.9418 GB, free: 11.85 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009048/0.8303, allocations: 1.228 MB / 0.943 GB, free: 10.59 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.00112/0.8314, allocations: 325.4 kB / 0.9433 GB, free: 10.27 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009049/0.8323, allocations: 0.6125 MB / 0.9439 GB, free: 9.652 MB / 0.7169 GB Notification: Performance of SimCode: time 1.292e-06/0.8323, allocations: 0 / 0.9439 GB, free: 9.652 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.109/0.9412, allocations: 30.6 MB / 0.9737 GB, free: 11.3 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.9/15.84, allocations: 6.688 kB / 0.9738 GB, free: 11.3 MB / 0.7481 GB " [Timeout remaining time 644] (rm -f IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe ; mkfifo IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe >> ../files/IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface_res.csv --start-time 1.82304e+07 --stop-time 1.83168e+07 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 34.56 IBPSA_latest_IBPSA_BoundaryConditions_SolarIrradiation_Examples_DirectTiltedSurface.fmu > IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 19.923885022999457] Failed to read output from testmodel.py, exit status != 0: 16.07764497700191 16.100761517 15.355118499 Calling exit ...