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.001261/0.001261, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001288/0.001289, allocations: 195.8 kB / 16.26 MB, free: 6.629 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.428/1.428, allocations: 222.9 MB / 239.9 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002508/0.002508, allocations: 282.6 kB / 290.4 MB, free: 2.137 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.094/1.094, allocations: 178.6 MB / 0.5069 GB, free: 4.734 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002839/0.002839, allocations: 101.6 kB / 0.6059 GB, free: 25.23 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1814/0.1843, allocations: 89.16 MB / 0.693 GB, free: 4.688 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.IO.SignalExchange.Examples.WeatherStation): time 0.008487/0.1928, allocations: 5.587 MB / 0.6984 GB, free: 15.09 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.4854/0.6782, allocations: 148.7 MB / 0.8436 GB, free: 8.855 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001235/0.6795, allocations: 26.22 kB / 0.8436 GB, free: 8.844 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0009081/0.6804, allocations: 310.4 kB / 0.8439 GB, free: 8.582 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.00183/0.6823, allocations: 498.6 kB / 0.8444 GB, free: 8.25 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001943/0.6842, allocations: 0.7796 MB / 0.8452 GB, free: 7.703 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001836/0.6861, allocations: 1.55 MB / 0.8467 GB, free: 6.754 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001086/0.6872, allocations: 0.7648 MB / 0.8474 GB, free: 6.293 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007625/0.6879, allocations: 0.5375 MB / 0.848 GB, free: 5.961 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000607/0.6885, allocations: 0.5717 MB / 0.8485 GB, free: 5.543 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001319/0.6887, allocations: 130.8 kB / 0.8486 GB, free: 5.543 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007927/0.6895, allocations: 475.1 kB / 0.8491 GB, free: 5.383 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0003018/0.6898, allocations: 334.3 kB / 0.8494 GB, free: 5.117 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0005833/0.6904, allocations: 0.66 MB / 0.8501 GB, free: 4.621 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.002226/0.6926, allocations: 1.863 MB / 0.8519 GB, free: 3.254 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.961e-06/0.6926, allocations: 2.281 kB / 0.8519 GB, free: 3.254 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.164e-06/0.6927, allocations: 0 / 0.8519 GB, free: 3.254 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 2.172e-05/0.6927, allocations: 0 / 0.8519 GB, free: 3.254 MB / 0.5762 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.003358/0.696, allocations: 1.684 MB / 0.8535 GB, free: 1.941 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.608e-05/0.6961, allocations: 11.5 kB / 0.8535 GB, free: 1.938 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009761/0.6971, allocations: 217 kB / 0.8537 GB, free: 1.832 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001288/0.6984, allocations: 0.8901 MB / 0.8546 GB, free: 1.113 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.53e-05/0.6985, allocations: 78.05 kB / 0.8547 GB, free: 1.074 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001191/0.6986, allocations: 91.19 kB / 0.8548 GB, free: 1.047 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001833/0.7004, allocations: 1.033 MB / 0.8558 GB, free: 404 kB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.526e-05/0.7005, allocations: 5.812 kB / 0.8558 GB, free: 400 kB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001051/0.7006, allocations: 40.25 kB / 0.8558 GB, free: 368 kB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.077e-05/0.7006, allocations: 25.22 kB / 0.8558 GB, free: 368 kB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001872/0.7025, allocations: 1.167 MB / 0.857 GB, free: 15.8 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.004879/0.7074, allocations: 3.046 MB / 0.86 GB, free: 13.4 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001459/0.7089, allocations: 0.7923 MB / 0.8607 GB, free: 13 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005168/0.7094, allocations: 301.4 kB / 0.861 GB, free: 12.85 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 8.582e-05/0.7095, allocations: 41.06 kB / 0.8611 GB, free: 12.82 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009644/0.7105, allocations: 492.9 kB / 0.8615 GB, free: 12.51 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=78): time 5.26e-06/0.7105, allocations: 0 / 0.8615 GB, free: 12.51 MB / 0.5919 GB Notification: Performance of matching and sorting (n=78): time 0.003134/0.7136, allocations: 1.209 MB / 0.8627 GB, free: 11.86 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001515/0.7138, allocations: 194.3 kB / 0.8629 GB, free: 11.63 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001065/0.7148, allocations: 0.7999 MB / 0.8637 GB, free: 11.16 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 7.404e-05/0.7149, allocations: 39.92 kB / 0.8637 GB, free: 11.12 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004951/0.7154, allocations: 0.5168 MB / 0.8642 GB, free: 10.66 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002604/0.7157, allocations: 248.8 kB / 0.8645 GB, free: 10.44 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000285/0.716, allocations: 159.2 kB / 0.8646 GB, free: 10.34 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.000188/0.7162, allocations: 339.1 kB / 0.8649 GB, free: 10.01 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005465/0.7167, allocations: 270.6 kB / 0.8652 GB, free: 9.879 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006801/0.7174, allocations: 358.6 kB / 0.8655 GB, free: 9.68 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001166/0.7186, allocations: 0.6019 MB / 0.8661 GB, free: 9.355 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.401e-06/0.7186, allocations: 3.984 kB / 0.8661 GB, free: 9.352 MB / 0.5919 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.001974/0.7206, allocations: 0.8602 MB / 0.867 GB, free: 8.91 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.18e-05/0.7206, allocations: 10.78 kB / 0.867 GB, free: 8.906 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.735e-06/0.7207, allocations: 0 / 0.867 GB, free: 8.906 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006026/0.7213, allocations: 89.52 kB / 0.8671 GB, free: 8.859 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006035/0.7219, allocations: 154.6 kB / 0.8672 GB, free: 8.824 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002434/0.7243, allocations: 1.649 MB / 0.8688 GB, free: 7.207 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008222/0.7252, allocations: 95.7 kB / 0.8689 GB, free: 7.145 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.379e-05/0.7252, allocations: 39.06 kB / 0.8689 GB, free: 7.129 MB / 0.5919 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.0005142/0.7258, allocations: 296.1 kB / 0.8692 GB, free: 6.891 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001857/0.726, allocations: 102.7 kB / 0.8693 GB, free: 6.789 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002493/0.7285, allocations: 1.076 MB / 0.8704 GB, free: 5.707 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.438e-06/0.7285, allocations: 8 kB / 0.8704 GB, free: 5.699 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.405e-06/0.7285, allocations: 0 / 0.8704 GB, free: 5.699 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.346e-05/0.7285, allocations: 15.91 kB / 0.8704 GB, free: 5.684 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001263/0.7298, allocations: 1.001 MB / 0.8714 GB, free: 4.633 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.456e-06/0.7298, allocations: 0 / 0.8714 GB, free: 4.633 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000579/0.7304, allocations: 147.8 kB / 0.8715 GB, free: 4.488 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004479/0.7308, allocations: 72.78 kB / 0.8716 GB, free: 4.414 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.642e-05/0.7309, allocations: 19.98 kB / 0.8716 GB, free: 4.395 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002061/0.733, allocations: 1.67 MB / 0.8732 GB, free: 2.578 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.569e-06/0.733, allocations: 4.062 kB / 0.8732 GB, free: 2.574 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002152/0.7351, allocations: 0.947 MB / 0.8742 GB, free: 1.605 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000515/0.7357, allocations: 291.5 kB / 0.8744 GB, free: 1.301 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000141/0.7358, allocations: 16 kB / 0.8745 GB, free: 1.285 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006511/0.7365, allocations: 63.92 kB / 0.8745 GB, free: 1.223 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001891/0.7367, allocations: 68.91 kB / 0.8746 GB, free: 1.156 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.552e-05/0.7368, allocations: 39.97 kB / 0.8746 GB, free: 1.117 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0009032/0.7377, allocations: 0.5581 MB / 0.8752 GB, free: 0.5469 MB / 0.5919 GB Notification: Performance of sort global known variables: time 3.01e-07/0.7377, allocations: 0 / 0.8752 GB, free: 0.5469 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001019/0.7387, allocations: 343 kB / 0.8755 GB, free: 216 kB / 0.5919 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.001961/0.7407, allocations: 0.6077 MB / 0.8761 GB, free: 15.77 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.002572/0.7433, allocations: 1.023 MB / 0.8771 GB, free: 14.74 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.7433, allocations: 0 / 0.8771 GB, free: 14.74 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0009504/0.7443, allocations: 0.5083 MB / 0.8776 GB, free: 14.22 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001786/0.7461, allocations: 480.7 kB / 0.878 GB, free: 13.8 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003984/0.75, allocations: 2.428 MB / 0.8804 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008162/0.7509, allocations: 1.102 MB / 0.8815 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.001037/0.7519, allocations: 299.5 kB / 0.8818 GB, free: 9.914 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002745/0.7522, allocations: 107.4 kB / 0.8819 GB, free: 9.809 MB / 0.6075 GB Notification: Performance of SimCode: time 8.02e-07/0.7522, allocations: 4 kB / 0.8819 GB, free: 9.805 MB / 0.6075 GB Notification: Performance of Templates: time 0.0332/0.7854, allocations: 17.27 MB / 0.8987 GB, free: 8.723 MB / 0.6231 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)