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.0009164/0.0009165, allocations: 90.2 kB / 16.67 MB, free: 6.23 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.001043/0.001043, allocations: 182.9 kB / 17.58 MB, free: 5.863 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.372/1.372, allocations: 223.3 MB / 241.6 MB, free: 228 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7174/0.7174, allocations: 115.5 MB / 408.2 MB, free: 7 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000336/0.0003361, allocations: 8 kB / 496.5 MB, free: 15.68 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.361/0.3614, allocations: 77.51 MB / 0.5606 GB, free: 36.17 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.IO.SignalExchange.Examples.WeatherStation): time 0.004933/0.3664, allocations: 5.131 MB / 0.5656 GB, free: 32.44 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1552/0.5216, allocations: 147 MB / 0.7091 GB, free: 10.8 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001079/0.5228, allocations: 23.81 kB / 0.7092 GB, free: 10.77 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0009669/0.5237, allocations: 298.1 kB / 0.7094 GB, free: 10.48 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001821/0.5256, allocations: 478.6 kB / 0.7099 GB, free: 10.02 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001758/0.5273, allocations: 0.7623 MB / 0.7106 GB, free: 9.262 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001577/0.5289, allocations: 1.449 MB / 0.7121 GB, free: 7.805 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000974/0.5299, allocations: 0.7199 MB / 0.7128 GB, free: 7.047 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005269/0.5305, allocations: 397.9 kB / 0.7131 GB, free: 6.656 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004659/0.5309, allocations: 433.3 kB / 0.7135 GB, free: 6.23 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 7.813e-05/0.531, allocations: 28 kB / 0.7136 GB, free: 6.203 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007165/0.5317, allocations: 371.6 kB / 0.7139 GB, free: 5.84 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002036/0.532, allocations: 210.9 kB / 0.7141 GB, free: 5.633 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0004267/0.5324, allocations: 0.545 MB / 0.7147 GB, free: 5.078 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001223/0.5336, allocations: 1.387 MB / 0.716 GB, free: 3.688 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 2.766e-06/0.5336, allocations: 0 / 0.716 GB, free: 3.688 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.002e-06/0.5336, allocations: 4 kB / 0.716 GB, free: 3.684 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.304e-05/0.5337, allocations: 0 / 0.716 GB, free: 3.684 MB / 0.545 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.002282/0.5359, allocations: 1.425 MB / 0.7174 GB, free: 2.211 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.435e-05/0.536, allocations: 11.97 kB / 0.7174 GB, free: 2.199 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008884/0.5369, allocations: 227 kB / 0.7176 GB, free: 1.977 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001152/0.538, allocations: 0.8906 MB / 0.7185 GB, free: 1.043 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.444e-05/0.5381, allocations: 74 kB / 0.7186 GB, free: 0.9688 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001185/0.5382, allocations: 96 kB / 0.7187 GB, free: 0.875 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001677/0.5399, allocations: 1.039 MB / 0.7197 GB, free: 15.79 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.708e-05/0.54, allocations: 3.938 kB / 0.7197 GB, free: 15.79 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.183e-05/0.5401, allocations: 47.98 kB / 0.7197 GB, free: 15.74 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.091e-05/0.5401, allocations: 24 kB / 0.7198 GB, free: 15.72 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00181/0.5419, allocations: 1.179 MB / 0.7209 GB, free: 14.54 MB / 0.5606 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.004242/0.5462, allocations: 3.063 MB / 0.7239 GB, free: 11.36 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001412/0.5476, allocations: 0.8014 MB / 0.7247 GB, free: 10.55 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005105/0.5481, allocations: 306.6 kB / 0.725 GB, free: 10.25 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 7.17e-05/0.5482, allocations: 28.61 kB / 0.725 GB, free: 10.22 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008617/0.549, allocations: 0.4892 MB / 0.7255 GB, free: 9.715 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=78): time 3.707e-06/0.5491, allocations: 3.984 kB / 0.7255 GB, free: 9.711 MB / 0.5606 GB Notification: Performance of matching and sorting (n=78): time 0.003007/0.5521, allocations: 1.217 MB / 0.7267 GB, free: 8.465 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.759e-05/0.5522, allocations: 192.6 kB / 0.7269 GB, free: 8.234 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009626/0.5532, allocations: 0.8068 MB / 0.7276 GB, free: 7.402 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 6.154e-05/0.5532, allocations: 37.7 kB / 0.7277 GB, free: 7.359 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003898/0.5536, allocations: 0.504 MB / 0.7282 GB, free: 6.848 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002012/0.5538, allocations: 256.3 kB / 0.7284 GB, free: 6.594 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.912e-05/0.5539, allocations: 69.67 kB / 0.7285 GB, free: 6.52 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001219/0.5541, allocations: 337.9 kB / 0.7288 GB, free: 6.184 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005177/0.5546, allocations: 269.9 kB / 0.7291 GB, free: 5.918 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006044/0.5552, allocations: 371.1 kB / 0.7294 GB, free: 5.539 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00109/0.5563, allocations: 0.6073 MB / 0.73 GB, free: 4.918 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.5563, allocations: 0 / 0.73 GB, free: 4.918 MB / 0.5606 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.001858/0.5582, allocations: 0.872 MB / 0.7309 GB, free: 4.039 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.689e-05/0.5582, allocations: 7.938 kB / 0.7309 GB, free: 4.031 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.062e-06/0.5582, allocations: 0 / 0.7309 GB, free: 4.031 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005988/0.5588, allocations: 92.8 kB / 0.731 GB, free: 3.938 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006217/0.5594, allocations: 155.8 kB / 0.7311 GB, free: 3.785 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002204/0.5617, allocations: 1.532 MB / 0.7326 GB, free: 2.113 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007848/0.5625, allocations: 108.9 kB / 0.7327 GB, free: 2.008 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.833e-05/0.5625, allocations: 35.97 kB / 0.7327 GB, free: 1.973 MB / 0.5606 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.0005266/0.5631, allocations: 300.1 kB / 0.733 GB, free: 1.668 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000145/0.5632, allocations: 106.7 kB / 0.7331 GB, free: 1.562 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002466/0.5657, allocations: 1.086 MB / 0.7342 GB, free: 480 kB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.247e-05/0.5657, allocations: 12 kB / 0.7342 GB, free: 468 kB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.478e-06/0.5657, allocations: 0 / 0.7342 GB, free: 468 kB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.838e-06/0.5658, allocations: 7.984 kB / 0.7342 GB, free: 460 kB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0013/0.5671, allocations: 1.005 MB / 0.7352 GB, free: 15.39 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.84e-06/0.5671, allocations: 3.938 kB / 0.7352 GB, free: 15.39 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005495/0.5676, allocations: 139.8 kB / 0.7353 GB, free: 15.25 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005434/0.5682, allocations: 88.77 kB / 0.7354 GB, free: 15.16 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.223e-05/0.5683, allocations: 23.98 kB / 0.7354 GB, free: 15.14 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001909/0.5702, allocations: 1.571 MB / 0.737 GB, free: 13.43 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.5702, allocations: 0 / 0.737 GB, free: 13.43 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002008/0.5722, allocations: 0.951 MB / 0.7379 GB, free: 12.45 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004486/0.5727, allocations: 299.4 kB / 0.7382 GB, free: 12.14 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001553/0.5728, allocations: 16 kB / 0.7382 GB, free: 12.12 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006945/0.5735, allocations: 87.86 kB / 0.7383 GB, free: 12.04 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001453/0.5737, allocations: 72.91 kB / 0.7384 GB, free: 11.97 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.71e-05/0.5738, allocations: 31.97 kB / 0.7384 GB, free: 11.94 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0008461/0.5746, allocations: 0.5581 MB / 0.7389 GB, free: 11.37 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5746, allocations: 0 / 0.7389 GB, free: 11.37 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0009319/0.5756, allocations: 339.1 kB / 0.7393 GB, free: 11.04 MB / 0.5762 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.001406/0.577, allocations: 0.6003 MB / 0.7398 GB, free: 10.64 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001699/0.5787, allocations: 0.8235 MB / 0.7406 GB, free: 9.805 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 6.031e-06/0.5787, allocations: 4.188 kB / 0.7406 GB, free: 9.801 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0009135/0.5796, allocations: 0.5235 MB / 0.7412 GB, free: 9.266 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001758/0.5814, allocations: 432 kB / 0.7416 GB, free: 8.852 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003768/0.5852, allocations: 2.493 MB / 0.744 GB, free: 6.328 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000733/0.5859, allocations: 1.099 MB / 0.7451 GB, free: 5.203 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003263/0.5863, allocations: 115.4 kB / 0.7452 GB, free: 5.09 MB / 0.5762 GB Notification: Performance of SimCode: time 1.814e-06/0.5863, allocations: 4 kB / 0.7452 GB, free: 5.086 MB / 0.5762 GB Notification: Performance of Templates: time 0.2821/0.8684, allocations: 22.1 MB / 0.7668 GB, free: 167.3 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)