Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.Examples.ReaderTMY3.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.001529/0.001529, allocations: 117.1 kB / 17.13 MB, free: 5.941 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.00136/0.00136, allocations: 195.7 kB / 20.08 MB, free: 3.008 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.437/1.437, allocations: 225.6 MB / 248.5 MB, free: 3.645 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.9047/0.9047, allocations: 129.2 MB / 432.5 MB, free: 13.2 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.WeatherData.Examples.ReaderTMY3,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_WeatherData_Examples_ReaderTMY3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.BoundaryConditions.WeatherData.Examples.ReaderTMY3,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_WeatherData_Examples_ReaderTMY3",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001954/0.001954, allocations: 72.02 kB / 0.5987 GB, free: 15.21 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3903/0.3923, allocations: 83.44 MB / 0.6801 GB, free: 6.137 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.WeatherData.Examples.ReaderTMY3): time 0.007068/0.3994, allocations: 7.213 MB / 0.6872 GB, free: 432 kB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.185/0.5844, allocations: 153.9 MB / 0.8375 GB, free: 12.34 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001817/0.5862, allocations: 35.81 kB / 0.8375 GB, free: 12.3 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.001184/0.5874, allocations: 348.7 kB / 0.8379 GB, free: 11.96 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.003178/0.5906, allocations: 0.7682 MB / 0.8386 GB, free: 11.19 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.00352/0.5941, allocations: 1.396 MB / 0.84 GB, free: 9.809 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.004107/0.5982, allocations: 2.647 MB / 0.8426 GB, free: 7.148 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001416/0.5996, allocations: 0.7124 MB / 0.8433 GB, free: 6.395 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001578/0.6012, allocations: 0.8954 MB / 0.8441 GB, free: 5.496 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0013/0.6025, allocations: 0.9101 MB / 0.845 GB, free: 4.582 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0003478/0.6029, allocations: 212 kB / 0.8452 GB, free: 4.375 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001895/0.6048, allocations: 0.9754 MB / 0.8462 GB, free: 3.398 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0005813/0.6053, allocations: 0.5373 MB / 0.8467 GB, free: 2.859 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.00106/0.6064, allocations: 1.014 MB / 0.8477 GB, free: 1.84 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.004196/0.6106, allocations: 3.012 MB / 0.8506 GB, free: 14.81 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.6106, allocations: 7.938 kB / 0.8506 GB, free: 14.8 MB / 0.67 GB Notification: Performance of FrontEnd: time 2.124e-06/0.6106, allocations: 4 kB / 0.8507 GB, free: 14.8 MB / 0.67 GB Notification: Performance of Transformations before backend: time 3.2e-05/0.6106, allocations: 0 / 0.8507 GB, free: 14.8 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: 367 * Number of variables: 367 Notification: Performance of Generate backend data structure: time 0.00487/0.6155, allocations: 2.449 MB / 0.853 GB, free: 12.29 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 5.215e-05/0.6156, allocations: 8.031 kB / 0.8531 GB, free: 12.28 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003032/0.6159, allocations: 215.4 kB / 0.8533 GB, free: 12.05 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00209/0.6179, allocations: 387 kB / 0.8536 GB, free: 11.68 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002469/0.6204, allocations: 1.328 MB / 0.8549 GB, free: 10.29 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001092/0.6205, allocations: 110.9 kB / 0.855 GB, free: 10.18 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002088/0.6207, allocations: 140 kB / 0.8552 GB, free: 10.05 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003175/0.6239, allocations: 1.65 MB / 0.8568 GB, free: 8.305 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.347e-05/0.6239, allocations: 3.938 kB / 0.8568 GB, free: 8.301 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001558/0.6241, allocations: 67.98 kB / 0.8568 GB, free: 8.234 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.197e-05/0.6241, allocations: 36 kB / 0.8569 GB, free: 8.199 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003873/0.628, allocations: 2.154 MB / 0.859 GB, free: 6.043 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008816/0.6368, allocations: 4.904 MB / 0.8638 GB, free: 1 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.3481/0.985, allocations: 1.527 MB / 0.8653 GB, free: 175.4 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001233/0.9862, allocations: 0.5444 MB / 0.8658 GB, free: 175.3 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000128/0.9863, allocations: 58.58 kB / 0.8658 GB, free: 175.3 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001792/0.9881, allocations: 0.943 MB / 0.8668 GB, free: 174.9 MB / 0.67 GB Notification: Performance of pre-optimization done (n=154): time 3.346e-06/0.9881, allocations: 0 / 0.8668 GB, free: 174.9 MB / 0.67 GB Notification: Performance of matching and sorting (n=154): time 0.006456/0.9946, allocations: 2.381 MB / 0.8691 GB, free: 174.1 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000108/0.9947, allocations: 357.9 kB / 0.8694 GB, free: 173.7 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001756/0.9964, allocations: 1.16 MB / 0.8706 GB, free: 173.2 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0001686/0.9966, allocations: 60.25 kB / 0.8706 GB, free: 173.2 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004771/0.9971, allocations: 0.6756 MB / 0.8713 GB, free: 172.8 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003433/0.9974, allocations: 0.5077 MB / 0.8718 GB, free: 172.4 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004227/0.9978, allocations: 283.3 kB / 0.8721 GB, free: 172.3 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 7.831e-05/0.9979, allocations: 360.8 kB / 0.8724 GB, free: 172 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001038/0.999, allocations: 0.4918 MB / 0.8729 GB, free: 171.8 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001191/1, allocations: 0.719 MB / 0.8736 GB, free: 171.4 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002333/1.002, allocations: 1.193 MB / 0.8747 GB, free: 170.9 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.113e-06/1.002, allocations: 1 kB / 0.8747 GB, free: 170.9 MB / 0.67 GB Notification: Performance of matching and sorting (n=173) (initialization): time 0.003999/1.006, allocations: 1.593 MB / 0.8763 GB, free: 170.2 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.484e-05/1.007, allocations: 9.859 kB / 0.8763 GB, free: 170.2 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.021e-05/1.007, allocations: 2.125 kB / 0.8763 GB, free: 170.2 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001037/1.008, allocations: 167.2 kB / 0.8765 GB, free: 170.2 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001224/1.009, allocations: 300.9 kB / 0.8768 GB, free: 170.2 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003264/1.012, allocations: 3.291 MB / 0.88 GB, free: 167.1 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001467/1.014, allocations: 185.2 kB / 0.8801 GB, free: 167 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001181/1.014, allocations: 67.33 kB / 0.8802 GB, free: 167 MB / 0.67 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 30 (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,$whenCondition6,$whenCondition7,$whenCondition8,$whenCondition9,$whenCondition10,weaDatInpCon.decAng.tNext,$PRE.weaDatInpCon.decAng.tNext,weaDatInpCon.eqnTim.tNext,$PRE.weaDatInpCon.eqnTim.tNext,weaDatInpCon.conTim.tNext,$PRE.weaDatInpCon.conTim.tNext,weaDatInpCon.conTimMin.tNext,$PRE.weaDatInpCon.conTimMin.tNext,weaDatInpCon.locTim.tNext,$PRE.weaDatInpCon.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 (169): * Single equations (assignments): 167 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,2), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.000734/1.014, allocations: 407.4 kB / 0.8806 GB, free: 166.8 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003353/1.015, allocations: 172 kB / 0.8808 GB, free: 166.7 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00478/1.019, allocations: 2.167 MB / 0.8829 GB, free: 165.5 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.018e-05/1.02, allocations: 19.55 kB / 0.8829 GB, free: 165.5 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.792e-06/1.02, allocations: 1.094 kB / 0.8829 GB, free: 165.5 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.606e-05/1.02, allocations: 7.969 kB / 0.8829 GB, free: 165.5 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002019/1.022, allocations: 1.631 MB / 0.8845 GB, free: 164.4 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.132e-06/1.022, allocations: 0 / 0.8845 GB, free: 164.4 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001096/1.023, allocations: 291.4 kB / 0.8848 GB, free: 164.3 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008204/1.023, allocations: 144.7 kB / 0.8849 GB, free: 164.3 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001217/1.024, allocations: 52.42 kB / 0.885 GB, free: 164.2 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003112/1.027, allocations: 3.343 MB / 0.8882 GB, free: 161 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/1.027, allocations: 0 / 0.8882 GB, free: 161 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003931/1.031, allocations: 1.832 MB / 0.89 GB, free: 160 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009432/1.032, allocations: 475.8 kB / 0.8905 GB, free: 159.7 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002342/1.032, allocations: 45.3 kB / 0.8905 GB, free: 159.6 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00113/1.033, allocations: 130.8 kB / 0.8906 GB, free: 159.6 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002615/1.033, allocations: 139.3 kB / 0.8908 GB, free: 159.5 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000125/1.033, allocations: 68.92 kB / 0.8908 GB, free: 159.5 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.001065/1.034, allocations: 0.8103 MB / 0.8916 GB, free: 159 MB / 0.67 GB Notification: Performance of sort global known variables: time 8e-08/1.034, allocations: 1.125 kB / 0.8916 GB, free: 159 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.001422/1.036, allocations: 0.5251 MB / 0.8921 GB, free: 158.9 MB / 0.67 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 20 ($whenCondition10,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDatInpCon.locTim.tNext,weaDatInpCon.conTimMin.tNext,weaDatInpCon.conTim.tNext,weaDatInpCon.eqnTim.tNext,weaDatInpCon.decAng.tNext) * Number of discrete states: 10 (weaDatInpCon.locTim.tNext,weaDatInpCon.conTimMin.tNext,weaDatInpCon.conTim.tNext,weaDatInpCon.eqnTim.tNext,weaDatInpCon.decAng.tNext,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 (179): * Single equations (assignments): 167 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,3), (1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.005486/1.041, allocations: 2.937 MB / 0.895 GB, free: 157.3 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.003017/1.044, allocations: 1.555 MB / 0.8965 GB, free: 156.4 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 5.961e-06/1.044, allocations: 1.375 kB / 0.8965 GB, free: 156.4 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.00164/1.046, allocations: 0.9841 MB / 0.8975 GB, free: 155.9 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002082/1.048, allocations: 0.5937 MB / 0.8981 GB, free: 155.6 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0167/1.065, allocations: 11.23 MB / 0.909 GB, free: 145.6 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000708/1.065, allocations: 1.337 MB / 0.9103 GB, free: 144.2 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.001587/1.067, allocations: 0.5127 MB / 0.9108 GB, free: 143.7 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007979/1.068, allocations: 0.7413 MB / 0.9116 GB, free: 142.9 MB / 0.67 GB Notification: Performance of SimCode: time 7.71e-07/1.068, allocations: 0 / 0.9116 GB, free: 142.9 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07609/1.144, allocations: 39.94 MB / 0.9506 GB, free: 103.5 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.68/15.83, allocations: 7.75 kB / 0.9506 GB, free: 103.4 MB / 0.67 GB " [Timeout remaining time 644] (rm -f IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.Examples.ReaderTMY3.pipe ; mkfifo IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.Examples.ReaderTMY3.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.Examples.ReaderTMY3.pipe >> ../files/IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.Examples.ReaderTMY3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_BoundaryConditions_WeatherData_Examples_ReaderTMY3_fmu --startTime=0 --stopTime=8.64e+06 --stepSize=3456 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_BoundaryConditions_WeatherData_Examples_ReaderTMY3.fmu > IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.Examples.ReaderTMY3.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 19.56127954320982] Failed to read output from testmodel.py, exit status != 0: 16.072560244705528 16.092045936 15.477392095999999 Calling exit ...