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.0007607/0.0007607, allocations: 91.53 kB / 15.06 MB, free: 1.098 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.0008606/0.0008606, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.357/1.357, allocations: 223.3 MB / 240 MB, free: 5.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001821/0.001821, allocations: 266.5 kB / 291.3 MB, free: 1.961 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9783/0.9783, allocations: 169.5 MB / 0.5 GB, free: 14.21 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005289/0.0005293, allocations: 12.88 kB / 0.598 GB, free: 28.2 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1648/0.1653, allocations: 88.55 MB / 0.6845 GB, free: 15.46 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.Examples.ReaderTMY3): time 0.0073/0.1727, allocations: 5.778 MB / 0.6901 GB, free: 9.664 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.459/0.6317, allocations: 139.4 MB / 0.8262 GB, free: 15.04 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001184/0.633, allocations: 32.84 kB / 0.8263 GB, free: 15.03 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0006663/0.6336, allocations: 249.2 kB / 0.8265 GB, free: 14.91 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.002069/0.6357, allocations: 0.5882 MB / 0.8271 GB, free: 14.63 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002847/0.6386, allocations: 1.04 MB / 0.8281 GB, free: 14.28 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002505/0.6411, allocations: 2.211 MB / 0.8303 GB, free: 13.62 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00106/0.6422, allocations: 0.7677 MB / 0.831 GB, free: 13.33 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009664/0.6431, allocations: 0.6131 MB / 0.8316 GB, free: 13.09 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007231/0.6439, allocations: 0.6835 MB / 0.8323 GB, free: 12.75 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001275/0.644, allocations: 49.12 kB / 0.8323 GB, free: 12.75 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001451/0.6455, allocations: 0.7462 MB / 0.8331 GB, free: 12.52 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002947/0.6458, allocations: 349.2 kB / 0.8334 GB, free: 12.36 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0002662/0.646, allocations: 340.5 kB / 0.8337 GB, free: 12.27 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001963/0.648, allocations: 2.137 MB / 0.8358 GB, free: 11.02 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.648, allocations: 2.938 kB / 0.8358 GB, free: 11.02 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.633e-06/0.648, allocations: 4 kB / 0.8358 GB, free: 11.01 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 2.646e-05/0.6481, allocations: 0 / 0.8358 GB, free: 11.01 MB / 0.5606 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.003572/0.6516, allocations: 1.992 MB / 0.8378 GB, free: 9.629 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.737e-05/0.6517, allocations: 9 kB / 0.8378 GB, free: 9.629 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001755/0.6534, allocations: 394.4 kB / 0.8381 GB, free: 9.449 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001631/0.6551, allocations: 1.218 MB / 0.8393 GB, free: 8.75 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.287e-05/0.6552, allocations: 110.9 kB / 0.8394 GB, free: 8.699 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001553/0.6553, allocations: 138 kB / 0.8396 GB, free: 8.656 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002686/0.658, allocations: 1.652 MB / 0.8412 GB, free: 7.566 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.999e-05/0.6581, allocations: 11.92 kB / 0.8412 GB, free: 7.555 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001556/0.6582, allocations: 64.72 kB / 0.8413 GB, free: 7.508 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.767e-05/0.6583, allocations: 35.5 kB / 0.8413 GB, free: 7.508 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003287/0.6616, allocations: 2.148 MB / 0.8434 GB, free: 6.48 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006797/0.6684, allocations: 4.817 MB / 0.8481 GB, free: 2.859 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002881/0.6713, allocations: 1.613 MB / 0.8497 GB, free: 2.039 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001007/0.6723, allocations: 0.5968 MB / 0.8502 GB, free: 1.73 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000121/0.6724, allocations: 60.73 kB / 0.8503 GB, free: 1.699 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001585/0.674, allocations: 0.9405 MB / 0.8512 GB, free: 1.117 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=154): time 3.016e-06/0.6741, allocations: 3.938 kB / 0.8512 GB, free: 1.113 MB / 0.5606 GB Notification: Performance of matching and sorting (n=154): time 0.005703/0.6798, allocations: 2.398 MB / 0.8536 GB, free: 15.82 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001504/0.6799, allocations: 351.8 kB / 0.8539 GB, free: 15.42 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001457/0.6814, allocations: 1.157 MB / 0.855 GB, free: 14.77 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001112/0.6815, allocations: 56.83 kB / 0.8551 GB, free: 14.72 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005175/0.682, allocations: 0.6584 MB / 0.8557 GB, free: 14.14 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003766/0.6824, allocations: 496.3 kB / 0.8562 GB, free: 13.71 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.123e-05/0.6825, allocations: 28.56 kB / 0.8562 GB, free: 13.68 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001407/0.6827, allocations: 366.8 kB / 0.8566 GB, free: 13.34 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001036/0.6837, allocations: 0.533 MB / 0.8571 GB, free: 13.07 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001226/0.6849, allocations: 0.7374 MB / 0.8578 GB, free: 12.61 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001168/0.6861, allocations: 0.6102 MB / 0.8584 GB, free: 12.3 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.269e-06/0.6861, allocations: 0 / 0.8584 GB, free: 12.3 MB / 0.5762 GB Notification: Performance of matching and sorting (n=189) (initialization): time 0.003642/0.6898, allocations: 1.705 MB / 0.8601 GB, free: 11.45 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.116e-05/0.6898, allocations: 8.219 kB / 0.8601 GB, free: 11.45 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.068e-05/0.6898, allocations: 3.312 kB / 0.8601 GB, free: 11.45 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009766/0.6908, allocations: 170.2 kB / 0.8603 GB, free: 11.36 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001275/0.6921, allocations: 329.1 kB / 0.8606 GB, free: 11.28 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004025/0.6961, allocations: 3.069 MB / 0.8636 GB, free: 7.941 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001648/0.6978, allocations: 213.3 kB / 0.8638 GB, free: 7.734 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002425/0.6981, allocations: 71.95 kB / 0.8638 GB, free: 7.664 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: 34 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.weaDatInpCon.locTim.tNext,weaDatInpCon.locTim.tNext,$PRE.weaDatInpCon.conTimMin.tNext,weaDatInpCon.conTimMin.tNext,$PRE.weaDatInpCon.conTim.tNext,weaDatInpCon.conTim.tNext,$PRE.weaDatInpCon.eqnTim.tNext,weaDatInpCon.eqnTim.tNext,$PRE.weaDatInpCon.decAng.tNext,weaDatInpCon.decAng.tNext,weaDatInpCon.conTimMin.canRepeatWeatherFile,weaDatInpCon.conTim.canRepeatWeatherFile,$whenCondition10,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$PRE.weaDat.locTim.tNext,weaDat.locTim.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.decAng.tNext,weaDat.decAng.tNext,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.canRepeatWeatherFile) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 2,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.001002/0.6991, allocations: 418.1 kB / 0.8642 GB, free: 7.246 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003827/0.6995, allocations: 158 kB / 0.8644 GB, free: 7.09 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005145/0.7046, allocations: 2.208 MB / 0.8665 GB, free: 4.867 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.798e-05/0.7046, allocations: 16 kB / 0.8666 GB, free: 4.852 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.614e-06/0.7047, allocations: 8 kB / 0.8666 GB, free: 4.844 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.892e-05/0.7047, allocations: 7.969 kB / 0.8666 GB, free: 4.836 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002233/0.7069, allocations: 1.612 MB / 0.8682 GB, free: 3.164 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.248e-05/0.7069, allocations: 0 / 0.8682 GB, free: 3.164 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00112/0.7081, allocations: 291.6 kB / 0.8684 GB, free: 2.879 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009543/0.709, allocations: 169.5 kB / 0.8686 GB, free: 2.707 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001365/0.7092, allocations: 51.95 kB / 0.8686 GB, free: 2.656 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003505/0.7127, allocations: 3.107 MB / 0.8717 GB, free: 15.27 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.973e-06/0.7127, allocations: 0 / 0.8717 GB, free: 15.27 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004317/0.717, allocations: 1.835 MB / 0.8735 GB, free: 13.41 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001029/0.7181, allocations: 494.3 kB / 0.8739 GB, free: 12.91 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003996/0.7185, allocations: 35.95 kB / 0.874 GB, free: 12.87 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001339/0.7199, allocations: 165.7 kB / 0.8741 GB, free: 12.71 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002822/0.7202, allocations: 141.8 kB / 0.8743 GB, free: 12.57 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002142/0.7204, allocations: 71.95 kB / 0.8743 GB, free: 12.5 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.001458/0.7219, allocations: 0.791 MB / 0.8751 GB, free: 11.71 MB / 0.5919 GB Notification: Performance of sort global known variables: time 3.81e-07/0.7219, allocations: 3.938 kB / 0.8751 GB, free: 11.71 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001642/0.7235, allocations: 0.5145 MB / 0.8756 GB, free: 11.19 MB / 0.5919 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 3,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.00154/0.7251, allocations: 0.6429 MB / 0.8762 GB, free: 10.72 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.003451/0.7285, allocations: 1.675 MB / 0.8779 GB, free: 9.023 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 6.693e-06/0.7286, allocations: 4 kB / 0.8779 GB, free: 9.02 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.001918/0.7305, allocations: 1.051 MB / 0.8789 GB, free: 7.945 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002389/0.7329, allocations: 0.4949 MB / 0.8794 GB, free: 7.461 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007777/0.7407, allocations: 4.019 MB / 0.8833 GB, free: 3.41 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009975/0.7417, allocations: 1.333 MB / 0.8846 GB, free: 2.047 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.001988/0.7437, allocations: 0.5124 MB / 0.8851 GB, free: 1.527 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000595/0.7443, allocations: 203.3 kB / 0.8853 GB, free: 1.328 MB / 0.5919 GB Notification: Performance of SimCode: time 1.202e-06/0.7443, allocations: 0 / 0.8853 GB, free: 1.328 MB / 0.5919 GB Notification: Performance of Templates: time 0.04385/0.7882, allocations: 25.66 MB / 0.9104 GB, free: 7.977 MB / 0.6231 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)