Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.IO.SignalExchange.Examples.WeatherStation.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.Utilities.IO.SignalExchange.Examples.WeatherStation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.IO.SignalExchange.Examples.WeatherStation") translateModel(BuildingSystems.Utilities.IO.SignalExchange.Examples.WeatherStation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.IO.SignalExchange.Examples.WeatherStation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001249/0.001249, allocations: 106.5 kB / 16.41 MB, free: 6.5 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.001217/0.001217, allocations: 189.2 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.413/1.413, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002531/0.002531, allocations: 293.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 0.9903/0.9903, allocations: 169.3 MB / 0.499 GB, free: 4.461 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002745/0.002745, allocations: 95.84 kB / 0.6821 GB, free: 6.98 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4144/0.4171, allocations: 86.97 MB / 0.767 GB, free: 3.93 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.IO.SignalExchange.Examples.WeatherStation): time 0.007185/0.4243, allocations: 5.124 MB / 0.772 GB, free: 14.78 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.1815/0.6058, allocations: 151.3 MB / 0.9197 GB, free: 6.918 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009718/0.6068, allocations: 27.81 kB / 0.9198 GB, free: 6.891 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.0008412/0.6076, allocations: 341.5 kB / 0.9201 GB, free: 6.555 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.001716/0.6093, allocations: 0.5301 MB / 0.9206 GB, free: 6.023 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.00204/0.6114, allocations: 0.8586 MB / 0.9215 GB, free: 5.172 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.001865/0.6132, allocations: 1.473 MB / 0.9229 GB, free: 3.691 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009525/0.6142, allocations: 0.5681 MB / 0.9234 GB, free: 3.09 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007167/0.6149, allocations: 0.5292 MB / 0.924 GB, free: 2.559 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006559/0.6156, allocations: 0.5598 MB / 0.9245 GB, free: 1.996 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0001771/0.6157, allocations: 132 kB / 0.9246 GB, free: 1.867 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001027/0.6168, allocations: 499.6 kB / 0.9251 GB, free: 1.379 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0003483/0.6171, allocations: 342.8 kB / 0.9254 GB, free: 1.043 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0006027/0.6177, allocations: 0.6332 MB / 0.9261 GB, free: 416 kB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.002373/0.6201, allocations: 1.9 MB / 0.9279 GB, free: 14.5 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.6201, allocations: 0 / 0.9279 GB, free: 14.5 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.984e-06/0.6201, allocations: 4 kB / 0.9279 GB, free: 14.5 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 1.48e-05/0.6201, allocations: 0 / 0.9279 GB, free: 14.5 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: 252 * Number of variables: 252 Notification: Performance of Generate backend data structure: time 0.0029/0.623, allocations: 1.715 MB / 0.9296 GB, free: 12.73 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.252e-05/0.6231, allocations: 12.03 kB / 0.9296 GB, free: 12.71 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009915/0.624, allocations: 223.8 kB / 0.9298 GB, free: 12.5 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001458/0.6255, allocations: 0.9187 MB / 0.9307 GB, free: 11.54 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.254e-05/0.6256, allocations: 78 kB / 0.9308 GB, free: 11.46 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001477/0.6257, allocations: 96 kB / 0.9309 GB, free: 11.37 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001818/0.6275, allocations: 1.032 MB / 0.9319 GB, free: 10.29 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.975e-05/0.6276, allocations: 3.938 kB / 0.9319 GB, free: 10.29 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.629e-05/0.6277, allocations: 40 kB / 0.9319 GB, free: 10.25 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.857e-05/0.6277, allocations: 24 kB / 0.932 GB, free: 10.22 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001996/0.6297, allocations: 1.167 MB / 0.9331 GB, free: 9.055 MB / 0.7012 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00459/0.6343, allocations: 2.805 MB / 0.9358 GB, free: 6.18 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001532/0.6358, allocations: 0.7474 MB / 0.9366 GB, free: 5.426 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005443/0.6363, allocations: 282.6 kB / 0.9368 GB, free: 5.148 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 7.294e-05/0.6364, allocations: 28.61 kB / 0.9369 GB, free: 5.121 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008833/0.6373, allocations: 492.7 kB / 0.9373 GB, free: 4.621 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=78): time 2.544e-06/0.6373, allocations: 0 / 0.9373 GB, free: 4.621 MB / 0.7012 GB Notification: Performance of matching and sorting (n=78): time 0.003314/0.6406, allocations: 1.221 MB / 0.9385 GB, free: 3.371 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001324/0.6408, allocations: 188.6 kB / 0.9387 GB, free: 3.145 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001092/0.6418, allocations: 0.799 MB / 0.9395 GB, free: 2.32 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 7.764e-05/0.6419, allocations: 45.7 kB / 0.9395 GB, free: 2.27 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004758/0.6424, allocations: 0.5087 MB / 0.94 GB, free: 1.754 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002455/0.6426, allocations: 265.8 kB / 0.9403 GB, free: 1.492 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002593/0.6429, allocations: 162.6 kB / 0.9404 GB, free: 1.328 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001657/0.6431, allocations: 341.9 kB / 0.9408 GB, free: 0.9883 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005575/0.6436, allocations: 261.9 kB / 0.941 GB, free: 0.7344 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006867/0.6443, allocations: 367 kB / 0.9414 GB, free: 372 kB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001231/0.6455, allocations: 0.5994 MB / 0.9419 GB, free: 15.75 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/0.6455, allocations: 4 kB / 0.9419 GB, free: 15.75 MB / 0.7169 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.002069/0.6476, allocations: 0.8647 MB / 0.9428 GB, free: 14.87 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.003e-05/0.6476, allocations: 10.81 kB / 0.9428 GB, free: 14.86 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.684e-06/0.6477, allocations: 0 / 0.9428 GB, free: 14.86 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00062/0.6483, allocations: 84.81 kB / 0.9429 GB, free: 14.78 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006659/0.6489, allocations: 159.7 kB / 0.943 GB, free: 14.62 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002312/0.6513, allocations: 1.634 MB / 0.9446 GB, free: 12.84 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007537/0.652, allocations: 99.45 kB / 0.9447 GB, free: 12.75 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.942e-05/0.6521, allocations: 35.97 kB / 0.9448 GB, free: 12.71 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 17 (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,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (92): * Single equations (assignments): 91 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0005219/0.6526, allocations: 306.7 kB / 0.9451 GB, free: 12.41 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001788/0.6528, allocations: 107.3 kB / 0.9452 GB, free: 12.3 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002491/0.6553, allocations: 1.067 MB / 0.9462 GB, free: 11.22 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.052e-05/0.6553, allocations: 8 kB / 0.9462 GB, free: 11.21 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.6553, allocations: 3.938 kB / 0.9462 GB, free: 11.21 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.187e-06/0.6553, allocations: 3.984 kB / 0.9462 GB, free: 11.21 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001306/0.6566, allocations: 1.009 MB / 0.9472 GB, free: 10.15 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.747e-06/0.6566, allocations: 3.938 kB / 0.9472 GB, free: 10.14 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005854/0.6572, allocations: 143.8 kB / 0.9473 GB, free: 10 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004656/0.6577, allocations: 72.78 kB / 0.9474 GB, free: 9.93 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.3e-05/0.6577, allocations: 23.98 kB / 0.9474 GB, free: 9.906 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002173/0.6599, allocations: 1.682 MB / 0.9491 GB, free: 8.078 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/0.6599, allocations: 0 / 0.9491 GB, free: 8.078 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00204/0.6619, allocations: 0.9438 MB / 0.95 GB, free: 7.113 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004222/0.6624, allocations: 300 kB / 0.9503 GB, free: 6.801 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000112/0.6625, allocations: 16 kB / 0.9503 GB, free: 6.785 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006296/0.6631, allocations: 71.02 kB / 0.9504 GB, free: 6.719 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001465/0.6632, allocations: 68.84 kB / 0.9504 GB, free: 6.652 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.91e-05/0.6633, allocations: 35.97 kB / 0.9505 GB, free: 6.617 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0007766/0.6641, allocations: 0.5503 MB / 0.951 GB, free: 6.055 MB / 0.7169 GB Notification: Performance of sort global known variables: time 9e-08/0.6641, allocations: 0 / 0.951 GB, free: 6.055 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0008862/0.665, allocations: 339.1 kB / 0.9513 GB, free: 5.723 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (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 (89): * Single equations (assignments): 83 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001938/0.6669, allocations: 0.5944 MB / 0.9519 GB, free: 5.297 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.001818/0.6687, allocations: 0.804 MB / 0.9527 GB, free: 4.48 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.407e-06/0.6687, allocations: 0 / 0.9527 GB, free: 4.48 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0009772/0.6697, allocations: 496.2 kB / 0.9532 GB, free: 3.984 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001648/0.6714, allocations: 468.2 kB / 0.9536 GB, free: 3.57 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004484/0.6758, allocations: 2.055 MB / 0.9556 GB, free: 1.484 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007904/0.6766, allocations: 1.106 MB / 0.9567 GB, free: 360 kB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0008477/0.6775, allocations: 279.6 kB / 0.957 GB, free: 76 kB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.3286/1.006, allocations: 110.6 kB / 0.9571 GB, free: 186.4 MB / 0.7169 GB Notification: Performance of SimCode: time 1.142e-06/1.006, allocations: 0 / 0.9571 GB, free: 186.4 MB / 0.7169 GB Notification: Performance of Templates: time 0.0279/1.034, allocations: 17.2 MB / 0.9739 GB, free: 179 MB / 0.7169 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.IO.SignalExchange.Examples.WeatherStation.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.IO.SignalExchange.Examples.WeatherStation.sim & ./BuildingSystems_BuildingSystems.Utilities.IO.SignalExchange.Examples.WeatherStation -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe 2>&1)