Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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: translateModel(BuildingSystems.BoundaryConditions.WeatherData.Examples.ReaderTMY3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.Examples.ReaderTMY3") translateModel(BuildingSystems.BoundaryConditions.WeatherData.Examples.ReaderTMY3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.Examples.ReaderTMY3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001524/0.001524, allocations: 106.7 kB / 16.41 MB, free: 6.492 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.001548/0.001547, allocations: 189.5 kB / 17.34 MB, free: 5.766 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.431/1.431, allocations: 222.9 MB / 241 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002148/0.002148, allocations: 287.3 kB / 291.5 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9711/0.9711, allocations: 169.3 MB / 0.499 GB, free: 4.418 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001968/0.001968, allocations: 95.84 kB / 0.6821 GB, free: 7.004 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5169/0.5189, allocations: 86.98 MB / 0.767 GB, free: 3.934 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.Examples.ReaderTMY3): time 0.009167/0.5281, allocations: 6.696 MB / 0.7735 GB, free: 13.21 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.1782/0.7064, allocations: 153.4 MB / 0.9233 GB, free: 3.211 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001668/0.7081, allocations: 35.81 kB / 0.9234 GB, free: 3.176 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.0009666/0.7091, allocations: 332.9 kB / 0.9237 GB, free: 2.848 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.002637/0.7118, allocations: 0.7269 MB / 0.9244 GB, free: 2.121 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.003125/0.7149, allocations: 1.374 MB / 0.9258 GB, free: 0.7617 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.0028/0.7177, allocations: 2.57 MB / 0.9283 GB, free: 14.18 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001503/0.7192, allocations: 1.088 MB / 0.9293 GB, free: 13.05 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001693/0.7209, allocations: 0.8837 MB / 0.9302 GB, free: 12.16 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001363/0.7223, allocations: 0.8984 MB / 0.9311 GB, free: 11.25 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 0.0003228/0.7226, allocations: 212 kB / 0.9313 GB, free: 11.05 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002044/0.7247, allocations: 0.9715 MB / 0.9322 GB, free: 10.07 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.0005305/0.7252, allocations: 0.5412 MB / 0.9327 GB, free: 9.531 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.00103/0.7263, allocations: 1.003 MB / 0.9337 GB, free: 8.523 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.004192/0.7305, allocations: 2.97 MB / 0.9366 GB, free: 5.547 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 8.135e-06/0.7305, allocations: 4 kB / 0.9366 GB, free: 5.543 MB / 0.7012 GB Notification: Performance of FrontEnd: time 2.555e-06/0.7305, allocations: 0 / 0.9366 GB, free: 5.543 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 6.353e-05/0.7306, allocations: 0 / 0.9366 GB, free: 5.543 MB / 0.7012 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.005726/0.7363, allocations: 2.35 MB / 0.9389 GB, free: 3.129 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 6.354e-05/0.7364, allocations: 11.97 kB / 0.9389 GB, free: 3.117 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002104/0.7385, allocations: 382 kB / 0.9393 GB, free: 2.742 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002047/0.7406, allocations: 1.326 MB / 0.9406 GB, free: 1.359 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.237e-05/0.7407, allocations: 102.9 kB / 0.9407 GB, free: 1.258 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001805/0.7409, allocations: 140 kB / 0.9408 GB, free: 1.121 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00275/0.7436, allocations: 1.654 MB / 0.9424 GB, free: 15.38 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.768e-05/0.7437, allocations: 4 kB / 0.9424 GB, free: 15.37 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001444/0.7438, allocations: 67.98 kB / 0.9425 GB, free: 15.3 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.556e-05/0.7438, allocations: 32 kB / 0.9425 GB, free: 15.27 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003284/0.7471, allocations: 2.154 MB / 0.9446 GB, free: 13.12 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007211/0.7544, allocations: 4.671 MB / 0.9492 GB, free: 8.352 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003005/0.7574, allocations: 1.606 MB / 0.9508 GB, free: 6.738 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001046/0.7585, allocations: 0.5872 MB / 0.9513 GB, free: 6.141 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001125/0.7586, allocations: 65.2 kB / 0.9514 GB, free: 6.078 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001634/0.7602, allocations: 0.9461 MB / 0.9523 GB, free: 5.109 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=154): time 2.915e-06/0.7602, allocations: 0 / 0.9523 GB, free: 5.109 MB / 0.7169 GB Notification: Performance of matching and sorting (n=154): time 0.006365/0.7666, allocations: 2.37 MB / 0.9546 GB, free: 2.695 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001778/0.7668, allocations: 363.4 kB / 0.955 GB, free: 2.262 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001666/0.7685, allocations: 1.158 MB / 0.9561 GB, free: 1.094 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0001918/0.7687, allocations: 61.69 kB / 0.9562 GB, free: 1.027 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005369/0.7693, allocations: 0.6502 MB / 0.9568 GB, free: 376 kB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.4014/1.171, allocations: 494.3 kB / 0.9573 GB, free: 187.3 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008284/1.171, allocations: 317.2 kB / 0.9576 GB, free: 187.3 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.426e-05/1.172, allocations: 302.6 kB / 0.9579 GB, free: 187 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001439/1.173, allocations: 0.5323 MB / 0.9584 GB, free: 187 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001616/1.175, allocations: 0.7341 MB / 0.9591 GB, free: 186.7 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002702/1.177, allocations: 1.241 MB / 0.9603 GB, free: 186.2 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.626e-06/1.177, allocations: 4.281 kB / 0.9603 GB, free: 186.2 MB / 0.7169 GB Notification: Performance of matching and sorting (n=189) (initialization): time 0.004239/1.182, allocations: 1.694 MB / 0.962 GB, free: 185.6 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.18e-05/1.182, allocations: 6.469 kB / 0.962 GB, free: 185.6 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.249e-05/1.182, allocations: 2.219 kB / 0.962 GB, free: 185.6 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001161/1.183, allocations: 171.8 kB / 0.9622 GB, free: 185.6 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001485/1.184, allocations: 321 kB / 0.9625 GB, free: 185.5 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003584/1.188, allocations: 3.294 MB / 0.9657 GB, free: 182.5 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001786/1.19, allocations: 184.7 kB / 0.9659 GB, free: 182.5 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001806/1.19, allocations: 77.94 kB / 0.9659 GB, free: 182.4 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 34 (weaDatInpCon.conTim.canRepeatWeatherFile,weaDatInpCon.conTimMin.canRepeatWeatherFile,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,weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,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) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (185): * Single equations (assignments): 183 * 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.0008903/1.191, allocations: 418 kB / 0.9663 GB, free: 182.2 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003924/1.191, allocations: 165.3 kB / 0.9665 GB, free: 182.1 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005363/1.197, allocations: 2.168 MB / 0.9686 GB, free: 181.3 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.095e-05/1.197, allocations: 18.06 kB / 0.9686 GB, free: 181.3 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.677e-06/1.197, allocations: 3.391 kB / 0.9686 GB, free: 181.3 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.74e-05/1.197, allocations: 10.06 kB / 0.9686 GB, free: 181.3 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002261/1.199, allocations: 1.606 MB / 0.9702 GB, free: 180.6 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.674e-06/1.199, allocations: 3.938 kB / 0.9702 GB, free: 180.6 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001117/1.2, allocations: 294.1 kB / 0.9705 GB, free: 180.6 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008477/1.201, allocations: 145.5 kB / 0.9706 GB, free: 180.5 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001216/1.201, allocations: 54.09 kB / 0.9707 GB, free: 180.5 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002989/1.204, allocations: 3.344 MB / 0.9739 GB, free: 177.4 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/1.204, allocations: 64 / 0.9739 GB, free: 177.4 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003735/1.208, allocations: 1.818 MB / 0.9757 GB, free: 176.6 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006853/1.209, allocations: 471.4 kB / 0.9762 GB, free: 176.3 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002325/1.209, allocations: 37.77 kB / 0.9762 GB, free: 176.3 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001112/1.21, allocations: 137.4 kB / 0.9763 GB, free: 176.3 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002309/1.21, allocations: 141.1 kB / 0.9765 GB, free: 176.3 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001105/1.21, allocations: 68.53 kB / 0.9765 GB, free: 176.2 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.000987/1.211, allocations: 0.8065 MB / 0.9773 GB, free: 175.8 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.4e-07/1.211, allocations: 1.203 kB / 0.9773 GB, free: 175.8 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.001371/1.213, allocations: 0.5119 MB / 0.9778 GB, free: 175.3 MB / 0.7169 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.001296/1.214, allocations: 0.6478 MB / 0.9785 GB, free: 174.9 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.003008/1.217, allocations: 1.683 MB / 0.9801 GB, free: 173.4 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 6.041e-06/1.217, allocations: 0 / 0.9801 GB, free: 173.4 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.001565/1.219, allocations: 1.043 MB / 0.9811 GB, free: 172.3 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002265/1.221, allocations: 0.5656 MB / 0.9817 GB, free: 171.8 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006213/1.227, allocations: 3.318 MB / 0.9849 GB, free: 168.5 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005724/1.228, allocations: 1.334 MB / 0.9862 GB, free: 167.1 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008699/1.229, allocations: 227.2 kB / 0.9864 GB, free: 166.9 MB / 0.7169 GB Notification: Performance of SimCode: time 7.22e-07/1.229, allocations: 0 / 0.9864 GB, free: 166.9 MB / 0.7169 GB Notification: Performance of Templates: time 0.03905/1.268, allocations: 40.69 MB / 1.026 GB, free: 126.3 MB / 0.7169 GB make -j1 -f BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.Examples.ReaderTMY3.makefile (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.Examples.ReaderTMY3.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.Examples.ReaderTMY3.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.Examples.ReaderTMY3.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.Examples.ReaderTMY3.sim & ./BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.Examples.ReaderTMY3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.Examples.ReaderTMY3.pipe 2>&1)