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.001271/0.001271, allocations: 107.3 kB / 17.04 MB, free: 6.082 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.001226/0.001226, allocations: 195 kB / 17.98 MB, free: 5.16 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.316/1.316, allocations: 222.9 MB / 241.7 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7186/0.7186, allocations: 115.1 MB / 406.9 MB, free: 6.34 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001205/0.001206, allocations: 67.89 kB / 494.8 MB, free: 15.88 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3199/0.3211, allocations: 76.14 MB / 0.5576 GB, free: 36.58 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.IO.SignalExchange.Examples.WeatherStation): time 0.006056/0.3272, allocations: 5.603 MB / 0.563 GB, free: 32.62 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1561/0.4833, allocations: 150.9 MB / 0.7104 GB, free: 7.539 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001226/0.4846, allocations: 27.81 kB / 0.7104 GB, free: 7.512 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0008412/0.4855, allocations: 361.3 kB / 0.7108 GB, free: 7.156 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001965/0.4875, allocations: 0.566 MB / 0.7113 GB, free: 6.59 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.002228/0.4897, allocations: 0.8847 MB / 0.7122 GB, free: 5.715 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001694/0.4914, allocations: 1.554 MB / 0.7137 GB, free: 4.152 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001126/0.4925, allocations: 0.7636 MB / 0.7144 GB, free: 3.352 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006882/0.4932, allocations: 0.537 MB / 0.715 GB, free: 2.812 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005975/0.4938, allocations: 0.5693 MB / 0.7155 GB, free: 2.242 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001567/0.494, allocations: 132 kB / 0.7156 GB, free: 2.113 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009133/0.4949, allocations: 0.4918 MB / 0.7161 GB, free: 1.621 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002768/0.4952, allocations: 334.9 kB / 0.7164 GB, free: 1.293 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0005189/0.4957, allocations: 0.6644 MB / 0.7171 GB, free: 0.625 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.002074/0.4978, allocations: 1.915 MB / 0.719 GB, free: 14.71 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.763e-06/0.4978, allocations: 0 / 0.719 GB, free: 14.71 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.535e-06/0.4979, allocations: 0 / 0.719 GB, free: 14.71 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.595e-05/0.4979, allocations: 0 / 0.719 GB, free: 14.71 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.002811/0.5007, allocations: 1.678 MB / 0.7206 GB, free: 12.98 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.859e-05/0.5007, allocations: 8.031 kB / 0.7206 GB, free: 12.97 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000907/0.5017, allocations: 219 kB / 0.7208 GB, free: 12.76 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001349/0.503, allocations: 0.9062 MB / 0.7217 GB, free: 11.81 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.978e-05/0.5031, allocations: 78 kB / 0.7218 GB, free: 11.73 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001366/0.5032, allocations: 99.98 kB / 0.7219 GB, free: 11.63 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00172/0.505, allocations: 1.032 MB / 0.7229 GB, free: 10.56 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.929e-05/0.505, allocations: 0 / 0.7229 GB, free: 10.56 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.358e-05/0.5051, allocations: 43.94 kB / 0.7229 GB, free: 10.52 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.063e-05/0.5051, allocations: 24 kB / 0.7229 GB, free: 10.5 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001822/0.5069, allocations: 1.163 MB / 0.7241 GB, free: 9.332 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.00425/0.5112, allocations: 3.014 MB / 0.727 GB, free: 6.199 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001442/0.5127, allocations: 0.8016 MB / 0.7278 GB, free: 5.391 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005244/0.5132, allocations: 300 kB / 0.7281 GB, free: 5.098 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 9.011e-05/0.5133, allocations: 28.59 kB / 0.7281 GB, free: 5.066 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008358/0.5141, allocations: 499.1 kB / 0.7286 GB, free: 4.562 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=78): time 2.074e-06/0.5142, allocations: 3.938 kB / 0.7286 GB, free: 4.559 MB / 0.5606 GB Notification: Performance of matching and sorting (n=78): time 0.003058/0.5172, allocations: 1.209 MB / 0.7298 GB, free: 3.32 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001182/0.5173, allocations: 188.6 kB / 0.73 GB, free: 3.094 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001013/0.5184, allocations: 0.795 MB / 0.7307 GB, free: 2.273 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 6.281e-05/0.5184, allocations: 41.7 kB / 0.7308 GB, free: 2.227 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003919/0.5188, allocations: 0.5117 MB / 0.7313 GB, free: 1.707 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001814/0.519, allocations: 248.4 kB / 0.7315 GB, free: 1.461 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002351/0.5193, allocations: 162.5 kB / 0.7317 GB, free: 1.293 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001173/0.5194, allocations: 337.9 kB / 0.732 GB, free: 0.957 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005054/0.5199, allocations: 265.8 kB / 0.7322 GB, free: 0.6992 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006053/0.5205, allocations: 363.1 kB / 0.7326 GB, free: 336 kB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00108/0.5216, allocations: 0.5994 MB / 0.7332 GB, free: 15.71 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.5216, allocations: 0 / 0.7332 GB, free: 15.71 MB / 0.5762 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.00188/0.5235, allocations: 0.8602 MB / 0.734 GB, free: 14.85 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.857e-05/0.5235, allocations: 12.09 kB / 0.734 GB, free: 14.84 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.462e-06/0.5236, allocations: 0 / 0.734 GB, free: 14.84 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007156/0.5243, allocations: 88.7 kB / 0.7341 GB, free: 14.75 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007475/0.525, allocations: 155.8 kB / 0.7343 GB, free: 14.59 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002002/0.5271, allocations: 1.638 MB / 0.7359 GB, free: 12.81 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007379/0.5278, allocations: 87.33 kB / 0.7359 GB, free: 12.72 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.044e-05/0.5279, allocations: 39.97 kB / 0.736 GB, free: 12.68 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.0004673/0.5284, allocations: 299.5 kB / 0.7363 GB, free: 12.38 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001735/0.5285, allocations: 106.8 kB / 0.7364 GB, free: 12.27 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002333/0.5309, allocations: 1.074 MB / 0.7374 GB, free: 11.18 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.075e-06/0.5309, allocations: 8 kB / 0.7374 GB, free: 11.18 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.017e-06/0.5309, allocations: 3.938 kB / 0.7374 GB, free: 11.17 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.776e-06/0.5309, allocations: 3.984 kB / 0.7374 GB, free: 11.17 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001145/0.5321, allocations: 1.001 MB / 0.7384 GB, free: 10.12 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.268e-06/0.5321, allocations: 3.938 kB / 0.7384 GB, free: 10.11 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005823/0.5327, allocations: 139.8 kB / 0.7385 GB, free: 9.977 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004476/0.5331, allocations: 76.78 kB / 0.7386 GB, free: 9.898 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.667e-05/0.5332, allocations: 27.92 kB / 0.7386 GB, free: 9.871 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001876/0.5351, allocations: 1.678 MB / 0.7403 GB, free: 8.047 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.016e-06/0.5351, allocations: 4.031 kB / 0.7403 GB, free: 8.043 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001978/0.5371, allocations: 0.9432 MB / 0.7412 GB, free: 7.082 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004501/0.5375, allocations: 287.5 kB / 0.7415 GB, free: 6.781 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001344/0.5377, allocations: 16 kB / 0.7415 GB, free: 6.766 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006145/0.5383, allocations: 67.92 kB / 0.7416 GB, free: 6.699 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001447/0.5385, allocations: 72.84 kB / 0.7416 GB, free: 6.629 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.639e-05/0.5385, allocations: 27.98 kB / 0.7417 GB, free: 6.602 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0007243/0.5393, allocations: 0.5581 MB / 0.7422 GB, free: 6.031 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.5e-07/0.5393, allocations: 0 / 0.7422 GB, free: 6.031 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.000853/0.5401, allocations: 347 kB / 0.7425 GB, free: 5.691 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.001326/0.5415, allocations: 0.6075 MB / 0.7431 GB, free: 5.293 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001686/0.5432, allocations: 0.8195 MB / 0.7439 GB, free: 4.457 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.577e-06/0.5432, allocations: 4.188 kB / 0.7439 GB, free: 4.453 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0009108/0.5441, allocations: 0.5119 MB / 0.7444 GB, free: 3.93 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001558/0.5457, allocations: 469.5 kB / 0.7449 GB, free: 3.508 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003111/0.5488, allocations: 1.924 MB / 0.7468 GB, free: 1.551 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006774/0.5495, allocations: 1.098 MB / 0.7478 GB, free: 440 kB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.000815/0.5503, allocations: 287.6 kB / 0.7481 GB, free: 148 kB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002679/0.5506, allocations: 111.4 kB / 0.7482 GB, free: 36 kB / 0.5762 GB Notification: Performance of SimCode: time 5.71e-07/0.5506, allocations: 0 / 0.7482 GB, free: 36 kB / 0.5762 GB Notification: Performance of Templates: time 0.2408/0.7913, allocations: 17.38 MB / 0.7652 GB, free: 169 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 -s gbode -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe 2>&1)