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.0009702/0.0009736, allocations: 100.1 kB / 16.4 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.001015/0.001015, allocations: 197.1 kB / 17.34 MB, free: 5.582 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.353/1.353, allocations: 222.9 MB / 241 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7962/0.7962, allocations: 126.1 MB / 417.3 MB, free: 12.8 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001212/0.001212, allocations: 62.23 kB / 0.5731 GB, free: 27.19 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1606/0.1618, allocations: 78.71 MB / 0.6499 GB, free: 4.125 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.IO.SignalExchange.Examples.WeatherStation): time 0.01149/0.1734, allocations: 5.596 MB / 0.6554 GB, free: 14.5 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.697/0.8704, allocations: 150.9 MB / 0.8027 GB, free: 12.66 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001063/0.8715, allocations: 30.44 kB / 0.8028 GB, free: 12.64 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0007943/0.8723, allocations: 365.9 kB / 0.8031 GB, free: 12.5 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001659/0.8741, allocations: 0.5586 MB / 0.8037 GB, free: 12.32 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001726/0.8758, allocations: 0.8806 MB / 0.8045 GB, free: 12.25 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001462/0.8773, allocations: 1.558 MB / 0.806 GB, free: 11.96 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009469/0.8782, allocations: 0.7676 MB / 0.8068 GB, free: 11.76 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006505/0.8789, allocations: 0.5381 MB / 0.8073 GB, free: 11.65 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005142/0.8794, allocations: 0.5621 MB / 0.8079 GB, free: 11.5 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001509/0.8796, allocations: 133.5 kB / 0.808 GB, free: 11.5 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000835/0.8804, allocations: 0.496 MB / 0.8085 GB, free: 11.48 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002427/0.8807, allocations: 336.4 kB / 0.8088 GB, free: 11.42 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0004676/0.8811, allocations: 0.6652 MB / 0.8094 GB, free: 11.21 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001811/0.883, allocations: 1.919 MB / 0.8113 GB, free: 10.79 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.883, allocations: 0 / 0.8113 GB, free: 10.79 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.382e-06/0.883, allocations: 0 / 0.8113 GB, free: 10.79 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 2.181e-05/0.883, allocations: 0 / 0.8113 GB, free: 10.79 MB / 0.5919 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.00245/0.8855, allocations: 1.731 MB / 0.813 GB, free: 9.652 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.493e-05/0.8855, allocations: 7.969 kB / 0.813 GB, free: 9.652 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009167/0.8864, allocations: 223 kB / 0.8132 GB, free: 9.543 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001223/0.8877, allocations: 0.9204 MB / 0.8141 GB, free: 8.992 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.438e-05/0.8877, allocations: 73.84 kB / 0.8142 GB, free: 8.988 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001119/0.8878, allocations: 100.7 kB / 0.8143 GB, free: 8.988 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001642/0.8895, allocations: 1.032 MB / 0.8153 GB, free: 8.648 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.414e-05/0.8895, allocations: 2.531 kB / 0.8153 GB, free: 8.648 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.475e-05/0.8896, allocations: 42.44 kB / 0.8153 GB, free: 8.645 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.758e-05/0.8897, allocations: 24.84 kB / 0.8154 GB, free: 8.645 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001709/0.8914, allocations: 1.177 MB / 0.8165 GB, free: 8.344 MB / 0.5919 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.004087/0.8955, allocations: 3.008 MB / 0.8195 GB, free: 6.086 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001381/0.8969, allocations: 0.8017 MB / 0.8202 GB, free: 5.676 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005121/0.8974, allocations: 299.8 kB / 0.8205 GB, free: 5.523 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 7.64e-05/0.8975, allocations: 37.67 kB / 0.8206 GB, free: 5.512 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008772/0.8984, allocations: 494.1 kB / 0.821 GB, free: 5.199 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=78): time 2.494e-06/0.8984, allocations: 0 / 0.821 GB, free: 5.199 MB / 0.5919 GB Notification: Performance of matching and sorting (n=78): time 0.003119/0.9015, allocations: 1.209 MB / 0.8222 GB, free: 4.539 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001102/0.9016, allocations: 188.4 kB / 0.8224 GB, free: 4.32 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009492/0.9026, allocations: 0.7954 MB / 0.8232 GB, free: 3.855 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 5.957e-05/0.9026, allocations: 43.42 kB / 0.8232 GB, free: 3.812 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003625/0.903, allocations: 0.5136 MB / 0.8237 GB, free: 3.355 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001836/0.9032, allocations: 266.6 kB / 0.824 GB, free: 3.133 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002262/0.9034, allocations: 158.7 kB / 0.8241 GB, free: 3.039 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001121/0.9036, allocations: 338.8 kB / 0.8244 GB, free: 2.707 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000492/0.9041, allocations: 274.6 kB / 0.8247 GB, free: 2.57 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006215/0.9047, allocations: 358.4 kB / 0.825 GB, free: 2.359 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001125/0.9058, allocations: 0.6021 MB / 0.8256 GB, free: 2.035 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.9058, allocations: 0 / 0.8256 GB, free: 2.035 MB / 0.5919 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.001813/0.9077, allocations: 0.8725 MB / 0.8265 GB, free: 1.582 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.932e-05/0.9077, allocations: 5.062 kB / 0.8265 GB, free: 1.582 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.394e-06/0.9077, allocations: 0 / 0.8265 GB, free: 1.582 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005722/0.9083, allocations: 82.28 kB / 0.8266 GB, free: 1.543 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006157/0.9089, allocations: 161.6 kB / 0.8267 GB, free: 1.5 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002113/0.911, allocations: 1.647 MB / 0.8283 GB, free: 15.89 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007977/0.9118, allocations: 101.5 kB / 0.8284 GB, free: 15.82 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.188e-05/0.9119, allocations: 30.17 kB / 0.8284 GB, free: 15.81 MB / 0.6075 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.0005498/0.9125, allocations: 296.8 kB / 0.8287 GB, free: 15.59 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002038/0.9127, allocations: 107.5 kB / 0.8288 GB, free: 15.53 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00232/0.915, allocations: 1.064 MB / 0.8299 GB, free: 14.94 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.037e-05/0.915, allocations: 17.81 kB / 0.8299 GB, free: 14.93 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.9151, allocations: 0 / 0.8299 GB, free: 14.93 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.304e-05/0.9151, allocations: 7.922 kB / 0.8299 GB, free: 14.93 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001253/0.9163, allocations: 1.006 MB / 0.8309 GB, free: 14.2 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.881e-06/0.9163, allocations: 2.75 kB / 0.8309 GB, free: 14.2 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005385/0.9169, allocations: 137.6 kB / 0.831 GB, free: 14.16 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004304/0.9173, allocations: 78.66 kB / 0.8311 GB, free: 14.12 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.991e-05/0.9174, allocations: 23.45 kB / 0.8311 GB, free: 14.11 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001898/0.9193, allocations: 1.669 MB / 0.8327 GB, free: 12.48 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.9193, allocations: 0 / 0.8327 GB, free: 12.48 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002046/0.9214, allocations: 0.9542 MB / 0.8337 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005145/0.9219, allocations: 290.4 kB / 0.834 GB, free: 11.71 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002007/0.9221, allocations: 23.28 kB / 0.834 GB, free: 11.7 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006633/0.9228, allocations: 63.86 kB / 0.834 GB, free: 11.66 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001574/0.923, allocations: 65.41 kB / 0.8341 GB, free: 11.63 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.428e-05/0.923, allocations: 38.16 kB / 0.8341 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0008072/0.9239, allocations: 0.5657 MB / 0.8347 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9239, allocations: 0 / 0.8347 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.001001/0.9249, allocations: 347.7 kB / 0.835 GB, free: 11.17 MB / 0.6075 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.001518/0.9264, allocations: 0.6027 MB / 0.8356 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001709/0.9281, allocations: 0.8264 MB / 0.8364 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.268e-06/0.9281, allocations: 0 / 0.8364 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.001046/0.9292, allocations: 0.5144 MB / 0.8369 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001782/0.931, allocations: 477.8 kB / 0.8374 GB, free: 9.934 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003458/0.9345, allocations: 1.948 MB / 0.8393 GB, free: 8.766 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006835/0.9352, allocations: 1.104 MB / 0.8404 GB, free: 7.836 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0008764/0.936, allocations: 295.6 kB / 0.8406 GB, free: 7.543 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002768/0.9363, allocations: 111.4 kB / 0.8407 GB, free: 7.434 MB / 0.6075 GB Notification: Performance of SimCode: time 6.31e-07/0.9363, allocations: 0 / 0.8407 GB, free: 7.434 MB / 0.6075 GB Notification: Performance of Templates: time 0.03034/0.9667, allocations: 17.52 MB / 0.8579 GB, free: 6.082 MB / 0.6231 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)