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.001722/0.001722, allocations: 110.2 kB / 16.41 MB, free: 6.023 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.001436/0.001436, allocations: 192.3 kB / 17.34 MB, free: 5.629 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.378/1.378, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002512/0.002512, allocations: 283.8 kB / 291.5 MB, free: 14.48 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.017/1.017, allocations: 169.3 MB / 0.499 GB, free: 4.449 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002738/0.002738, allocations: 96.12 kB / 0.6821 GB, free: 7.012 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4789/0.4817, allocations: 86.98 MB / 0.767 GB, free: 3.816 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.Examples.ReaderTMY3): time 0.00935/0.491, allocations: 6.7 MB / 0.7736 GB, free: 13.08 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.1962/0.6872, allocations: 153.8 MB / 0.9238 GB, free: 2.656 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001763/0.6889, allocations: 35.81 kB / 0.9238 GB, free: 2.621 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.001051/0.69, allocations: 328.9 kB / 0.9241 GB, free: 2.297 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.002747/0.6927, allocations: 0.7428 MB / 0.9249 GB, free: 1.555 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.003331/0.6961, allocations: 1.379 MB / 0.9262 GB, free: 192 kB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.003514/0.6996, allocations: 2.562 MB / 0.9287 GB, free: 13.62 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00132/0.7009, allocations: 0.764 MB / 0.9295 GB, free: 12.8 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001428/0.7023, allocations: 0.8759 MB / 0.9303 GB, free: 11.93 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001148/0.7035, allocations: 0.9023 MB / 0.9312 GB, free: 11.02 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 0.0002885/0.7038, allocations: 215.9 kB / 0.9314 GB, free: 10.8 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001826/0.7056, allocations: 0.9716 MB / 0.9323 GB, free: 9.832 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.0005508/0.7061, allocations: 0.5373 MB / 0.9329 GB, free: 9.293 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.001039/0.7072, allocations: 0.9986 MB / 0.9338 GB, free: 8.289 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.004205/0.7114, allocations: 2.986 MB / 0.9368 GB, free: 5.297 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.7114, allocations: 0 / 0.9368 GB, free: 5.297 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.613e-06/0.7114, allocations: 4 kB / 0.9368 GB, free: 5.293 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 3.482e-05/0.7114, allocations: 0 / 0.9368 GB, free: 5.293 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.004956/0.7164, allocations: 2.429 MB / 0.9391 GB, free: 2.797 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.164e-05/0.7164, allocations: 8.031 kB / 0.9391 GB, free: 2.789 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002048/0.7185, allocations: 387.2 kB / 0.9395 GB, free: 2.41 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002346/0.7208, allocations: 1.32 MB / 0.9408 GB, free: 1.035 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001174/0.7209, allocations: 110.9 kB / 0.9409 GB, free: 0.9258 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002138/0.7212, allocations: 144 kB / 0.941 GB, free: 0.7852 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003157/0.7243, allocations: 1.654 MB / 0.9427 GB, free: 15.04 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.922e-05/0.7243, allocations: 3.938 kB / 0.9427 GB, free: 15.04 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001558/0.7245, allocations: 64 kB / 0.9427 GB, free: 14.97 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.199e-05/0.7245, allocations: 36 kB / 0.9428 GB, free: 14.94 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003788/0.7283, allocations: 2.142 MB / 0.9449 GB, free: 12.79 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008362/0.7367, allocations: 4.707 MB / 0.9494 GB, free: 7.996 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003322/0.74, allocations: 1.522 MB / 0.9509 GB, free: 6.465 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001167/0.7412, allocations: 0.5443 MB / 0.9515 GB, free: 5.91 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001224/0.7413, allocations: 57.22 kB / 0.9515 GB, free: 5.855 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001784/0.7431, allocations: 0.9385 MB / 0.9524 GB, free: 4.895 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=154): time 3.126e-06/0.7431, allocations: 0 / 0.9524 GB, free: 4.895 MB / 0.7169 GB Notification: Performance of matching and sorting (n=154): time 0.00682/0.7499, allocations: 2.383 MB / 0.9548 GB, free: 2.469 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002408/0.7501, allocations: 351.5 kB / 0.9551 GB, free: 2.047 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001891/0.752, allocations: 1.166 MB / 0.9562 GB, free: 0.8711 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0001524/0.7522, allocations: 61.7 kB / 0.9563 GB, free: 0.8047 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006667/0.7528, allocations: 0.663 MB / 0.9569 GB, free: 136 kB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.4683/1.221, allocations: 0.505 MB / 0.9574 GB, free: 187.2 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008042/1.222, allocations: 314.8 kB / 0.9577 GB, free: 187.2 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.331e-05/1.222, allocations: 304.7 kB / 0.958 GB, free: 186.9 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001572/1.224, allocations: 0.5298 MB / 0.9585 GB, free: 186.9 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001694/1.225, allocations: 0.7333 MB / 0.9593 GB, free: 186.7 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002758/1.228, allocations: 1.248 MB / 0.9605 GB, free: 186.1 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.945e-06/1.228, allocations: 0 / 0.9605 GB, free: 186.1 MB / 0.7169 GB Notification: Performance of matching and sorting (n=189) (initialization): time 0.004504/1.233, allocations: 1.708 MB / 0.9621 GB, free: 185.5 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.979e-05/1.233, allocations: 5.75 kB / 0.9622 GB, free: 185.5 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.48e-05/1.233, allocations: 2.781 kB / 0.9622 GB, free: 185.5 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001148/1.234, allocations: 173.1 kB / 0.9623 GB, free: 185.4 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001427/1.235, allocations: 319.5 kB / 0.9626 GB, free: 185.4 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003612/1.239, allocations: 3.293 MB / 0.9658 GB, free: 182.3 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001717/1.24, allocations: 191.8 kB / 0.966 GB, free: 182.3 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001327/1.241, allocations: 69.77 kB / 0.9661 GB, free: 182.3 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.0008401/1.241, allocations: 430.1 kB / 0.9665 GB, free: 182 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003787/1.242, allocations: 169.5 kB / 0.9667 GB, free: 181.9 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005175/1.247, allocations: 2.167 MB / 0.9688 GB, free: 181.1 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.085e-05/1.247, allocations: 17.16 kB / 0.9688 GB, free: 181.1 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.692e-06/1.247, allocations: 1.219 kB / 0.9688 GB, free: 181.1 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.37e-05/1.247, allocations: 8.766 kB / 0.9688 GB, free: 181.1 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002357/1.249, allocations: 1.616 MB / 0.9704 GB, free: 180.4 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.953e-06/1.249, allocations: 3.391 kB / 0.9704 GB, free: 180.4 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001163/1.251, allocations: 294.2 kB / 0.9707 GB, free: 180.4 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008972/1.252, allocations: 146 kB / 0.9708 GB, free: 180.3 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001466/1.252, allocations: 50.44 kB / 0.9709 GB, free: 180.3 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003341/1.255, allocations: 3.333 MB / 0.9741 GB, free: 177.2 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/1.255, allocations: 128 / 0.9741 GB, free: 177.2 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004191/1.259, allocations: 1.837 MB / 0.9759 GB, free: 176.4 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008317/1.26, allocations: 472.5 kB / 0.9764 GB, free: 176.2 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002183/1.26, allocations: 45.27 kB / 0.9764 GB, free: 176.1 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001133/1.261, allocations: 129.6 kB / 0.9765 GB, free: 176.1 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002673/1.262, allocations: 142.6 kB / 0.9767 GB, free: 176.1 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001132/1.262, allocations: 68.73 kB / 0.9767 GB, free: 176.1 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0009806/1.263, allocations: 0.804 MB / 0.9775 GB, free: 175.6 MB / 0.7169 GB Notification: Performance of sort global known variables: time 9e-08/1.263, allocations: 0 / 0.9775 GB, free: 175.6 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.001317/1.264, allocations: 0.5119 MB / 0.978 GB, free: 175.2 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.001867/1.266, allocations: 0.6593 MB / 0.9787 GB, free: 174.8 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.00309/1.269, allocations: 1.612 MB / 0.9802 GB, free: 173.3 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 7.294e-06/1.269, allocations: 8 kB / 0.9802 GB, free: 173.3 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.001578/1.271, allocations: 0.9885 MB / 0.9812 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.002197/1.273, allocations: 0.5748 MB / 0.9818 GB, free: 171.8 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006449/1.279, allocations: 3.322 MB / 0.985 GB, free: 168.4 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006117/1.28, allocations: 1.334 MB / 0.9863 GB, free: 167.1 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.001554/1.281, allocations: 0.5163 MB / 0.9868 GB, free: 166.5 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000424/1.282, allocations: 195.3 kB / 0.987 GB, free: 166.3 MB / 0.7169 GB Notification: Performance of SimCode: time 1.233e-06/1.282, allocations: 4 kB / 0.987 GB, free: 166.3 MB / 0.7169 GB Notification: Performance of Templates: time 0.04328/1.325, allocations: 28.28 MB / 1.015 GB, free: 138.4 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 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.Examples.ReaderTMY3.pipe 2>&1)