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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001842/0.001842, allocations: 107.8 kB / 16.4 MB, free: 6.461 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001802/0.001802, allocations: 189.2 kB / 17.34 MB, free: 5.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.4/1.4, allocations: 222.9 MB / 241 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.804/0.804, allocations: 126.7 MB / 417.9 MB, free: 12.28 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002956/0.002956, allocations: 61.66 kB / 0.5735 GB, free: 27.05 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1567/0.1597, allocations: 78.87 MB / 0.6505 GB, free: 3.637 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.WeatherData.Examples.ReaderTMY3): time 0.01004/0.1697, allocations: 7.184 MB / 0.6575 GB, free: 12.42 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.4533/0.6231, allocations: 153.4 MB / 0.8074 GB, free: 11.94 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001364/0.6245, allocations: 33.72 kB / 0.8074 GB, free: 11.93 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.00108/0.6256, allocations: 347.4 kB / 0.8077 GB, free: 11.75 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.002549/0.6282, allocations: 0.7655 MB / 0.8085 GB, free: 11.48 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002761/0.631, allocations: 1.39 MB / 0.8098 GB, free: 11.38 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.002627/0.6336, allocations: 2.66 MB / 0.8124 GB, free: 10.93 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001262/0.6349, allocations: 1.037 MB / 0.8135 GB, free: 10.68 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001105/0.636, allocations: 0.878 MB / 0.8143 GB, free: 10.46 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001013/0.637, allocations: 0.9162 MB / 0.8152 GB, free: 10.09 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.000281/0.6373, allocations: 211.1 kB / 0.8154 GB, free: 10.09 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001574/0.6389, allocations: 0.9715 MB / 0.8164 GB, free: 9.809 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0005146/0.6394, allocations: 0.5399 MB / 0.8169 GB, free: 9.395 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0009726/0.6404, allocations: 1.022 MB / 0.8179 GB, free: 8.652 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.003416/0.6438, allocations: 3.016 MB / 0.8208 GB, free: 6.605 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.6439, allocations: 0 / 0.8208 GB, free: 6.605 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.673e-06/0.6439, allocations: 4 kB / 0.8208 GB, free: 6.602 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 3.552e-05/0.6439, allocations: 0 / 0.8208 GB, free: 6.602 MB / 0.5919 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.004246/0.6482, allocations: 2.442 MB / 0.8232 GB, free: 4.746 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.897e-05/0.6482, allocations: 13.89 kB / 0.8232 GB, free: 4.742 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002587/0.6485, allocations: 212.4 kB / 0.8234 GB, free: 4.574 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001915/0.6504, allocations: 385 kB / 0.8238 GB, free: 4.387 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002016/0.6524, allocations: 1.332 MB / 0.8251 GB, free: 3.371 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.67e-05/0.6525, allocations: 111.8 kB / 0.8252 GB, free: 3.32 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001687/0.6527, allocations: 144.8 kB / 0.8253 GB, free: 3.27 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002857/0.6556, allocations: 1.656 MB / 0.827 GB, free: 2.18 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.996e-05/0.6556, allocations: 0 / 0.827 GB, free: 2.18 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000147/0.6558, allocations: 65.44 kB / 0.827 GB, free: 2.133 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.237e-05/0.6558, allocations: 35.28 kB / 0.8271 GB, free: 2.133 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003472/0.6593, allocations: 2.148 MB / 0.8292 GB, free: 1.102 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007627/0.6669, allocations: 4.926 MB / 0.834 GB, free: 13.29 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003242/0.6702, allocations: 1.602 MB / 0.8355 GB, free: 12.48 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001138/0.6713, allocations: 0.5902 MB / 0.8361 GB, free: 12.17 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001219/0.6715, allocations: 62.23 kB / 0.8362 GB, free: 12.15 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001748/0.6732, allocations: 0.9403 MB / 0.8371 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=154): time 3.286e-06/0.6732, allocations: 0 / 0.8371 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of matching and sorting (n=154): time 0.006474/0.6797, allocations: 2.383 MB / 0.8394 GB, free: 10.28 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002093/0.6799, allocations: 357.2 kB / 0.8398 GB, free: 9.867 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001603/0.6816, allocations: 1.167 MB / 0.8409 GB, free: 9.09 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.000132/0.6817, allocations: 61.69 kB / 0.841 GB, free: 9.023 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006433/0.6823, allocations: 0.6672 MB / 0.8416 GB, free: 8.348 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.000483/0.6828, allocations: 0.5108 MB / 0.8421 GB, free: 7.848 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004626/0.6833, allocations: 283.4 kB / 0.8424 GB, free: 7.566 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001864/0.6835, allocations: 357.9 kB / 0.8427 GB, free: 7.211 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001175/0.6847, allocations: 0.4945 MB / 0.8432 GB, free: 6.719 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001448/0.6861, allocations: 0.719 MB / 0.8439 GB, free: 5.938 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002541/0.6887, allocations: 1.192 MB / 0.8451 GB, free: 4.711 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.188e-06/0.6887, allocations: 0 / 0.8451 GB, free: 4.711 MB / 0.6075 GB Notification: Performance of matching and sorting (n=173) (initialization): time 0.004255/0.693, allocations: 1.595 MB / 0.8466 GB, free: 3.102 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.205e-05/0.693, allocations: 8 kB / 0.8466 GB, free: 3.094 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.638e-06/0.693, allocations: 288 / 0.8466 GB, free: 3.094 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001174/0.6942, allocations: 173.5 kB / 0.8468 GB, free: 2.918 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001295/0.6955, allocations: 303.5 kB / 0.8471 GB, free: 2.621 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004467/0.7, allocations: 3.296 MB / 0.8503 GB, free: 15.04 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001527/0.7015, allocations: 181.5 kB / 0.8505 GB, free: 14.86 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001332/0.7017, allocations: 59.97 kB / 0.8505 GB, free: 14.8 MB / 0.6231 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.0007947/0.7025, allocations: 413.6 kB / 0.8509 GB, free: 14.39 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003523/0.7028, allocations: 170.9 kB / 0.8511 GB, free: 14.22 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005308/0.7082, allocations: 2.166 MB / 0.8532 GB, free: 12.04 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.488e-05/0.7082, allocations: 23.75 kB / 0.8532 GB, free: 12.02 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.7082, allocations: 0 / 0.8532 GB, free: 12.02 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.393e-05/0.7082, allocations: 23.89 kB / 0.8533 GB, free: 11.99 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0022/0.7104, allocations: 1.626 MB / 0.8548 GB, free: 10.35 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.61e-06/0.7105, allocations: 0 / 0.8548 GB, free: 10.35 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001208/0.7117, allocations: 287.6 kB / 0.8551 GB, free: 10.07 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008952/0.7126, allocations: 141.6 kB / 0.8552 GB, free: 9.926 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001203/0.7127, allocations: 55.94 kB / 0.8553 GB, free: 9.871 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004212/0.7169, allocations: 3.341 MB / 0.8586 GB, free: 6.242 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.26e-06/0.717, allocations: 3.984 kB / 0.8586 GB, free: 6.238 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004466/0.7214, allocations: 1.839 MB / 0.8604 GB, free: 4.379 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008267/0.7223, allocations: 475.3 kB / 0.8608 GB, free: 3.895 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002421/0.7225, allocations: 40 kB / 0.8609 GB, free: 3.855 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001232/0.7238, allocations: 131.8 kB / 0.861 GB, free: 3.727 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003008/0.7241, allocations: 145.7 kB / 0.8611 GB, free: 3.582 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001407/0.7242, allocations: 67.95 kB / 0.8612 GB, free: 3.516 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.001234/0.7255, allocations: 0.8108 MB / 0.862 GB, free: 2.703 MB / 0.6231 GB Notification: Performance of sort global known variables: time 2.01e-07/0.7255, allocations: 0 / 0.862 GB, free: 2.703 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.001335/0.7268, allocations: 0.5145 MB / 0.8625 GB, free: 2.188 MB / 0.6231 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.006659/0.7335, allocations: 2.947 MB / 0.8654 GB, free: 15.41 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.003555/0.7371, allocations: 1.602 MB / 0.8669 GB, free: 13.79 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 6.242e-06/0.7371, allocations: 4 kB / 0.8669 GB, free: 13.78 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.002073/0.7392, allocations: 1.049 MB / 0.868 GB, free: 12.71 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002519/0.7417, allocations: 0.5707 MB / 0.8685 GB, free: 12.18 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02116/0.7629, allocations: 11.24 MB / 0.8795 GB, free: 0.7305 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001099/0.764, allocations: 1.329 MB / 0.8808 GB, free: 15.37 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.001751/0.7658, allocations: 0.5244 MB / 0.8813 GB, free: 14.84 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00115/0.7669, allocations: 0.7296 MB / 0.882 GB, free: 14.11 MB / 0.6544 GB Notification: Performance of SimCode: time 6.61e-07/0.7669, allocations: 0 / 0.882 GB, free: 14.11 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08742/0.8544, allocations: 39.74 MB / 0.9208 GB, free: 6.785 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.39/15.24, allocations: 2.875 kB / 0.9208 GB, free: 6.785 MB / 0.6856 GB (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 & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.Examples.ReaderTMY3_res.csv --start-time 0 --stop-time 8.64e+06 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 3456 IBPSA_latest_IBPSA_BoundaryConditions_WeatherData_Examples_ReaderTMY3.fmu > IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.Examples.ReaderTMY3.pipe 2>&1)