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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001334/0.001334, allocations: 114.3 kB / 17.12 MB, free: 5.914 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001387/0.001387, allocations: 195.7 kB / 20.08 MB, free: 2.977 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.443/1.443, allocations: 225.6 MB / 248.5 MB, free: 3.609 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8643/0.8643, allocations: 129.2 MB / 432.5 MB, free: 13.12 MB / 350.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.001856/0.001856, allocations: 71.83 kB / 0.5987 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4117/0.4135, allocations: 83.44 MB / 0.6802 GB, free: 5.992 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface): time 0.007456/0.421, allocations: 7.069 MB / 0.6871 GB, free: 400 kB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.186/0.607, allocations: 151.6 MB / 0.8351 GB, free: 14.71 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001758/0.6087, allocations: 23.88 kB / 0.8351 GB, free: 14.68 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0008834/0.6096, allocations: 273.4 kB / 0.8354 GB, free: 14.41 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.003508/0.6131, allocations: 0.7742 MB / 0.8362 GB, free: 13.64 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.002989/0.6161, allocations: 1.024 MB / 0.8372 GB, free: 12.62 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0032/0.6193, allocations: 2.085 MB / 0.8392 GB, free: 10.53 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001411/0.6207, allocations: 0.7711 MB / 0.8399 GB, free: 9.707 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00127/0.622, allocations: 0.8293 MB / 0.8408 GB, free: 8.875 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001137/0.6231, allocations: 0.8869 MB / 0.8416 GB, free: 7.984 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0003358/0.6235, allocations: 220 kB / 0.8418 GB, free: 7.77 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001207/0.6247, allocations: 0.5739 MB / 0.8424 GB, free: 7.195 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0004836/0.6251, allocations: 494.5 kB / 0.8429 GB, free: 6.711 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0009831/0.6261, allocations: 0.9681 MB / 0.8438 GB, free: 5.738 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.003319/0.6294, allocations: 2.688 MB / 0.8464 GB, free: 3.043 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.417e-06/0.6294, allocations: 0 / 0.8464 GB, free: 3.043 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.503e-06/0.6294, allocations: 0 / 0.8464 GB, free: 3.043 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 3.005e-05/0.6295, allocations: 0 / 0.8464 GB, free: 3.043 MB / 0.6544 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.003912/0.6334, allocations: 2.104 MB / 0.8485 GB, free: 0.8789 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.077e-05/0.6334, allocations: 12.03 kB / 0.8485 GB, free: 0.8672 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002695/0.6337, allocations: 224.2 kB / 0.8487 GB, free: 0.6367 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001008/0.6347, allocations: 263.6 kB / 0.849 GB, free: 388 kB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001691/0.6364, allocations: 1.005 MB / 0.8499 GB, free: 15.33 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001533/0.6366, allocations: 148.8 kB / 0.8501 GB, free: 15.18 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001951/0.6367, allocations: 148 kB / 0.8502 GB, free: 15.03 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002689/0.6394, allocations: 1.593 MB / 0.8518 GB, free: 13.38 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.334e-05/0.6395, allocations: 3.938 kB / 0.8518 GB, free: 13.38 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001301/0.6396, allocations: 64 kB / 0.8518 GB, free: 13.32 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.084e-05/0.6396, allocations: 36 kB / 0.8519 GB, free: 13.28 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002767/0.6424, allocations: 1.596 MB / 0.8534 GB, free: 11.68 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007961/0.6504, allocations: 4.995 MB / 0.8583 GB, free: 6.422 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002032/0.6524, allocations: 1.03 MB / 0.8593 GB, free: 5.383 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000737/0.6531, allocations: 395.7 kB / 0.8597 GB, free: 4.992 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 9.303e-05/0.6532, allocations: 41.09 kB / 0.8597 GB, free: 4.953 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001241/0.6545, allocations: 0.7016 MB / 0.8604 GB, free: 4.234 MB / 0.67 GB Notification: Performance of pre-optimization done (n=111): time 2.665e-06/0.6545, allocations: 0 / 0.8604 GB, free: 4.234 MB / 0.67 GB Notification: Performance of matching and sorting (n=111): time 0.004108/0.6586, allocations: 1.665 MB / 0.8621 GB, free: 2.543 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000149/0.6587, allocations: 192.9 kB / 0.8622 GB, free: 2.309 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001213/0.6599, allocations: 0.8417 MB / 0.8631 GB, free: 1.441 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0001013/0.66, allocations: 45.7 kB / 0.8631 GB, free: 1.391 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005616/0.6606, allocations: 0.6376 MB / 0.8637 GB, free: 0.7461 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003396/0.6609, allocations: 376.8 kB / 0.8641 GB, free: 384 kB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003224/0.6613, allocations: 210.8 kB / 0.8643 GB, free: 168 kB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.3027/0.964, allocations: 345.9 kB / 0.8646 GB, free: 175.3 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00107/0.9651, allocations: 375.7 kB / 0.865 GB, free: 175.3 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008286/0.9659, allocations: 0.5054 MB / 0.8655 GB, free: 175.2 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001443/0.9673, allocations: 0.8614 MB / 0.8663 GB, free: 174.9 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.749e-06/0.9673, allocations: 0 / 0.8663 GB, free: 174.9 MB / 0.67 GB Notification: Performance of matching and sorting (n=129) (initialization): time 0.002644/0.97, allocations: 1.153 MB / 0.8674 GB, free: 174.5 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.2e-05/0.97, allocations: 8.344 kB / 0.8674 GB, free: 174.5 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.876e-06/0.97, allocations: 0.75 kB / 0.8674 GB, free: 174.5 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005897/0.9706, allocations: 84.38 kB / 0.8675 GB, free: 174.5 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009475/0.9715, allocations: 222 kB / 0.8677 GB, free: 174.5 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001842/0.9734, allocations: 1.654 MB / 0.8693 GB, free: 173 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009667/0.9744, allocations: 133.8 kB / 0.8695 GB, free: 173 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.667e-05/0.9745, allocations: 49.27 kB / 0.8695 GB, free: 173 MB / 0.67 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.0006768/0.9751, allocations: 348.5 kB / 0.8699 GB, free: 172.7 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002649/0.9754, allocations: 116.6 kB / 0.87 GB, free: 172.7 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00334/0.9787, allocations: 1.535 MB / 0.8715 GB, free: 172.1 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.047e-05/0.9788, allocations: 13.47 kB / 0.8715 GB, free: 172.1 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.07e-06/0.9788, allocations: 1.656 kB / 0.8715 GB, free: 172.1 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.769e-05/0.9788, allocations: 7.328 kB / 0.8715 GB, free: 172.1 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002084/0.9809, allocations: 1.377 MB / 0.8728 GB, free: 171.5 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.361e-06/0.9809, allocations: 0.9844 kB / 0.8728 GB, free: 171.5 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009008/0.9818, allocations: 197.6 kB / 0.873 GB, free: 171.5 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004646/0.9822, allocations: 74.28 kB / 0.8731 GB, free: 171.5 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.44e-05/0.9823, allocations: 40.12 kB / 0.8731 GB, free: 171.5 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001729/0.984, allocations: 1.665 MB / 0.8748 GB, free: 169.9 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.984, allocations: 1.156 kB / 0.8748 GB, free: 169.9 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003015/0.9871, allocations: 1.291 MB / 0.876 GB, free: 169.4 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006631/0.9877, allocations: 368.9 kB / 0.8764 GB, free: 169.2 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001773/0.9879, allocations: 30.52 kB / 0.8764 GB, free: 169.1 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008559/0.9888, allocations: 83.14 kB / 0.8765 GB, free: 169.1 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002226/0.989, allocations: 99.53 kB / 0.8766 GB, free: 169.1 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001175/0.9891, allocations: 50.17 kB / 0.8766 GB, free: 169.1 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0009791/0.9901, allocations: 0.6241 MB / 0.8772 GB, free: 168.8 MB / 0.67 GB Notification: Performance of sort global known variables: time 5e-08/0.9901, allocations: 0 / 0.8772 GB, free: 168.8 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.001242/0.9913, allocations: 481.3 kB / 0.8777 GB, free: 168.7 MB / 0.67 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.004332/0.9957, allocations: 2.368 MB / 0.88 GB, free: 167.5 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.002229/0.9979, allocations: 1.079 MB / 0.8811 GB, free: 167.1 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 5.17e-06/0.9979, allocations: 1.094 kB / 0.8811 GB, free: 167.1 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.001069/0.999, allocations: 0.6337 MB / 0.8817 GB, free: 166.8 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001351/1, allocations: 346.2 kB / 0.882 GB, free: 166.6 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01271/1.013, allocations: 8.731 MB / 0.8905 GB, free: 161.5 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006978/1.014, allocations: 1.22 MB / 0.8917 GB, free: 160.5 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.001092/1.015, allocations: 319.2 kB / 0.892 GB, free: 160.4 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007043/1.016, allocations: 0.6067 MB / 0.8926 GB, free: 159.9 MB / 0.67 GB Notification: Performance of SimCode: time 1.193e-06/1.016, allocations: 0 / 0.8926 GB, free: 159.9 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06544/1.081, allocations: 29.54 MB / 0.9215 GB, free: 133.4 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.13/15.21, allocations: 3.938 kB / 0.9215 GB, free: 133.4 MB / 0.67 GB " [Timeout remaining time 645] (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: 18.852959053125232] Failed to read output from testmodel.py, exit status != 0: 15.41772444313392 15.426107135 14.794555442 Calling exit ...