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.001416/0.001423, allocations: 103.4 kB / 16.52 MB, free: 6.727 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.001258/0.001258, allocations: 195.2 kB / 17.45 MB, free: 6.051 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.343/1.343, allocations: 222.9 MB / 241.1 MB, free: 15.47 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7165/0.7165, allocations: 115.3 MB / 406.6 MB, free: 6.355 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001495/0.001495, allocations: 63.89 kB / 493.6 MB, free: 0.8242 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3302/0.3317, allocations: 76.17 MB / 0.5564 GB, free: 36.24 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.IO.SignalExchange.Examples.WeatherStation): time 0.005821/0.3375, allocations: 5.577 MB / 0.5618 GB, free: 32.3 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.148/0.4856, allocations: 148.6 MB / 0.7069 GB, free: 10.03 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001232/0.4868, allocations: 27.81 kB / 0.7069 GB, free: 10 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0008812/0.4878, allocations: 298.1 kB / 0.7072 GB, free: 9.707 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001865/0.4896, allocations: 484.2 kB / 0.7077 GB, free: 9.234 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.00202/0.4917, allocations: 0.7581 MB / 0.7084 GB, free: 8.484 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001602/0.4933, allocations: 1.449 MB / 0.7098 GB, free: 7.027 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009808/0.4943, allocations: 0.7355 MB / 0.7106 GB, free: 6.254 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006066/0.4949, allocations: 481.9 kB / 0.711 GB, free: 5.781 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000529/0.4954, allocations: 0.5324 MB / 0.7115 GB, free: 5.246 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001269/0.4956, allocations: 64 kB / 0.7116 GB, free: 5.184 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008371/0.4964, allocations: 403.6 kB / 0.712 GB, free: 4.789 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002473/0.4967, allocations: 266.9 kB / 0.7122 GB, free: 4.527 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0005146/0.4972, allocations: 0.6018 MB / 0.7128 GB, free: 3.922 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001325/0.4985, allocations: 1.419 MB / 0.7142 GB, free: 2.5 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.4985, allocations: 0 / 0.7142 GB, free: 2.5 MB / 0.545 GB Notification: Performance of FrontEnd: time 8.31e-07/0.4985, allocations: 4 kB / 0.7142 GB, free: 2.496 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.591e-05/0.4986, allocations: 0 / 0.7142 GB, free: 2.496 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.002677/0.5012, allocations: 1.678 MB / 0.7159 GB, free: 0.7695 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.824e-05/0.5013, allocations: 11.97 kB / 0.7159 GB, free: 0.7578 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009398/0.5022, allocations: 223 kB / 0.7161 GB, free: 0.5391 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00119/0.5034, allocations: 0.8867 MB / 0.717 GB, free: 15.61 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.891e-05/0.5035, allocations: 70 kB / 0.717 GB, free: 15.54 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001262/0.5036, allocations: 96 kB / 0.7171 GB, free: 15.45 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001711/0.5054, allocations: 1.033 MB / 0.7181 GB, free: 14.38 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.869e-05/0.5054, allocations: 0 / 0.7181 GB, free: 14.38 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.965e-05/0.5055, allocations: 44 kB / 0.7182 GB, free: 14.33 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.796e-05/0.5055, allocations: 24 kB / 0.7182 GB, free: 14.31 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001774/0.5073, allocations: 1.175 MB / 0.7193 GB, free: 13.13 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.004241/0.5116, allocations: 3.031 MB / 0.7223 GB, free: 9.984 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001448/0.513, allocations: 0.8054 MB / 0.7231 GB, free: 9.172 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005283/0.5136, allocations: 306.6 kB / 0.7234 GB, free: 8.871 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 7.856e-05/0.5136, allocations: 32.61 kB / 0.7234 GB, free: 8.836 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009051/0.5146, allocations: 495 kB / 0.7239 GB, free: 8.336 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=78): time 2.114e-06/0.5146, allocations: 4 kB / 0.7239 GB, free: 8.332 MB / 0.5606 GB Notification: Performance of matching and sorting (n=78): time 0.003095/0.5177, allocations: 1.201 MB / 0.725 GB, free: 7.102 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001006/0.5178, allocations: 196.6 kB / 0.7252 GB, free: 6.867 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009855/0.5188, allocations: 0.8028 MB / 0.726 GB, free: 6.039 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 7.154e-05/0.5189, allocations: 37.7 kB / 0.7261 GB, free: 5.996 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003934/0.5193, allocations: 0.504 MB / 0.7265 GB, free: 5.484 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002012/0.5195, allocations: 252.4 kB / 0.7268 GB, free: 5.234 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002368/0.5197, allocations: 158.5 kB / 0.7269 GB, free: 5.07 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001245/0.5199, allocations: 341.9 kB / 0.7273 GB, free: 4.73 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005177/0.5204, allocations: 269.9 kB / 0.7275 GB, free: 4.469 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006204/0.521, allocations: 355.1 kB / 0.7279 GB, free: 4.105 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00108/0.5221, allocations: 0.6033 MB / 0.7285 GB, free: 3.488 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.976e-06/0.5221, allocations: 0 / 0.7285 GB, free: 3.488 MB / 0.5606 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.001943/0.5241, allocations: 0.868 MB / 0.7293 GB, free: 2.613 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.718e-05/0.5241, allocations: 4 kB / 0.7293 GB, free: 2.609 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.893e-06/0.5241, allocations: 4 kB / 0.7293 GB, free: 2.605 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006143/0.5247, allocations: 84.81 kB / 0.7294 GB, free: 2.52 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000653/0.5254, allocations: 155.8 kB / 0.7295 GB, free: 2.367 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002053/0.5275, allocations: 1.536 MB / 0.731 GB, free: 0.6914 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007763/0.5282, allocations: 91.31 kB / 0.7311 GB, free: 0.6016 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.162e-05/0.5283, allocations: 35.98 kB / 0.7312 GB, free: 0.5664 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.0004921/0.5288, allocations: 292.4 kB / 0.7314 GB, free: 276 kB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001849/0.529, allocations: 106.6 kB / 0.7315 GB, free: 168 kB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002356/0.5314, allocations: 1.082 MB / 0.7326 GB, free: 15.07 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.045e-06/0.5314, allocations: 11.94 kB / 0.7326 GB, free: 15.06 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.925e-06/0.5314, allocations: 0 / 0.7326 GB, free: 15.06 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.878e-06/0.5314, allocations: 7.984 kB / 0.7326 GB, free: 15.05 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001168/0.5326, allocations: 1.005 MB / 0.7336 GB, free: 14 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.266e-06/0.5326, allocations: 0 / 0.7336 GB, free: 14 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00058/0.5332, allocations: 139.8 kB / 0.7337 GB, free: 13.86 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005524/0.5338, allocations: 84.77 kB / 0.7338 GB, free: 13.77 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.028e-05/0.5338, allocations: 27.97 kB / 0.7338 GB, free: 13.75 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001894/0.5357, allocations: 1.551 MB / 0.7354 GB, free: 12.05 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-06/0.5358, allocations: 0 / 0.7354 GB, free: 12.05 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002045/0.5378, allocations: 0.9471 MB / 0.7363 GB, free: 11.09 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003723/0.5382, allocations: 287.5 kB / 0.7366 GB, free: 10.79 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000138/0.5383, allocations: 23.98 kB / 0.7366 GB, free: 10.76 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006311/0.539, allocations: 69.91 kB / 0.7366 GB, free: 10.7 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001456/0.5391, allocations: 72.89 kB / 0.7367 GB, free: 10.62 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.91e-05/0.5392, allocations: 32.05 kB / 0.7367 GB, free: 10.59 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0007354/0.5399, allocations: 0.5581 MB / 0.7373 GB, free: 10.02 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.8e-07/0.54, allocations: 0 / 0.7373 GB, free: 10.02 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0008633/0.5408, allocations: 347.1 kB / 0.7376 GB, free: 9.684 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.001382/0.5422, allocations: 0.6007 MB / 0.7382 GB, free: 9.289 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001693/0.5439, allocations: 0.8274 MB / 0.739 GB, free: 8.449 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.817e-06/0.5439, allocations: 0 / 0.739 GB, free: 8.449 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0009462/0.5449, allocations: 0.508 MB / 0.7395 GB, free: 7.926 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001599/0.5465, allocations: 421.2 kB / 0.7399 GB, free: 7.523 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00364/0.5502, allocations: 2.474 MB / 0.7423 GB, free: 5.016 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006555/0.5508, allocations: 1.098 MB / 0.7434 GB, free: 3.895 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003432/0.5512, allocations: 123.4 kB / 0.7435 GB, free: 3.773 MB / 0.5762 GB Notification: Performance of SimCode: time 5.41e-07/0.5512, allocations: 0 / 0.7435 GB, free: 3.773 MB / 0.5762 GB Notification: Performance of Templates: time 0.2444/0.7956, allocations: 22.24 MB / 0.7652 GB, free: 166.2 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)