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.001046/0.001046, allocations: 116.3 kB / 17.06 MB, free: 6.012 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.0009929/0.0009929, allocations: 195 kB / 17.99 MB, free: 5.098 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.347/1.347, allocations: 222.9 MB / 241.7 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7413/0.7413, allocations: 115.3 MB / 407.1 MB, free: 6.188 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001246/0.001246, allocations: 70.3 kB / 0.5582 GB, free: 32.25 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1609/0.1622, allocations: 76.17 MB / 0.6326 GB, free: 4.492 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.IO.SignalExchange.Examples.WeatherStation): time 0.007192/0.1694, allocations: 5.595 MB / 0.638 GB, free: 14.86 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.6138/0.7833, allocations: 150.9 MB / 0.7854 GB, free: 14.39 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001393/0.7848, allocations: 26.84 kB / 0.7854 GB, free: 14.38 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0009497/0.7857, allocations: 362.7 kB / 0.7858 GB, free: 14.23 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.00197/0.7878, allocations: 0.5653 MB / 0.7863 GB, free: 14.05 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001999/0.7898, allocations: 0.877 MB / 0.7872 GB, free: 13.98 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001863/0.7917, allocations: 1.563 MB / 0.7887 GB, free: 13.75 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00107/0.7927, allocations: 0.7603 MB / 0.7894 GB, free: 13.56 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000782/0.7935, allocations: 0.535 MB / 0.79 GB, free: 13.54 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006665/0.7942, allocations: 0.5682 MB / 0.7905 GB, free: 13.46 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001901/0.7944, allocations: 136 kB / 0.7906 GB, free: 13.46 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001045/0.7955, allocations: 0.492 MB / 0.7911 GB, free: 13.44 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002951/0.7958, allocations: 340.4 kB / 0.7914 GB, free: 13.38 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0005945/0.7964, allocations: 0.6612 MB / 0.7921 GB, free: 13.16 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001941/0.7983, allocations: 1.908 MB / 0.794 GB, free: 12.85 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.089e-06/0.7983, allocations: 0 / 0.794 GB, free: 12.85 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.753e-06/0.7984, allocations: 0 / 0.794 GB, free: 12.85 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 2.233e-05/0.7984, allocations: 0 / 0.794 GB, free: 12.85 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.002674/0.8011, allocations: 1.688 MB / 0.7956 GB, free: 11.94 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.895e-05/0.8011, allocations: 7.906 kB / 0.7956 GB, free: 11.94 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009393/0.8021, allocations: 214.3 kB / 0.7958 GB, free: 11.86 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001354/0.8034, allocations: 0.9132 MB / 0.7967 GB, free: 11.49 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.66e-05/0.8035, allocations: 75.56 kB / 0.7968 GB, free: 11.49 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001129/0.8036, allocations: 96.53 kB / 0.7969 GB, free: 11.49 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001544/0.8051, allocations: 1.029 MB / 0.7979 GB, free: 11.33 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.31e-05/0.8052, allocations: 4 kB / 0.7979 GB, free: 11.33 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.88e-05/0.8053, allocations: 40.06 kB / 0.7979 GB, free: 11.33 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.226e-05/0.8053, allocations: 28.91 kB / 0.7979 GB, free: 11.32 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001699/0.807, allocations: 1.168 MB / 0.7991 GB, free: 11.31 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.004302/0.8113, allocations: 3.009 MB / 0.802 GB, free: 9.859 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00139/0.8127, allocations: 0.7944 MB / 0.8028 GB, free: 9.73 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004827/0.8132, allocations: 299.1 kB / 0.8031 GB, free: 9.684 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 7.891e-05/0.8133, allocations: 38.97 kB / 0.8031 GB, free: 9.672 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007964/0.8141, allocations: 494.9 kB / 0.8036 GB, free: 9.484 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=78): time 2.585e-06/0.8141, allocations: 0 / 0.8036 GB, free: 9.484 MB / 0.5919 GB Notification: Performance of matching and sorting (n=78): time 0.002954/0.8171, allocations: 1.198 MB / 0.8048 GB, free: 9.125 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001184/0.8172, allocations: 197.9 kB / 0.805 GB, free: 8.902 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009617/0.8182, allocations: 0.7944 MB / 0.8057 GB, free: 8.633 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 6.69e-05/0.8183, allocations: 44.42 kB / 0.8058 GB, free: 8.602 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003719/0.8186, allocations: 0.5057 MB / 0.8063 GB, free: 8.344 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001961/0.8188, allocations: 252.4 kB / 0.8065 GB, free: 8.164 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002246/0.8191, allocations: 162.8 kB / 0.8067 GB, free: 8.117 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001309/0.8192, allocations: 335.5 kB / 0.807 GB, free: 7.801 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004936/0.8197, allocations: 271.1 kB / 0.8072 GB, free: 7.758 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000585/0.8203, allocations: 360 kB / 0.8076 GB, free: 7.656 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001027/0.8213, allocations: 0.5988 MB / 0.8082 GB, free: 7.562 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.8214, allocations: 0 / 0.8082 GB, free: 7.562 MB / 0.5919 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.001815/0.8232, allocations: 0.8668 MB / 0.809 GB, free: 7.344 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.112e-05/0.8232, allocations: 8.844 kB / 0.809 GB, free: 7.344 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.385e-05/0.8232, allocations: 0 / 0.809 GB, free: 7.344 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005848/0.8238, allocations: 85.17 kB / 0.8091 GB, free: 7.309 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007333/0.8246, allocations: 158 kB / 0.8093 GB, free: 7.273 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002284/0.8269, allocations: 1.65 MB / 0.8109 GB, free: 5.672 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008042/0.8277, allocations: 89.67 kB / 0.811 GB, free: 5.613 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.542e-05/0.8278, allocations: 38.66 kB / 0.811 GB, free: 5.598 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.0006339/0.8284, allocations: 292.9 kB / 0.8113 GB, free: 5.371 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002031/0.8286, allocations: 102.1 kB / 0.8114 GB, free: 5.316 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002384/0.831, allocations: 1.072 MB / 0.8124 GB, free: 4.715 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.083e-05/0.831, allocations: 14.06 kB / 0.8124 GB, free: 4.711 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.276e-06/0.831, allocations: 0 / 0.8124 GB, free: 4.711 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.246e-05/0.8311, allocations: 7.922 kB / 0.8124 GB, free: 4.703 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001368/0.8324, allocations: 1.012 MB / 0.8134 GB, free: 3.969 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.498e-06/0.8325, allocations: 0 / 0.8134 GB, free: 3.969 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005523/0.833, allocations: 140.1 kB / 0.8136 GB, free: 3.938 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004304/0.8335, allocations: 72.02 kB / 0.8136 GB, free: 3.898 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.197e-05/0.8335, allocations: 30.03 kB / 0.8137 GB, free: 3.879 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002049/0.8356, allocations: 1.667 MB / 0.8153 GB, free: 2.25 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.017e-06/0.8356, allocations: 3.984 kB / 0.8153 GB, free: 2.246 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001946/0.8375, allocations: 0.9415 MB / 0.8162 GB, free: 1.75 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004245/0.838, allocations: 289.8 kB / 0.8165 GB, free: 1.496 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001254/0.8381, allocations: 19.69 kB / 0.8165 GB, free: 1.484 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005854/0.8387, allocations: 62.22 kB / 0.8166 GB, free: 1.453 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001479/0.8389, allocations: 73.39 kB / 0.8166 GB, free: 1.41 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.399e-05/0.8389, allocations: 30.33 kB / 0.8167 GB, free: 1.402 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0007437/0.8397, allocations: 0.5596 MB / 0.8172 GB, free: 1.066 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.7e-07/0.8397, allocations: 0 / 0.8172 GB, free: 1.066 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0009441/0.8406, allocations: 346.9 kB / 0.8175 GB, free: 0.9648 MB / 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.001304/0.842, allocations: 0.6087 MB / 0.8181 GB, free: 0.6914 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001584/0.8436, allocations: 0.8226 MB / 0.8189 GB, free: 264 kB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 4.368e-06/0.8436, allocations: 1.812 kB / 0.8189 GB, free: 264 kB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0009026/0.8445, allocations: 0.514 MB / 0.8194 GB, free: 15.96 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001578/0.8461, allocations: 475.9 kB / 0.8199 GB, free: 15.73 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003155/0.8492, allocations: 1.964 MB / 0.8218 GB, free: 14.56 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006383/0.8499, allocations: 1.101 MB / 0.8229 GB, free: 13.68 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000291/0.8502, allocations: 114 kB / 0.823 GB, free: 13.65 MB / 0.6075 GB Notification: Performance of SimCode: time 4.31e-07/0.8502, allocations: 0 / 0.823 GB, free: 13.65 MB / 0.6075 GB Notification: Performance of Templates: time 0.03164/0.8818, allocations: 22.26 MB / 0.8447 GB, free: 10.36 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)