Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.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.001464/0.001464, allocations: 114.9 kB / 17.84 MB, free: 5.312 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.001583/0.001583, allocations: 201.6 kB / 20.8 MB, free: 2.371 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.507/1.507, allocations: 230.6 MB / 254.2 MB, free: 15.05 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.036/1.036, allocations: 150 MB / 460.2 MB, free: 5.215 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.SolarGeometry.BaseClasses.Examples.ZenithAngle,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle",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.002278/0.002278, allocations: 69.25 kB / 0.6368 GB, free: 30.52 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1828/0.1851, allocations: 89.14 MB / 0.7238 GB, free: 4.027 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle): time 0.008236/0.1933, allocations: 4.968 MB / 0.7287 GB, free: 15.04 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.6705/0.8638, allocations: 154 MB / 0.8791 GB, free: 2.168 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001195/0.865, allocations: 21.16 kB / 0.8791 GB, free: 2.168 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.0008778/0.8659, allocations: 197.9 kB / 0.8793 GB, free: 2.168 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.002103/0.868, allocations: 0.576 MB / 0.8799 GB, free: 2.156 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.002181/0.8702, allocations: 0.87 MB / 0.8807 GB, free: 2.148 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.001704/0.8719, allocations: 1.447 MB / 0.8821 GB, free: 2.145 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006718/0.8726, allocations: 421.2 kB / 0.8825 GB, free: 2.082 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007864/0.8734, allocations: 0.5246 MB / 0.883 GB, free: 2.078 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005494/0.8739, allocations: 0.5343 MB / 0.8836 GB, free: 2.078 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0001404/0.8741, allocations: 119 kB / 0.8837 GB, free: 2.078 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001244/0.8753, allocations: 0.5106 MB / 0.8842 GB, free: 2.062 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0003316/0.8756, allocations: 314 kB / 0.8845 GB, free: 2.062 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0006401/0.8763, allocations: 0.5767 MB / 0.885 GB, free: 2.062 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.002663/0.8789, allocations: 1.719 MB / 0.8867 GB, free: 1.953 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 6.632e-06/0.8789, allocations: 4 kB / 0.8867 GB, free: 1.949 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.904e-06/0.8789, allocations: 0 / 0.8867 GB, free: 1.949 MB / 0.67 GB Notification: Performance of Transformations before backend: time 2.211e-05/0.879, allocations: 0.8125 kB / 0.8867 GB, free: 1.949 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: 217 * Number of variables: 217 Notification: Performance of Generate backend data structure: time 0.003412/0.8824, allocations: 1.528 MB / 0.8882 GB, free: 17.11 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 5.425e-05/0.8824, allocations: 9.812 kB / 0.8882 GB, free: 17.11 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 5.679e-05/0.8825, allocations: 25.03 kB / 0.8882 GB, free: 17.11 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001835/0.8827, allocations: 139 kB / 0.8884 GB, free: 17.07 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001867/0.8845, allocations: 253.4 kB / 0.8886 GB, free: 17 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001422/0.886, allocations: 0.796 MB / 0.8894 GB, free: 16.67 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.709e-05/0.886, allocations: 65.16 kB / 0.8895 GB, free: 16.67 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001664/0.8862, allocations: 89.36 kB / 0.8895 GB, free: 16.67 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002081/0.8883, allocations: 0.9355 MB / 0.8905 GB, free: 16.52 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.359e-05/0.8883, allocations: 0.5312 kB / 0.8905 GB, free: 16.52 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001037/0.8884, allocations: 36.75 kB / 0.8905 GB, free: 16.52 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.375e-05/0.8885, allocations: 21.41 kB / 0.8905 GB, free: 16.52 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002194/0.8907, allocations: 1.129 MB / 0.8916 GB, free: 16.51 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004684/0.8953, allocations: 2.799 MB / 0.8943 GB, free: 15.41 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001543/0.8969, allocations: 0.8551 MB / 0.8952 GB, free: 15.29 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005058/0.8974, allocations: 285.4 kB / 0.8955 GB, free: 15.27 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 9.206e-05/0.8975, allocations: 33.06 kB / 0.8955 GB, free: 15.27 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008721/0.8984, allocations: 0.5137 MB / 0.896 GB, free: 15.2 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=84): time 2.485e-06/0.8984, allocations: 4 kB / 0.896 GB, free: 15.19 MB / 0.6856 GB Notification: Performance of matching and sorting (n=84): time 0.003421/0.9018, allocations: 1.262 MB / 0.8972 GB, free: 14.97 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001424/0.9019, allocations: 194.3 kB / 0.8974 GB, free: 14.75 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009281/0.9029, allocations: 0.6678 MB / 0.8981 GB, free: 14.62 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 9.36e-05/0.9029, allocations: 44.89 kB / 0.8981 GB, free: 14.59 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002957/0.9032, allocations: 408.8 kB / 0.8985 GB, free: 14.41 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001921/0.9034, allocations: 283.8 kB / 0.8988 GB, free: 14.23 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002574/0.9037, allocations: 154.5 kB / 0.8989 GB, free: 14.2 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.000225/0.9039, allocations: 386.7 kB / 0.8993 GB, free: 13.89 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00052/0.9044, allocations: 263.2 kB / 0.8995 GB, free: 13.89 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005739/0.905, allocations: 366.2 kB / 0.8999 GB, free: 13.81 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001042/0.9061, allocations: 0.6055 MB / 0.9005 GB, free: 13.75 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.9061, allocations: 1.203 kB / 0.9005 GB, free: 13.75 MB / 0.6856 GB Notification: Performance of matching and sorting (n=93) (initialization): time 0.001869/0.9079, allocations: 0.8331 MB / 0.9013 GB, free: 13.64 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.817e-05/0.9079, allocations: 8.062 kB / 0.9013 GB, free: 13.64 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.137e-05/0.908, allocations: 3.938 kB / 0.9013 GB, free: 13.64 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006085/0.9086, allocations: 83.5 kB / 0.9014 GB, free: 13.62 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006095/0.9092, allocations: 160.7 kB / 0.9015 GB, free: 13.62 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002302/0.9115, allocations: 1.63 MB / 0.9031 GB, free: 12.23 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009702/0.9124, allocations: 98.41 kB / 0.9032 GB, free: 12.2 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.406e-05/0.9125, allocations: 31.5 kB / 0.9032 GB, free: 12.2 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: 18 (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,decAng.tNext,$PRE.decAng.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (91): * Single equations (assignments): 90 * 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.0005728/0.9131, allocations: 273.6 kB / 0.9035 GB, free: 12.07 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001954/0.9133, allocations: 89.84 kB / 0.9036 GB, free: 12.03 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002358/0.9156, allocations: 1.136 MB / 0.9047 GB, free: 11.91 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.191e-05/0.9156, allocations: 15.78 kB / 0.9047 GB, free: 11.9 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.539e-06/0.9156, allocations: 4 kB / 0.9047 GB, free: 11.9 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.139e-05/0.9157, allocations: 5.672 kB / 0.9047 GB, free: 11.9 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003381/0.919, allocations: 2.029 MB / 0.9067 GB, free: 11.53 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.682e-06/0.919, allocations: 3.094 kB / 0.9067 GB, free: 11.53 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005864/0.9196, allocations: 158.2 kB / 0.9069 GB, free: 11.53 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004415/0.9201, allocations: 73.06 kB / 0.9069 GB, free: 11.52 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.287e-05/0.9201, allocations: 27.53 kB / 0.907 GB, free: 11.52 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002075/0.9222, allocations: 1.657 MB / 0.9086 GB, free: 10.13 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.9222, allocations: 7.156 kB / 0.9086 GB, free: 10.12 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002161/0.9244, allocations: 1.049 MB / 0.9096 GB, free: 9.898 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004594/0.9248, allocations: 297.4 kB / 0.9099 GB, free: 9.738 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001264/0.925, allocations: 18.59 kB / 0.9099 GB, free: 9.738 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006938/0.9257, allocations: 67.03 kB / 0.91 GB, free: 9.738 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002106/0.9259, allocations: 80.33 kB / 0.9101 GB, free: 9.734 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.969e-05/0.9259, allocations: 37.56 kB / 0.9101 GB, free: 9.734 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0006592/0.9266, allocations: 490.9 kB / 0.9106 GB, free: 9.645 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1e-07/0.9266, allocations: 0 / 0.9106 GB, free: 9.645 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.001122/0.9277, allocations: 330.4 kB / 0.9109 GB, free: 9.59 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: 12 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 6 (decAng.tNext,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 (99): * Single equations (assignments): 92 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * 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.004698/0.9324, allocations: 2.109 MB / 0.9129 GB, free: 8.727 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.001901/0.9343, allocations: 0.8038 MB / 0.9137 GB, free: 8.59 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 6.301e-06/0.9343, allocations: 0 / 0.9137 GB, free: 8.59 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.001028/0.9354, allocations: 0.5108 MB / 0.9142 GB, free: 8.473 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001597/0.937, allocations: 309.2 kB / 0.9145 GB, free: 8.438 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01082/0.9478, allocations: 6.481 MB / 0.9208 GB, free: 6.422 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008143/0.9486, allocations: 1.042 MB / 0.9219 GB, free: 5.703 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.001012/0.9496, allocations: 274.6 kB / 0.9221 GB, free: 5.621 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006465/0.9502, allocations: 418 kB / 0.9225 GB, free: 5.613 MB / 0.6856 GB Notification: Performance of SimCode: time 1.392e-06/0.9503, allocations: 0 / 0.9225 GB, free: 5.613 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05517/1.005, allocations: 22.67 MB / 0.9447 GB, free: 10.25 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.14/15.14, allocations: 19.86 kB / 0.9447 GB, free: 10.23 MB / 0.7012 GB " [Timeout remaining time 645] (rm -f IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe ; mkfifo IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe >> ../files/IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle_fmu --startTime=100000 --stopTime=300000 --stepSize=80 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle.fmu > IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 19.386042916041333] Failed to read output from testmodel.py, exit status != 0: 15.40439211303601 15.427117169 14.543712783 Calling exit ...