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.001825/0.001825, 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.002165/0.002165, allocations: 219.4 kB / 23 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.45/1.45, allocations: 230.6 MB / 256.8 MB, free: 7.996 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.9885/0.9885, allocations: 150 MB / 463.2 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.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.002154/0.002154, allocations: 65.69 kB / 0.6412 GB, free: 10.42 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1764/0.1785, allocations: 89.17 MB / 0.7283 GB, free: 1.312 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface): time 0.009855/0.1884, allocations: 7.139 MB / 0.7353 GB, free: 10.13 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.5596/0.7479, allocations: 154.7 MB / 0.8864 GB, free: 5.438 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001272/0.7492, allocations: 27.81 kB / 0.8864 GB, free: 5.41 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.001019/0.7502, allocations: 271.8 kB / 0.8867 GB, free: 5.145 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.002852/0.7531, allocations: 0.7922 MB / 0.8874 GB, free: 4.371 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.002418/0.7555, allocations: 1.055 MB / 0.8885 GB, free: 3.355 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.002643/0.7581, allocations: 2.11 MB / 0.8905 GB, free: 1.238 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001162/0.7593, allocations: 0.768 MB / 0.8913 GB, free: 432 kB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00119/0.7605, allocations: 0.8565 MB / 0.8921 GB, free: 15.56 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001061/0.7616, allocations: 0.8948 MB / 0.893 GB, free: 14.66 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0002642/0.7618, allocations: 220 kB / 0.8932 GB, free: 14.45 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001125/0.7629, allocations: 0.6129 MB / 0.8938 GB, free: 13.84 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0004323/0.7634, allocations: 0.4907 MB / 0.8943 GB, free: 13.34 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0008903/0.7643, allocations: 0.9798 MB / 0.8952 GB, free: 12.36 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.003013/0.7673, allocations: 2.718 MB / 0.8979 GB, free: 9.637 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 6.482e-06/0.7673, allocations: 3.984 kB / 0.8979 GB, free: 9.633 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.814e-06/0.7673, allocations: 0 / 0.8979 GB, free: 9.633 MB / 0.67 GB Notification: Performance of Transformations before backend: time 2.756e-05/0.7673, allocations: 0 / 0.8979 GB, free: 9.633 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.003844/0.7712, allocations: 2.06 MB / 0.8999 GB, free: 7.523 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 3.982e-05/0.7712, allocations: 8.031 kB / 0.8999 GB, free: 7.516 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002585/0.7715, allocations: 224.2 kB / 0.9001 GB, free: 7.285 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002914/0.7744, allocations: 411.4 kB / 0.9005 GB, free: 6.883 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001716/0.7761, allocations: 0.9458 MB / 0.9014 GB, free: 5.914 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001709/0.7763, allocations: 170.5 kB / 0.9016 GB, free: 5.734 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001883/0.7764, allocations: 152 kB / 0.9017 GB, free: 5.586 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002676/0.7791, allocations: 1.593 MB / 0.9033 GB, free: 3.938 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.002e-05/0.7791, allocations: 0 / 0.9033 GB, free: 3.938 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001287/0.7793, allocations: 60 kB / 0.9033 GB, free: 3.879 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.291e-05/0.7793, allocations: 43.98 kB / 0.9034 GB, free: 3.836 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002638/0.7819, allocations: 1.592 MB / 0.9049 GB, free: 2.238 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007506/0.7895, allocations: 4.931 MB / 0.9098 GB, free: 13.04 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001936/0.7914, allocations: 1.034 MB / 0.9108 GB, free: 12 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000741/0.7921, allocations: 389 kB / 0.9111 GB, free: 11.62 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 9.946e-05/0.7922, allocations: 45.06 kB / 0.9112 GB, free: 11.57 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001226/0.7935, allocations: 0.7081 MB / 0.9119 GB, free: 10.85 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=111): time 3.016e-06/0.7935, allocations: 0 / 0.9119 GB, free: 10.85 MB / 0.6856 GB Notification: Performance of matching and sorting (n=111): time 0.004084/0.7975, allocations: 1.586 MB / 0.9134 GB, free: 9.258 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000128/0.7977, allocations: 196.9 kB / 0.9136 GB, free: 9.023 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001272/0.7989, allocations: 0.865 MB / 0.9145 GB, free: 8.133 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.000109/0.7991, allocations: 49.7 kB / 0.9145 GB, free: 8.078 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005737/0.7996, allocations: 0.6532 MB / 0.9151 GB, free: 7.418 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003438/0.8, allocations: 368.9 kB / 0.9155 GB, free: 7.055 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003144/0.8003, allocations: 206.8 kB / 0.9157 GB, free: 6.848 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001549/0.8004, allocations: 349.9 kB / 0.916 GB, free: 6.5 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007255/0.8012, allocations: 378.4 kB / 0.9164 GB, free: 6.129 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008626/0.802, allocations: 0.5102 MB / 0.9169 GB, free: 5.59 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001575/0.8036, allocations: 0.8599 MB / 0.9177 GB, free: 4.711 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.869e-06/0.8036, allocations: 0 / 0.9177 GB, free: 4.711 MB / 0.6856 GB Notification: Performance of matching and sorting (n=129) (initialization): time 0.002669/0.8063, allocations: 1.154 MB / 0.9188 GB, free: 3.551 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.264e-05/0.8063, allocations: 8 kB / 0.9189 GB, free: 3.543 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.416e-05/0.8063, allocations: 3.984 kB / 0.9189 GB, free: 3.539 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006024/0.8069, allocations: 76.84 kB / 0.9189 GB, free: 3.461 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000949/0.8079, allocations: 224.2 kB / 0.9191 GB, free: 3.242 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002214/0.8101, allocations: 1.546 MB / 0.9207 GB, free: 1.578 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001051/0.8111, allocations: 135.2 kB / 0.9208 GB, free: 1.445 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.641e-05/0.8112, allocations: 51.95 kB / 0.9208 GB, free: 1.395 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.0007457/0.812, allocations: 350.2 kB / 0.9212 GB, free: 1.043 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002918/0.8123, allocations: 115.2 kB / 0.9213 GB, free: 0.9297 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003471/0.8157, allocations: 1.531 MB / 0.9228 GB, free: 15.4 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.368e-05/0.8157, allocations: 12 kB / 0.9228 GB, free: 15.39 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.8158, allocations: 0 / 0.9228 GB, free: 15.39 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.404e-05/0.8158, allocations: 11.97 kB / 0.9228 GB, free: 15.38 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002068/0.8178, allocations: 1.36 MB / 0.9241 GB, free: 13.97 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.099e-05/0.8178, allocations: 0 / 0.9241 GB, free: 13.97 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008456/0.8187, allocations: 200.6 kB / 0.9243 GB, free: 13.77 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004894/0.8192, allocations: 80.77 kB / 0.9244 GB, free: 13.69 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001065/0.8193, allocations: 35.97 kB / 0.9244 GB, free: 13.66 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002143/0.8214, allocations: 1.583 MB / 0.926 GB, free: 11.95 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.8214, allocations: 0 / 0.926 GB, free: 11.95 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002921/0.8244, allocations: 1.289 MB / 0.9272 GB, free: 10.64 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007686/0.8251, allocations: 290.7 kB / 0.9275 GB, free: 10.36 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002978/0.8254, allocations: 31.95 kB / 0.9275 GB, free: 10.33 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001011/0.8264, allocations: 83.91 kB / 0.9276 GB, free: 10.25 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002355/0.8267, allocations: 105.1 kB / 0.9277 GB, free: 10.14 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001161/0.8268, allocations: 51.95 kB / 0.9278 GB, free: 10.09 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.001146/0.8279, allocations: 0.6377 MB / 0.9284 GB, free: 9.441 MB / 0.7012 GB Notification: Performance of sort global known variables: time 8e-08/0.8279, allocations: 0 / 0.9284 GB, free: 9.441 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.001365/0.8293, allocations: 478.6 kB / 0.9289 GB, free: 8.973 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.005234/0.8345, allocations: 2.37 MB / 0.9312 GB, free: 6.789 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.002541/0.8371, allocations: 1.074 MB / 0.9322 GB, free: 5.703 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 5.55e-06/0.8371, allocations: 0 / 0.9322 GB, free: 5.703 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.001276/0.8383, allocations: 0.6424 MB / 0.9328 GB, free: 5.047 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001838/0.8402, allocations: 342.5 kB / 0.9332 GB, free: 4.73 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0165/0.8567, allocations: 8.794 MB / 0.9418 GB, free: 11.77 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001121/0.8578, allocations: 1.224 MB / 0.943 GB, free: 10.52 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.00115/0.859, allocations: 329.5 kB / 0.9433 GB, free: 10.19 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001022/0.86, allocations: 0.6164 MB / 0.9439 GB, free: 9.574 MB / 0.7169 GB Notification: Performance of SimCode: time 1.373e-06/0.86, allocations: 4 kB / 0.9439 GB, free: 9.57 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08046/0.9404, allocations: 30.59 MB / 0.9737 GB, free: 11.23 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.45/15.39, allocations: 10.25 kB / 0.9738 GB, free: 11.22 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_BoundaryConditions_SolarIrradiation_Examples_DirectTiltedSurface_fmu --startTime=1.82304e+07 --stopTime=1.83168e+07 --stepSize=34.56 --timeout=50 --tolerance=1e-06 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.425870198057964] Failed to read output from testmodel.py, exit status != 0: 15.630754322046414 15.652058262 14.880531233 Calling exit ...