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.00111/0.00111, allocations: 116.8 kB / 16.42 MB, free: 5.992 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.001131/0.001131, allocations: 184.5 kB / 17.35 MB, free: 5.602 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.355/1.355, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002206/0.002206, allocations: 274.9 kB / 291.5 MB, free: 14.47 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.983/0.983, allocations: 169.3 MB / 0.499 GB, free: 4.434 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001931/0.001931, allocations: 99.83 kB / 0.6821 GB, free: 6.98 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4243/0.4262, allocations: 86.98 MB / 0.767 GB, free: 3.914 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.Examples.ReaderTMY3): time 0.008083/0.4344, allocations: 6.692 MB / 0.7736 GB, free: 13.2 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.1619/0.5963, allocations: 153.4 MB / 0.9234 GB, free: 3.203 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001664/0.598, allocations: 35.81 kB / 0.9234 GB, free: 3.168 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.001268/0.5994, allocations: 336.9 kB / 0.9237 GB, free: 2.836 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.003707/0.6031, allocations: 0.7348 MB / 0.9244 GB, free: 2.102 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.004089/0.6072, allocations: 1.374 MB / 0.9258 GB, free: 0.7422 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.00331/0.6105, allocations: 2.578 MB / 0.9283 GB, free: 14.16 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001829/0.6124, allocations: 1.088 MB / 0.9294 GB, free: 13.02 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00131/0.6137, allocations: 0.8837 MB / 0.9302 GB, free: 12.13 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001266/0.615, allocations: 0.8945 MB / 0.9311 GB, free: 11.23 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 0.0005297/0.6155, allocations: 212 kB / 0.9313 GB, free: 11.02 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002042/0.6176, allocations: 0.9793 MB / 0.9323 GB, free: 10.04 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.0006428/0.6182, allocations: 0.5412 MB / 0.9328 GB, free: 9.5 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.001288/0.6195, allocations: 0.9987 MB / 0.9338 GB, free: 8.496 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.003963/0.6235, allocations: 2.97 MB / 0.9367 GB, free: 5.52 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.6235, allocations: 4 kB / 0.9367 GB, free: 5.516 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.614e-06/0.6235, allocations: 0 / 0.9367 GB, free: 5.516 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 0.0001053/0.6236, allocations: 0 / 0.9367 GB, free: 5.516 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.005554/0.6292, allocations: 2.35 MB / 0.939 GB, free: 3.102 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 5.278e-05/0.6293, allocations: 8.031 kB / 0.939 GB, free: 3.094 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00221/0.6315, allocations: 378.1 kB / 0.9393 GB, free: 2.723 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002434/0.6339, allocations: 1.326 MB / 0.9406 GB, free: 1.34 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.992e-05/0.6341, allocations: 110.9 kB / 0.9407 GB, free: 1.23 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001884/0.6342, allocations: 140 kB / 0.9409 GB, free: 1.094 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003123/0.6374, allocations: 1.654 MB / 0.9425 GB, free: 15.35 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.84e-05/0.6374, allocations: 4 kB / 0.9425 GB, free: 15.34 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000152/0.6376, allocations: 63.98 kB / 0.9425 GB, free: 15.28 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.966e-05/0.6376, allocations: 36 kB / 0.9426 GB, free: 15.25 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00364/0.6413, allocations: 2.15 MB / 0.9447 GB, free: 13.09 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007963/0.6492, allocations: 4.667 MB / 0.9492 GB, free: 8.332 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00364/0.6529, allocations: 1.612 MB / 0.9508 GB, free: 6.711 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001181/0.6541, allocations: 0.5834 MB / 0.9514 GB, free: 6.117 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001304/0.6543, allocations: 61.2 kB / 0.9514 GB, free: 6.059 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00184/0.6561, allocations: 0.9422 MB / 0.9524 GB, free: 5.094 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=154): time 5.13e-06/0.6561, allocations: 0 / 0.9524 GB, free: 5.094 MB / 0.7169 GB Notification: Performance of matching and sorting (n=154): time 0.006783/0.6629, allocations: 2.378 MB / 0.9547 GB, free: 2.672 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001807/0.6631, allocations: 359.4 kB / 0.955 GB, free: 2.242 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001994/0.6652, allocations: 1.158 MB / 0.9561 GB, free: 1.074 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0001675/0.6653, allocations: 65.69 kB / 0.9562 GB, free: 1.004 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005983/0.6659, allocations: 0.6502 MB / 0.9568 GB, free: 352 kB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.3624/1.028, allocations: 491.7 kB / 0.9573 GB, free: 187.3 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007471/1.029, allocations: 315.2 kB / 0.9576 GB, free: 187.2 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.686e-05/1.029, allocations: 304.5 kB / 0.9579 GB, free: 186.9 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001447/1.031, allocations: 0.5325 MB / 0.9584 GB, free: 186.9 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001618/1.032, allocations: 0.7335 MB / 0.9591 GB, free: 186.7 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002657/1.035, allocations: 1.245 MB / 0.9604 GB, free: 186.1 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.321e-06/1.035, allocations: 1.891 kB / 0.9604 GB, free: 186.1 MB / 0.7169 GB Notification: Performance of matching and sorting (n=189) (initialization): time 0.004169/1.039, allocations: 1.698 MB / 0.962 GB, free: 185.6 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.214e-05/1.039, allocations: 8.906 kB / 0.962 GB, free: 185.6 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.195e-05/1.039, allocations: 3.266 kB / 0.962 GB, free: 185.6 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001126/1.04, allocations: 164.1 kB / 0.9622 GB, free: 185.6 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001343/1.042, allocations: 324.5 kB / 0.9625 GB, free: 185.5 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003263/1.045, allocations: 3.29 MB / 0.9657 GB, free: 182.5 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001514/1.046, allocations: 186.6 kB / 0.9659 GB, free: 182.5 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001276/1.047, allocations: 73.92 kB / 0.966 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.0007054/1.047, allocations: 421.3 kB / 0.9664 GB, free: 182.2 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003099/1.048, allocations: 162.8 kB / 0.9665 GB, free: 182.1 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005205/1.053, allocations: 2.176 MB / 0.9686 GB, free: 181.3 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.743e-05/1.053, allocations: 12.72 kB / 0.9686 GB, free: 181.3 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.573e-06/1.053, allocations: 4 kB / 0.9687 GB, free: 181.3 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007303/1.054, allocations: 468.2 kB / 0.9691 GB, free: 181 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002388/1.054, allocations: 40.16 kB / 0.9691 GB, free: 181 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001239/1.055, allocations: 129 kB / 0.9693 GB, free: 180.9 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002777/1.055, allocations: 137.3 kB / 0.9694 GB, free: 180.9 MB / 0.7169 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003677/1.059, allocations: 1.912 MB / 0.9713 GB, free: 180.1 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004177/1.063, allocations: 2.712 MB / 0.9739 GB, free: 178.9 MB / 0.7169 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001095/1.064, allocations: 0.7087 MB / 0.9746 GB, free: 178.6 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0009276/1.065, allocations: 0.8031 MB / 0.9754 GB, free: 177.9 MB / 0.7169 GB Notification: Performance of Backend: time 7.82e-07/1.065, allocations: 0 / 0.9754 GB, free: 177.9 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.004512/1.07, allocations: 1.914 MB / 0.9773 GB, free: 176.4 MB / 0.7169 GB Notification: Performance of SimCode: time 0.004234/1.074, allocations: 3.397 MB / 0.9806 GB, free: 173.3 MB / 0.7169 GB Notification: Performance of Templates: time 0.0385/1.113, allocations: 31.73 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)