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.001108/0.001108, allocations: 108.7 kB / 16.41 MB, free: 6.504 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.001189/0.001189, allocations: 189.5 kB / 17.34 MB, free: 5.742 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.383/1.383, allocations: 222.9 MB / 241.1 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002095/0.002095, allocations: 293.6 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.9598/0.9598, allocations: 169.3 MB / 0.499 GB, free: 4.43 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001848/0.001848, allocations: 87.86 kB / 0.6821 GB, free: 6.992 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.444/0.4459, allocations: 86.98 MB / 0.767 GB, free: 3.895 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.Examples.ReaderTMY3): time 0.009228/0.4551, allocations: 6.691 MB / 0.7736 GB, free: 13.18 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.181/0.6362, allocations: 153.4 MB / 0.9234 GB, free: 3.184 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001311/0.6375, allocations: 35.81 kB / 0.9234 GB, free: 3.148 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.001088/0.6386, allocations: 328.9 kB / 0.9237 GB, free: 2.824 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.002506/0.6412, allocations: 0.7343 MB / 0.9244 GB, free: 2.09 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.003147/0.6443, allocations: 1.375 MB / 0.9258 GB, free: 0.7266 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.003217/0.6476, allocations: 2.574 MB / 0.9283 GB, free: 14.14 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001772/0.6493, allocations: 1.092 MB / 0.9293 GB, free: 13 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001414/0.6508, allocations: 0.8798 MB / 0.9302 GB, free: 12.12 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001375/0.6522, allocations: 0.8945 MB / 0.9311 GB, free: 11.22 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 0.0005501/0.6527, allocations: 212 kB / 0.9313 GB, free: 11.01 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001884/0.6546, allocations: 0.9754 MB / 0.9322 GB, free: 10.04 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.0005294/0.6552, allocations: 0.5412 MB / 0.9328 GB, free: 9.492 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.0009434/0.6561, allocations: 0.9987 MB / 0.9337 GB, free: 8.488 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.003508/0.6596, allocations: 2.973 MB / 0.9366 GB, free: 5.508 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.6597, allocations: 0 / 0.9366 GB, free: 5.508 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.743e-06/0.6597, allocations: 0 / 0.9366 GB, free: 5.508 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 3.545e-05/0.6597, allocations: 0 / 0.9366 GB, free: 5.508 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.004379/0.6641, allocations: 2.358 MB / 0.9389 GB, free: 3.086 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4e-05/0.6641, allocations: 8.031 kB / 0.9389 GB, free: 3.078 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00203/0.6662, allocations: 378.1 kB / 0.9393 GB, free: 2.707 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002159/0.6684, allocations: 1.318 MB / 0.9406 GB, free: 1.332 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.098e-05/0.6685, allocations: 106.9 kB / 0.9407 GB, free: 1.227 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001991/0.6687, allocations: 136 kB / 0.9408 GB, free: 1.094 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003057/0.6717, allocations: 1.658 MB / 0.9424 GB, free: 15.34 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.827e-05/0.6718, allocations: 7.922 kB / 0.9424 GB, free: 15.34 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000152/0.6719, allocations: 67.98 kB / 0.9425 GB, free: 15.27 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.872e-05/0.672, allocations: 36 kB / 0.9425 GB, free: 15.23 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003562/0.6755, allocations: 2.142 MB / 0.9446 GB, free: 13.09 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008073/0.6836, allocations: 4.675 MB / 0.9492 GB, free: 8.32 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003201/0.6869, allocations: 1.61 MB / 0.9508 GB, free: 6.703 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001132/0.688, allocations: 0.5911 MB / 0.9514 GB, free: 6.102 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001169/0.6881, allocations: 61.22 kB / 0.9514 GB, free: 6.043 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001727/0.6899, allocations: 0.9452 MB / 0.9523 GB, free: 5.078 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=154): time 3.377e-06/0.6899, allocations: 0 / 0.9523 GB, free: 5.078 MB / 0.7169 GB Notification: Performance of matching and sorting (n=154): time 0.006489/0.6964, allocations: 2.37 MB / 0.9547 GB, free: 2.664 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001725/0.6966, allocations: 363.4 kB / 0.955 GB, free: 2.23 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001661/0.6983, allocations: 1.158 MB / 0.9561 GB, free: 1.062 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0001383/0.6984, allocations: 53.7 kB / 0.9562 GB, free: 1.004 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005501/0.699, allocations: 0.658 MB / 0.9568 GB, free: 344 kB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.3524/1.051, allocations: 489 kB / 0.9573 GB, free: 187.3 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000965/1.052, allocations: 316.9 kB / 0.9576 GB, free: 187.3 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.699e-05/1.052, allocations: 305.5 kB / 0.9579 GB, free: 187 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001717/1.054, allocations: 0.531 MB / 0.9584 GB, free: 187 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001838/1.056, allocations: 0.7424 MB / 0.9591 GB, free: 186.7 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002768/1.059, allocations: 1.238 MB / 0.9603 GB, free: 186.2 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.323e-06/1.059, allocations: 3.438 kB / 0.9603 GB, free: 186.2 MB / 0.7169 GB Notification: Performance of matching and sorting (n=189) (initialization): time 0.004371/1.063, allocations: 1.705 MB / 0.962 GB, free: 185.6 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.415e-05/1.063, allocations: 10.16 kB / 0.962 GB, free: 185.6 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.169e-05/1.063, allocations: 2.984 kB / 0.962 GB, free: 185.6 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001101/1.064, allocations: 163.5 kB / 0.9622 GB, free: 185.6 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001367/1.066, allocations: 324.4 kB / 0.9625 GB, free: 185.5 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003328/1.069, allocations: 3.285 MB / 0.9657 GB, free: 182.5 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001606/1.071, allocations: 184.3 kB / 0.9659 GB, free: 182.5 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001378/1.071, allocations: 73.83 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.0007088/1.072, allocations: 420.8 kB / 0.9663 GB, free: 182.2 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003026/1.072, allocations: 165.1 kB / 0.9665 GB, free: 182.1 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004869/1.077, allocations: 2.17 MB / 0.9686 GB, free: 181.3 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.438e-05/1.077, allocations: 9.141 kB / 0.9686 GB, free: 181.3 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.101e-06/1.077, allocations: 4.281 kB / 0.9686 GB, free: 181.3 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006588/1.077, allocations: 468.8 kB / 0.9691 GB, free: 181 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002407/1.078, allocations: 36.28 kB / 0.9691 GB, free: 181 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001256/1.079, allocations: 127.6 kB / 0.9692 GB, free: 180.9 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003041/1.079, allocations: 141.5 kB / 0.9694 GB, free: 180.9 MB / 0.7169 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003785/1.083, allocations: 1.918 MB / 0.9712 GB, free: 180.1 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00414/1.087, allocations: 2.712 MB / 0.9739 GB, free: 178.9 MB / 0.7169 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001102/1.088, allocations: 0.7106 MB / 0.9746 GB, free: 178.5 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0009277/1.089, allocations: 0.7996 MB / 0.9754 GB, free: 177.9 MB / 0.7169 GB Notification: Performance of Backend: time 4.61e-07/1.089, allocations: 0 / 0.9754 GB, free: 177.9 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.004639/1.094, allocations: 1.924 MB / 0.9772 GB, free: 176.4 MB / 0.7169 GB Notification: Performance of SimCode: time 0.004406/1.098, allocations: 3.391 MB / 0.9806 GB, free: 173.3 MB / 0.7169 GB Notification: Performance of Templates: time 0.0403/1.139, allocations: 31.72 MB / 1.012 GB, free: 141.9 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)