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.00116/0.00116, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001112/0.001112, allocations: 204.9 kB / 16.79 MB, free: 6.84 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.181/1.181, allocations: 222.9 MB / 240.5 MB, free: 4.59 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6084/0.6084, allocations: 115.3 MB / 406 MB, free: 2.812 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001133/0.001133, allocations: 63.03 kB / 493 MB, free: 6.766 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1146/0.1158, allocations: 76.19 MB / 0.5558 GB, free: 10.78 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.WeatherData.Examples.ReaderTMY3): time 0.007459/0.1233, allocations: 7.133 MB / 0.5628 GB, free: 3.617 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.3293/0.4526, allocations: 151.1 MB / 0.7104 GB, free: 8.523 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001121/0.4538, allocations: 31.81 kB / 0.7104 GB, free: 8.492 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0009274/0.4547, allocations: 274 kB / 0.7107 GB, free: 8.227 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.001955/0.4567, allocations: 0.6591 MB / 0.7113 GB, free: 7.59 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.002319/0.4591, allocations: 1.233 MB / 0.7125 GB, free: 6.375 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.001842/0.4609, allocations: 2.472 MB / 0.7149 GB, free: 3.895 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001093/0.462, allocations: 1.006 MB / 0.7159 GB, free: 2.855 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000675/0.4627, allocations: 0.7548 MB / 0.7166 GB, free: 2.098 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007226/0.4634, allocations: 0.8492 MB / 0.7175 GB, free: 1.246 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0001872/0.4636, allocations: 92 kB / 0.7175 GB, free: 1.152 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001146/0.4648, allocations: 0.827 MB / 0.7184 GB, free: 332 kB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0003343/0.4651, allocations: 438.3 kB / 0.7188 GB, free: 15.89 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0006469/0.4658, allocations: 0.9009 MB / 0.7197 GB, free: 14.99 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.00207/0.4679, allocations: 2.818 MB / 0.7224 GB, free: 12.16 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.517e-06/0.4679, allocations: 0 / 0.7224 GB, free: 12.16 MB / 0.545 GB Notification: Performance of FrontEnd: time 8.62e-07/0.4679, allocations: 0 / 0.7224 GB, free: 12.16 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.521e-05/0.4679, allocations: 4 kB / 0.7224 GB, free: 12.16 MB / 0.545 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.003669/0.4716, allocations: 2.382 MB / 0.7247 GB, free: 9.715 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.337e-05/0.4716, allocations: 12.02 kB / 0.7247 GB, free: 9.703 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002185/0.4718, allocations: 215.4 kB / 0.725 GB, free: 9.48 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001726/0.4736, allocations: 373.9 kB / 0.7253 GB, free: 9.117 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001507/0.4751, allocations: 1.276 MB / 0.7266 GB, free: 7.785 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.091e-05/0.4752, allocations: 118.8 kB / 0.7267 GB, free: 7.668 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001552/0.4753, allocations: 136 kB / 0.7268 GB, free: 7.535 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002489/0.4778, allocations: 1.654 MB / 0.7284 GB, free: 5.789 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.227e-05/0.4779, allocations: 0 / 0.7284 GB, free: 5.789 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001295/0.478, allocations: 60 kB / 0.7285 GB, free: 5.73 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.684e-05/0.478, allocations: 43.98 kB / 0.7285 GB, free: 5.688 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003109/0.4811, allocations: 2.142 MB / 0.7306 GB, free: 3.543 MB / 0.545 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006252/0.4874, allocations: 4.957 MB / 0.7354 GB, free: 14.45 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002847/0.4903, allocations: 1.624 MB / 0.737 GB, free: 12.82 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001014/0.4913, allocations: 0.5912 MB / 0.7376 GB, free: 12.22 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001121/0.4914, allocations: 57.22 kB / 0.7377 GB, free: 12.17 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001553/0.493, allocations: 0.9422 MB / 0.7386 GB, free: 11.2 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=154): time 2.374e-06/0.493, allocations: 0 / 0.7386 GB, free: 11.2 MB / 0.5606 GB Notification: Performance of matching and sorting (n=154): time 0.005773/0.4988, allocations: 2.374 MB / 0.7409 GB, free: 8.777 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001311/0.4989, allocations: 355.5 kB / 0.7412 GB, free: 8.352 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001272/0.5002, allocations: 1.163 MB / 0.7424 GB, free: 7.168 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0001006/0.5003, allocations: 61.7 kB / 0.7424 GB, free: 7.102 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004291/0.5007, allocations: 0.6661 MB / 0.7431 GB, free: 6.426 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003131/0.5011, allocations: 492.9 kB / 0.7436 GB, free: 5.938 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000373/0.5014, allocations: 283.3 kB / 0.7438 GB, free: 5.656 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001164/0.5016, allocations: 353.9 kB / 0.7442 GB, free: 5.305 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009736/0.5025, allocations: 0.4919 MB / 0.7446 GB, free: 4.812 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001166/0.5037, allocations: 0.7298 MB / 0.7454 GB, free: 4.016 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002066/0.5058, allocations: 1.18 MB / 0.7465 GB, free: 2.809 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/0.5058, allocations: 0 / 0.7465 GB, free: 2.809 MB / 0.5606 GB Notification: Performance of matching and sorting (n=173) (initialization): time 0.003501/0.5093, allocations: 1.59 MB / 0.7481 GB, free: 1.199 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.56e-05/0.5093, allocations: 7.984 kB / 0.7481 GB, free: 1.191 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.466e-06/0.5093, allocations: 4 kB / 0.7481 GB, free: 1.188 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00108/0.5104, allocations: 173.8 kB / 0.7482 GB, free: 1.012 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001142/0.5116, allocations: 303.5 kB / 0.7485 GB, free: 0.7148 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003472/0.5151, allocations: 3.069 MB / 0.7515 GB, free: 13.37 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001142/0.5162, allocations: 181.8 kB / 0.7517 GB, free: 13.19 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001042/0.5163, allocations: 68.02 kB / 0.7518 GB, free: 13.12 MB / 0.5762 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.0005344/0.5169, allocations: 413.4 kB / 0.7522 GB, free: 12.71 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002645/0.5171, allocations: 162 kB / 0.7523 GB, free: 12.55 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004607/0.5218, allocations: 2.177 MB / 0.7544 GB, free: 10.36 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.496e-05/0.5218, allocations: 20 kB / 0.7545 GB, free: 10.34 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.317e-06/0.5218, allocations: 0 / 0.7545 GB, free: 10.34 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.421e-05/0.5218, allocations: 7.969 kB / 0.7545 GB, free: 10.33 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001629/0.5234, allocations: 1.62 MB / 0.756 GB, free: 8.652 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.933e-06/0.5235, allocations: 4.031 kB / 0.7561 GB, free: 8.648 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001066/0.5245, allocations: 291.5 kB / 0.7563 GB, free: 8.363 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009341/0.5255, allocations: 173.5 kB / 0.7565 GB, free: 8.188 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.172e-05/0.5256, allocations: 47.97 kB / 0.7565 GB, free: 8.141 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003205/0.5288, allocations: 3.111 MB / 0.7596 GB, free: 4.75 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.5288, allocations: 3.938 kB / 0.7596 GB, free: 4.746 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003548/0.5324, allocations: 1.824 MB / 0.7614 GB, free: 2.898 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005357/0.5329, allocations: 474.4 kB / 0.7618 GB, free: 2.414 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002051/0.5331, allocations: 44.08 kB / 0.7619 GB, free: 2.371 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001129/0.5343, allocations: 131.8 kB / 0.762 GB, free: 2.242 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002331/0.5345, allocations: 137.7 kB / 0.7621 GB, free: 2.105 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001182/0.5346, allocations: 75.95 kB / 0.7622 GB, free: 2.031 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0009175/0.5355, allocations: 0.8069 MB / 0.763 GB, free: 1.223 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5355, allocations: 0 / 0.763 GB, free: 1.223 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001017/0.5366, allocations: 0.5145 MB / 0.7635 GB, free: 0.707 MB / 0.5762 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.004941/0.5415, allocations: 2.925 MB / 0.7663 GB, free: 13.93 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.002787/0.5443, allocations: 1.602 MB / 0.7679 GB, free: 12.3 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.5443, allocations: 0 / 0.7679 GB, free: 12.3 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.001735/0.5461, allocations: 1.051 MB / 0.7689 GB, free: 11.22 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001829/0.5479, allocations: 0.5159 MB / 0.7694 GB, free: 10.71 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02033/0.5683, allocations: 12.77 MB / 0.7819 GB, free: 13.52 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007572/0.569, allocations: 1.34 MB / 0.7832 GB, free: 12.15 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.001448/0.5705, allocations: 0.5127 MB / 0.7837 GB, free: 11.63 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009148/0.5714, allocations: 0.7335 MB / 0.7844 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of SimCode: time 2.11e-07/0.5714, allocations: 0 / 0.7844 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 5.82/6.392, allocations: 37.93 MB / 0.8215 GB, free: 5.477 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002387/6.392, allocations: 279.9 kB / 0.8217 GB, free: 5.102 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.692/10.08, allocations: 0 / 0.8217 GB, free: 5.102 MB / 0.6387 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_BoundaryConditions_WeatherData_Examples_ReaderTMY3_fmu --startTime=0 --stopTime=8.64e+06 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_BoundaryConditions_WeatherData_Examples_ReaderTMY3.fmu > IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.Examples.ReaderTMY3.pipe 2>&1)