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.0009995/0.0009995, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.007749/0.007749, allocations: 169.2 kB / 16.26 MB, free: 6.652 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.3/1.3, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001709/0.001709, allocations: 274.7 kB / 291.7 MB, free: 1.867 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.002/1.002, allocations: 169.5 MB / 0.5004 GB, free: 14.12 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003858/0.0003858, allocations: 12.75 kB / 0.5987 GB, free: 28.06 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.15/0.1504, allocations: 88.55 MB / 0.6851 GB, free: 15.07 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.IO.SignalExchange.Examples.WeatherStation): time 0.005593/0.1561, allocations: 4.647 MB / 0.6897 GB, free: 10.4 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.4469/0.603, allocations: 146.9 MB / 0.8331 GB, free: 11.79 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005008/0.6035, allocations: 21.72 kB / 0.8332 GB, free: 11.78 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0006199/0.6041, allocations: 281.8 kB / 0.8334 GB, free: 11.59 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001168/0.6053, allocations: 456.5 kB / 0.8339 GB, free: 11.34 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001522/0.6068, allocations: 0.7362 MB / 0.8346 GB, free: 11.03 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001291/0.6081, allocations: 1.373 MB / 0.8359 GB, free: 10.21 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009608/0.6091, allocations: 0.7822 MB / 0.8367 GB, free: 9.723 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004371/0.6095, allocations: 377.2 kB / 0.837 GB, free: 9.516 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004274/0.61, allocations: 422.4 kB / 0.8374 GB, free: 9.234 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 7.346e-05/0.6101, allocations: 31.12 kB / 0.8375 GB, free: 9.23 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006076/0.6107, allocations: 375.1 kB / 0.8378 GB, free: 9.062 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.000185/0.6109, allocations: 211.5 kB / 0.838 GB, free: 8.918 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.000378/0.6113, allocations: 0.537 MB / 0.8386 GB, free: 8.504 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001372/0.6126, allocations: 1.715 MB / 0.8402 GB, free: 7.25 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.6127, allocations: 2.094 kB / 0.8402 GB, free: 7.25 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.633e-06/0.6127, allocations: 0 / 0.8402 GB, free: 7.25 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.406e-05/0.6127, allocations: 0 / 0.8402 GB, free: 7.25 MB / 0.5606 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.002184/0.6149, allocations: 1.414 MB / 0.8416 GB, free: 6.117 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.377e-05/0.6149, allocations: 8.938 kB / 0.8416 GB, free: 6.117 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008825/0.6158, allocations: 226 kB / 0.8418 GB, free: 6.012 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001095/0.6169, allocations: 0.8898 MB / 0.8427 GB, free: 5.293 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.861e-05/0.617, allocations: 74.56 kB / 0.8428 GB, free: 5.258 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001166/0.6171, allocations: 99.77 kB / 0.8429 GB, free: 5.223 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001599/0.6187, allocations: 1.043 MB / 0.8439 GB, free: 4.562 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.878e-05/0.6187, allocations: 3.188 kB / 0.8439 GB, free: 4.562 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.515e-05/0.6188, allocations: 43.72 kB / 0.8439 GB, free: 4.527 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.155e-05/0.6189, allocations: 24.66 kB / 0.844 GB, free: 4.527 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001707/0.6206, allocations: 1.17 MB / 0.8451 GB, free: 3.973 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004033/0.6246, allocations: 2.861 MB / 0.8479 GB, free: 1.824 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001339/0.626, allocations: 0.8075 MB / 0.8487 GB, free: 1.414 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000481/0.6265, allocations: 307.1 kB / 0.849 GB, free: 1.262 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 6.697e-05/0.6265, allocations: 34.84 kB / 0.849 GB, free: 1.242 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008117/0.6274, allocations: 0.4938 MB / 0.8495 GB, free: 0.918 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=78): time 1.763e-06/0.6274, allocations: 0 / 0.8495 GB, free: 0.918 MB / 0.5606 GB Notification: Performance of matching and sorting (n=78): time 0.002856/0.6302, allocations: 1.218 MB / 0.8507 GB, free: 272 kB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000103/0.6303, allocations: 188.6 kB / 0.8509 GB, free: 44 kB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009078/0.6313, allocations: 0.799 MB / 0.8517 GB, free: 15.57 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 6.236e-05/0.6313, allocations: 42.52 kB / 0.8517 GB, free: 15.53 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003913/0.6317, allocations: 0.5101 MB / 0.8522 GB, free: 15.07 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002038/0.6319, allocations: 246.8 kB / 0.8524 GB, free: 14.86 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.397e-05/0.632, allocations: 70.33 kB / 0.8525 GB, free: 14.81 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001318/0.6322, allocations: 337.9 kB / 0.8528 GB, free: 14.48 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004903/0.6327, allocations: 268.4 kB / 0.8531 GB, free: 14.36 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005711/0.6333, allocations: 370.9 kB / 0.8534 GB, free: 14.14 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001003/0.6343, allocations: 0.6068 MB / 0.854 GB, free: 13.82 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.536e-06/0.6343, allocations: 2.562 kB / 0.854 GB, free: 13.82 MB / 0.5762 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.001761/0.636, allocations: 0.8684 MB / 0.8549 GB, free: 13.38 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.477e-05/0.6361, allocations: 9.906 kB / 0.8549 GB, free: 13.37 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.011e-06/0.6361, allocations: 0 / 0.8549 GB, free: 13.37 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000568/0.6367, allocations: 83.16 kB / 0.855 GB, free: 13.33 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005815/0.6373, allocations: 166.6 kB / 0.8551 GB, free: 13.29 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001901/0.6392, allocations: 1.527 MB / 0.8566 GB, free: 11.79 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007187/0.6399, allocations: 102.2 kB / 0.8567 GB, free: 11.73 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.626e-05/0.64, allocations: 38.06 kB / 0.8567 GB, free: 11.71 MB / 0.5762 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.0004362/0.6404, allocations: 303.1 kB / 0.857 GB, free: 11.48 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001263/0.6405, allocations: 109 kB / 0.8571 GB, free: 11.42 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002212/0.6428, allocations: 1.077 MB / 0.8582 GB, free: 10.82 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.685e-06/0.6428, allocations: 10.91 kB / 0.8582 GB, free: 10.82 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.745e-06/0.6428, allocations: 3.938 kB / 0.8582 GB, free: 10.82 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.034e-05/0.6428, allocations: 3.984 kB / 0.8582 GB, free: 10.82 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001074/0.6439, allocations: 1.022 MB / 0.8592 GB, free: 10.05 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.809e-06/0.6439, allocations: 4 kB / 0.8592 GB, free: 10.05 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005191/0.6444, allocations: 141.7 kB / 0.8593 GB, free: 10.02 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000509/0.6449, allocations: 80.75 kB / 0.8594 GB, free: 9.977 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.439e-05/0.645, allocations: 28.41 kB / 0.8594 GB, free: 9.957 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001757/0.6468, allocations: 1.556 MB / 0.861 GB, free: 8.441 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.587e-06/0.6468, allocations: 3.938 kB / 0.861 GB, free: 8.438 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001814/0.6486, allocations: 0.9529 MB / 0.8619 GB, free: 7.93 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003522/0.649, allocations: 306.2 kB / 0.8622 GB, free: 7.664 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001142/0.6491, allocations: 21.8 kB / 0.8622 GB, free: 7.648 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006058/0.6497, allocations: 75.5 kB / 0.8623 GB, free: 7.617 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001292/0.6499, allocations: 69.95 kB / 0.8623 GB, free: 7.582 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.908e-05/0.6499, allocations: 34.2 kB / 0.8624 GB, free: 7.57 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0006609/0.6506, allocations: 0.5548 MB / 0.8629 GB, free: 7.242 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6506, allocations: 0 / 0.8629 GB, free: 7.242 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.000817/0.6514, allocations: 332.3 kB / 0.8632 GB, free: 7.145 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.001307/0.6527, allocations: 0.6046 MB / 0.8638 GB, free: 6.848 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001543/0.6543, allocations: 0.8353 MB / 0.8646 GB, free: 6.406 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.799e-06/0.6543, allocations: 0 / 0.8646 GB, free: 6.406 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0008474/0.6552, allocations: 0.5251 MB / 0.8652 GB, free: 6.105 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00159/0.6568, allocations: 410.6 kB / 0.8656 GB, free: 5.902 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004174/0.6609, allocations: 2.601 MB / 0.8681 GB, free: 3.566 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005977/0.6616, allocations: 1.098 MB / 0.8692 GB, free: 2.445 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0008523/0.6624, allocations: 283.6 kB / 0.8694 GB, free: 2.164 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002644/0.6627, allocations: 123.3 kB / 0.8696 GB, free: 2.043 MB / 0.5762 GB Notification: Performance of SimCode: time 3.81e-07/0.6627, allocations: 0 / 0.8696 GB, free: 2.043 MB / 0.5762 GB Notification: Performance of Templates: time 0.02504/0.6877, allocations: 16.18 MB / 0.8853 GB, free: 2.031 MB / 0.5919 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 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe 2>&1)