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.001298/0.001298, allocations: 112.6 kB / 16.37 MB, free: 6 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.001443/0.001443, allocations: 196 kB / 17.31 MB, free: 5.613 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.266/1.266, 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.002024/0.002024, allocations: 293.2 kB / 291.4 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.9005/0.9005, allocations: 169.2 MB / 0.4989 GB, free: 4.461 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001695/0.001695, allocations: 95.59 kB / 0.5967 GB, free: 14.42 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1534/0.1552, allocations: 86.97 MB / 0.6816 GB, free: 7.438 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.IO.SignalExchange.Examples.WeatherStation): time 0.006368/0.1616, allocations: 5.112 MB / 0.6866 GB, free: 2.301 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.4113/0.5729, allocations: 150.8 MB / 0.8339 GB, free: 2.578 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008325/0.5738, allocations: 23.88 kB / 0.8339 GB, free: 2.555 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0006824/0.5745, allocations: 349.4 kB / 0.8342 GB, free: 2.211 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001363/0.5759, allocations: 0.5191 MB / 0.8347 GB, free: 1.695 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001889/0.5778, allocations: 0.8626 MB / 0.8356 GB, free: 0.8398 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001284/0.5791, allocations: 1.484 MB / 0.837 GB, free: 15.35 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000921/0.58, allocations: 0.8208 MB / 0.8378 GB, free: 14.5 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005163/0.5805, allocations: 0.5215 MB / 0.8383 GB, free: 13.98 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005195/0.5811, allocations: 0.5604 MB / 0.8389 GB, free: 13.41 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001513/0.5812, allocations: 132 kB / 0.839 GB, free: 13.29 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007074/0.5819, allocations: 495.6 kB / 0.8395 GB, free: 12.8 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0002744/0.5822, allocations: 334.8 kB / 0.8398 GB, free: 12.47 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0005097/0.5827, allocations: 0.6488 MB / 0.8404 GB, free: 11.82 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.001644/0.5844, allocations: 1.884 MB / 0.8423 GB, free: 9.93 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.948e-06/0.5844, allocations: 7.688 kB / 0.8423 GB, free: 9.926 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.483e-06/0.5844, allocations: 0 / 0.8423 GB, free: 9.926 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.43e-05/0.5844, allocations: 4 kB / 0.8423 GB, free: 9.922 MB / 0.6075 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.002318/0.5868, allocations: 1.675 MB / 0.8439 GB, free: 8.191 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.346e-05/0.5868, allocations: 8.031 kB / 0.8439 GB, free: 8.184 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008451/0.5877, allocations: 211.1 kB / 0.8441 GB, free: 7.977 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00124/0.5889, allocations: 0.9221 MB / 0.845 GB, free: 7.012 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.587e-05/0.589, allocations: 70 kB / 0.8451 GB, free: 6.941 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00011/0.5891, allocations: 99.75 kB / 0.8452 GB, free: 6.848 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001477/0.5906, allocations: 1.028 MB / 0.8462 GB, free: 5.781 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.734e-05/0.5906, allocations: 0 / 0.8462 GB, free: 5.781 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.685e-05/0.5907, allocations: 44 kB / 0.8462 GB, free: 5.738 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.849e-05/0.5907, allocations: 24 kB / 0.8463 GB, free: 5.715 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001664/0.5924, allocations: 1.171 MB / 0.8474 GB, free: 4.539 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003585/0.596, allocations: 2.785 MB / 0.8501 GB, free: 1.684 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001296/0.5973, allocations: 0.7947 MB / 0.8509 GB, free: 0.8867 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004618/0.5977, allocations: 301.9 kB / 0.8512 GB, free: 0.5938 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 7.531e-05/0.5978, allocations: 40.52 kB / 0.8512 GB, free: 0.5547 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007153/0.5986, allocations: 499.1 kB / 0.8517 GB, free: 48 kB / 0.6075 GB Notification: Performance of pre-optimization done (n=78): time 1.764e-06/0.5986, allocations: 0 / 0.8517 GB, free: 48 kB / 0.6075 GB Notification: Performance of matching and sorting (n=78): time 0.002749/0.6013, allocations: 1.197 MB / 0.8529 GB, free: 14.82 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.722e-05/0.6014, allocations: 192.6 kB / 0.8531 GB, free: 14.59 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008363/0.6023, allocations: 0.799 MB / 0.8538 GB, free: 13.76 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 5.363e-05/0.6023, allocations: 37.7 kB / 0.8539 GB, free: 13.72 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003265/0.6027, allocations: 0.5117 MB / 0.8544 GB, free: 13.2 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001656/0.6028, allocations: 252.4 kB / 0.8546 GB, free: 12.95 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002169/0.6031, allocations: 162.4 kB / 0.8548 GB, free: 12.79 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.000109/0.6032, allocations: 337.9 kB / 0.8551 GB, free: 12.45 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004852/0.6037, allocations: 269.8 kB / 0.8554 GB, free: 12.19 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005595/0.6042, allocations: 359.1 kB / 0.8557 GB, free: 11.83 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009828/0.6052, allocations: 0.5994 MB / 0.8563 GB, free: 11.22 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.6052, allocations: 0 / 0.8563 GB, free: 11.22 MB / 0.6231 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.001734/0.607, allocations: 0.8642 MB / 0.8571 GB, free: 10.34 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.53e-05/0.607, allocations: 10.59 kB / 0.8571 GB, free: 10.34 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.691e-06/0.607, allocations: 0 / 0.8571 GB, free: 10.34 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005513/0.6076, allocations: 84.77 kB / 0.8572 GB, free: 10.25 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005929/0.6082, allocations: 155.8 kB / 0.8574 GB, free: 10.1 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001877/0.6101, allocations: 1.648 MB / 0.859 GB, free: 8.309 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006141/0.6107, allocations: 95.27 kB / 0.8591 GB, free: 8.215 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.399e-05/0.6108, allocations: 35.97 kB / 0.8591 GB, free: 8.18 MB / 0.6231 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.0003582/0.6111, allocations: 295.5 kB / 0.8594 GB, free: 7.883 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001508/0.6113, allocations: 106.8 kB / 0.8595 GB, free: 7.777 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002167/0.6135, allocations: 1.076 MB / 0.8605 GB, free: 6.691 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.338e-05/0.6135, allocations: 8 kB / 0.8605 GB, free: 6.684 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.034e-06/0.6135, allocations: 0 / 0.8605 GB, free: 6.684 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.129e-05/0.6135, allocations: 7.922 kB / 0.8606 GB, free: 6.676 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009672/0.6145, allocations: 1.012 MB / 0.8615 GB, free: 5.613 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.936e-06/0.6145, allocations: 4 kB / 0.8615 GB, free: 5.609 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005201/0.615, allocations: 135.8 kB / 0.8617 GB, free: 5.477 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003997/0.6154, allocations: 72.78 kB / 0.8617 GB, free: 5.402 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.261e-05/0.6155, allocations: 27.97 kB / 0.8618 GB, free: 5.375 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001727/0.6172, allocations: 1.674 MB / 0.8634 GB, free: 3.547 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.105e-06/0.6172, allocations: 5.5 kB / 0.8634 GB, free: 3.543 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001748/0.619, allocations: 0.9394 MB / 0.8643 GB, free: 2.586 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003699/0.6194, allocations: 291.5 kB / 0.8646 GB, free: 2.281 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001102/0.6195, allocations: 19.98 kB / 0.8646 GB, free: 2.262 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005535/0.62, allocations: 63.94 kB / 0.8647 GB, free: 2.199 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001336/0.6202, allocations: 72.83 kB / 0.8648 GB, free: 2.125 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.294e-05/0.6203, allocations: 35.98 kB / 0.8648 GB, free: 2.09 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0006178/0.6209, allocations: 0.5542 MB / 0.8653 GB, free: 1.523 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.41e-07/0.6209, allocations: 0 / 0.8653 GB, free: 1.523 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0006834/0.6216, allocations: 335.1 kB / 0.8657 GB, free: 1.195 MB / 0.6231 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.001166/0.6227, allocations: 0.6011 MB / 0.8662 GB, free: 0.7656 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001439/0.6242, allocations: 0.8316 MB / 0.867 GB, free: 15.93 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/0.6242, allocations: 8.125 kB / 0.8671 GB, free: 15.92 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0008129/0.625, allocations: 0.5042 MB / 0.8675 GB, free: 15.4 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001291/0.6263, allocations: 472 kB / 0.868 GB, free: 14.98 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003465/0.6298, allocations: 2.015 MB / 0.87 GB, free: 12.94 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005688/0.6304, allocations: 1.105 MB / 0.871 GB, free: 11.81 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0007014/0.6311, allocations: 279.6 kB / 0.8713 GB, free: 11.54 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002313/0.6313, allocations: 111.4 kB / 0.8714 GB, free: 11.43 MB / 0.6387 GB Notification: Performance of SimCode: time 3.2e-07/0.6313, allocations: 0 / 0.8714 GB, free: 11.43 MB / 0.6387 GB Notification: Performance of Templates: time 0.0244/0.6557, allocations: 16.97 MB / 0.888 GB, free: 10.64 MB / 0.6544 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)