Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.Utilities.IO.SignalExchange.Examples.WeatherStation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.IO.SignalExchange.Examples.WeatherStation") translateModel(IBPSA.Utilities.IO.SignalExchange.Examples.WeatherStation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.0008524/0.0008526, allocations: 98.42 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009717/0.0009718, allocations: 179.4 kB / 16.92 MB, free: 6.922 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.42/1.42, allocations: 223.2 MB / 241 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7771/0.7771, allocations: 115.5 MB / 407.6 MB, free: 2.676 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003602/0.0003602, allocations: 8 kB / 495.9 MB, free: 6.344 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1789/0.1792, allocations: 77.52 MB / 0.5599 GB, free: 9.023 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.IO.SignalExchange.Examples.WeatherStation): time 0.007345/0.1866, allocations: 5.135 MB / 0.565 GB, free: 3.867 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.4975/0.6842, allocations: 147 MB / 0.7085 GB, free: 14.48 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001177/0.6854, allocations: 23.88 kB / 0.7085 GB, free: 14.46 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.001078/0.6865, allocations: 294.1 kB / 0.7088 GB, free: 14.17 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.002089/0.6886, allocations: 479.7 kB / 0.7092 GB, free: 13.71 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.002204/0.6909, allocations: 0.7666 MB / 0.71 GB, free: 12.95 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.002017/0.6929, allocations: 1.453 MB / 0.7114 GB, free: 11.49 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001285/0.6942, allocations: 0.7314 MB / 0.7121 GB, free: 10.72 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007332/0.6949, allocations: 386 kB / 0.7125 GB, free: 10.34 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007099/0.6956, allocations: 445.3 kB / 0.7129 GB, free: 9.906 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.00019/0.6959, allocations: 28 kB / 0.7129 GB, free: 9.879 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001004/0.6969, allocations: 375.6 kB / 0.7133 GB, free: 9.512 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0003519/0.6972, allocations: 206.9 kB / 0.7135 GB, free: 9.309 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0006472/0.6979, allocations: 0.549 MB / 0.714 GB, free: 8.75 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.002034/0.6999, allocations: 1.748 MB / 0.7157 GB, free: 6.996 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.6999, allocations: 0 / 0.7157 GB, free: 6.996 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.343e-06/0.7, allocations: 0 / 0.7157 GB, free: 6.996 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.454e-05/0.7, allocations: 0 / 0.7157 GB, free: 6.996 MB / 0.5294 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.002927/0.7029, allocations: 1.422 MB / 0.7171 GB, free: 5.527 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.47e-05/0.703, allocations: 12.03 kB / 0.7171 GB, free: 5.516 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001122/0.7041, allocations: 231 kB / 0.7173 GB, free: 5.289 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001585/0.7057, allocations: 0.8868 MB / 0.7182 GB, free: 4.359 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.08e-05/0.7058, allocations: 77.94 kB / 0.7183 GB, free: 4.281 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001644/0.706, allocations: 96 kB / 0.7184 GB, free: 4.188 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002111/0.7081, allocations: 1.032 MB / 0.7194 GB, free: 3.117 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.089e-05/0.7081, allocations: 8 kB / 0.7194 GB, free: 3.109 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001033/0.7083, allocations: 39.98 kB / 0.7194 GB, free: 3.07 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.598e-05/0.7083, allocations: 27.94 kB / 0.7195 GB, free: 3.043 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002106/0.7104, allocations: 1.175 MB / 0.7206 GB, free: 1.867 MB / 0.5294 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005545/0.716, allocations: 3.062 MB / 0.7236 GB, free: 14.68 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001675/0.7176, allocations: 0.8086 MB / 0.7244 GB, free: 13.86 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000596/0.7183, allocations: 308 kB / 0.7247 GB, free: 13.56 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 9.723e-05/0.7184, allocations: 28.61 kB / 0.7247 GB, free: 13.54 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001006/0.7194, allocations: 499.2 kB / 0.7252 GB, free: 13.03 MB / 0.545 GB Notification: Performance of pre-optimization done (n=78): time 2.565e-06/0.7194, allocations: 0 / 0.7252 GB, free: 13.03 MB / 0.545 GB Notification: Performance of matching and sorting (n=78): time 0.003299/0.7227, allocations: 1.221 MB / 0.7264 GB, free: 11.78 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001343/0.7229, allocations: 192.6 kB / 0.7266 GB, free: 11.55 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001355/0.7242, allocations: 0.7951 MB / 0.7273 GB, free: 10.73 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 8.313e-05/0.7243, allocations: 45.7 kB / 0.7274 GB, free: 10.68 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004697/0.7248, allocations: 0.5078 MB / 0.7279 GB, free: 10.16 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002338/0.725, allocations: 252.3 kB / 0.7281 GB, free: 9.91 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001148/0.7252, allocations: 73.61 kB / 0.7282 GB, free: 9.832 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001272/0.7253, allocations: 337.9 kB / 0.7285 GB, free: 9.496 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005627/0.7259, allocations: 273.8 kB / 0.7288 GB, free: 9.227 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000697/0.7266, allocations: 367 kB / 0.7291 GB, free: 8.855 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001168/0.7278, allocations: 0.6112 MB / 0.7297 GB, free: 8.23 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.069e-06/0.7278, allocations: 0 / 0.7297 GB, free: 8.23 MB / 0.545 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.002096/0.7299, allocations: 0.8719 MB / 0.7306 GB, free: 7.352 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.308e-05/0.7299, allocations: 4 kB / 0.7306 GB, free: 7.348 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.158e-05/0.7299, allocations: 8.094 kB / 0.7306 GB, free: 7.34 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006277/0.7306, allocations: 80.77 kB / 0.7307 GB, free: 7.258 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000665/0.7312, allocations: 168.3 kB / 0.7308 GB, free: 7.094 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002215/0.7335, allocations: 1.531 MB / 0.7323 GB, free: 5.426 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000853/0.7343, allocations: 103.6 kB / 0.7324 GB, free: 5.324 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.647e-05/0.7344, allocations: 39.97 kB / 0.7325 GB, free: 5.285 MB / 0.545 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.0006155/0.7351, allocations: 296.7 kB / 0.7327 GB, free: 4.988 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002104/0.7353, allocations: 106.7 kB / 0.7328 GB, free: 4.883 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002543/0.7378, allocations: 1.084 MB / 0.7339 GB, free: 3.793 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.05e-05/0.7378, allocations: 8 kB / 0.7339 GB, free: 3.785 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.409e-06/0.7379, allocations: 0 / 0.7339 GB, free: 3.785 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.216e-05/0.7379, allocations: 3.984 kB / 0.7339 GB, free: 3.781 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001417/0.7393, allocations: 1.006 MB / 0.7349 GB, free: 2.723 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.314e-06/0.7393, allocations: 0 / 0.7349 GB, free: 2.723 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005731/0.7399, allocations: 147.8 kB / 0.735 GB, free: 2.578 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000642/0.7406, allocations: 84.72 kB / 0.7351 GB, free: 2.492 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.112e-05/0.7406, allocations: 23.98 kB / 0.7351 GB, free: 2.469 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002005/0.7427, allocations: 1.559 MB / 0.7367 GB, free: 0.7695 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.576e-06/0.7427, allocations: 3.938 kB / 0.7367 GB, free: 0.7656 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002126/0.7448, allocations: 0.9511 MB / 0.7376 GB, free: 15.79 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005272/0.7454, allocations: 307.4 kB / 0.7379 GB, free: 15.47 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001716/0.7455, allocations: 19.94 kB / 0.7379 GB, free: 15.45 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007727/0.7463, allocations: 91.8 kB / 0.738 GB, free: 15.36 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001752/0.7465, allocations: 64.91 kB / 0.738 GB, free: 15.3 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.46e-05/0.7466, allocations: 39.97 kB / 0.7381 GB, free: 15.26 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0009165/0.7475, allocations: 0.5503 MB / 0.7386 GB, free: 14.7 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.01e-07/0.7475, allocations: 8 kB / 0.7386 GB, free: 14.69 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.00103/0.7486, allocations: 343.1 kB / 0.739 GB, free: 14.36 MB / 0.5606 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.001477/0.7501, allocations: 0.5992 MB / 0.7395 GB, free: 13.94 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001819/0.7519, allocations: 0.8358 MB / 0.7404 GB, free: 13.09 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 6.121e-06/0.7519, allocations: 0 / 0.7404 GB, free: 13.09 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0009776/0.7529, allocations: 0.5158 MB / 0.7409 GB, free: 12.57 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002082/0.755, allocations: 422.3 kB / 0.7413 GB, free: 12.16 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003947/0.759, allocations: 2.456 MB / 0.7437 GB, free: 9.684 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007472/0.7597, allocations: 1.102 MB / 0.7447 GB, free: 8.559 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001022/0.7608, allocations: 283.6 kB / 0.745 GB, free: 8.277 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002895/0.7611, allocations: 111.4 kB / 0.7451 GB, free: 8.168 MB / 0.5606 GB Notification: Performance of SimCode: time 9.52e-07/0.7611, allocations: 0 / 0.7451 GB, free: 8.168 MB / 0.5606 GB Notification: Performance of Templates: time 0.03233/0.7934, allocations: 16.56 MB / 0.7613 GB, free: 7.793 MB / 0.5762 GB make -j1 -f IBPSA_latest_IBPSA.Utilities.IO.SignalExchange.Examples.WeatherStation.makefile (rm -f IBPSA_latest_IBPSA.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.IO.SignalExchange.Examples.WeatherStation.sim & ./IBPSA_latest_IBPSA.Utilities.IO.SignalExchange.Examples.WeatherStation -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe 2>&1)