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: "" <> buildModelFMU(IBPSA.Utilities.IO.SignalExchange.Examples.WeatherStation,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_IO_SignalExchange_Examples_WeatherStation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.IO.SignalExchange.Examples.WeatherStation,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_IO_SignalExchange_Examples_WeatherStation",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008697/0.0008697, allocations: 105.8 kB / 16.27 MB, free: 5.98 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.001248/0.001248, allocations: 189.5 kB / 17.2 MB, free: 5.609 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.139/1.139, allocations: 222.9 MB / 240.9 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7156/0.7156, allocations: 122.9 MB / 413.9 MB, free: 15.87 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001231/0.001231, allocations: 67.89 kB / 0.4912 GB, free: 7.348 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3076/0.3088, allocations: 77.92 MB / 0.5673 GB, free: 32.77 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.IO.SignalExchange.Examples.WeatherStation): time 0.006249/0.3151, allocations: 5.599 MB / 0.5727 GB, free: 28.79 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1471/0.4623, allocations: 150.9 MB / 0.7201 GB, free: 13.78 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001303/0.4636, allocations: 31.75 kB / 0.7201 GB, free: 13.75 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001089/0.4647, allocations: 357.3 kB / 0.7205 GB, free: 13.4 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.00241/0.4672, allocations: 0.5682 MB / 0.721 GB, free: 12.83 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002197/0.4694, allocations: 0.8673 MB / 0.7219 GB, free: 11.97 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001828/0.4712, allocations: 1.558 MB / 0.7234 GB, free: 10.4 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001072/0.4723, allocations: 0.7558 MB / 0.7241 GB, free: 9.609 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006914/0.473, allocations: 0.5409 MB / 0.7247 GB, free: 9.066 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006769/0.4737, allocations: 0.5683 MB / 0.7252 GB, free: 8.496 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0002213/0.4739, allocations: 132 kB / 0.7253 GB, free: 8.367 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008472/0.4748, allocations: 475.6 kB / 0.7258 GB, free: 7.902 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002946/0.4751, allocations: 334.9 kB / 0.7261 GB, free: 7.574 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0006266/0.4757, allocations: 0.6605 MB / 0.7268 GB, free: 6.91 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.00185/0.4776, allocations: 1.869 MB / 0.7286 GB, free: 5.035 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.4776, allocations: 0 / 0.7286 GB, free: 5.035 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.153e-06/0.4776, allocations: 0 / 0.7286 GB, free: 5.035 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 3.935e-05/0.4776, allocations: 0 / 0.7286 GB, free: 5.035 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.002955/0.4806, allocations: 1.686 MB / 0.7302 GB, free: 3.301 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.718e-05/0.4806, allocations: 12.62 kB / 0.7302 GB, free: 3.289 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001827/0.4808, allocations: 152.4 kB / 0.7304 GB, free: 3.133 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009807/0.4818, allocations: 215 kB / 0.7306 GB, free: 2.922 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001205/0.483, allocations: 0.8981 MB / 0.7315 GB, free: 1.98 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.489e-05/0.4831, allocations: 74 kB / 0.7315 GB, free: 1.906 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001167/0.4832, allocations: 96 kB / 0.7316 GB, free: 1.812 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001647/0.4849, allocations: 1.032 MB / 0.7326 GB, free: 0.7422 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.981e-05/0.4849, allocations: 0 / 0.7326 GB, free: 0.7422 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.119e-05/0.485, allocations: 44 kB / 0.7327 GB, free: 0.6992 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.087e-05/0.485, allocations: 24 kB / 0.7327 GB, free: 0.6758 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001851/0.4869, allocations: 1.167 MB / 0.7338 GB, free: 15.5 MB / 0.5762 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.004334/0.4912, allocations: 3.05 MB / 0.7368 GB, free: 12.34 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00147/0.4927, allocations: 0.7977 MB / 0.7376 GB, free: 11.54 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005273/0.4932, allocations: 298.7 kB / 0.7379 GB, free: 11.24 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 7.605e-05/0.4933, allocations: 36.59 kB / 0.7379 GB, free: 11.2 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008282/0.4942, allocations: 491.1 kB / 0.7384 GB, free: 10.7 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=78): time 1.964e-06/0.4942, allocations: 3.938 kB / 0.7384 GB, free: 10.7 MB / 0.5762 GB Notification: Performance of matching and sorting (n=78): time 0.003081/0.4973, allocations: 1.205 MB / 0.7396 GB, free: 9.465 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.853e-05/0.4974, allocations: 192.6 kB / 0.7398 GB, free: 9.234 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001003/0.4984, allocations: 0.8008 MB / 0.7405 GB, free: 8.406 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 6.869e-05/0.4985, allocations: 37.7 kB / 0.7406 GB, free: 8.363 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003967/0.4989, allocations: 0.5117 MB / 0.7411 GB, free: 7.844 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002079/0.4991, allocations: 256.4 kB / 0.7413 GB, free: 7.59 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002177/0.4993, allocations: 134.5 kB / 0.7414 GB, free: 7.449 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001246/0.4994, allocations: 337.9 kB / 0.7418 GB, free: 7.113 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005072/0.4999, allocations: 249.9 kB / 0.742 GB, free: 6.871 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006166/0.5006, allocations: 354.5 kB / 0.7423 GB, free: 6.496 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001096/0.5017, allocations: 0.5838 MB / 0.7429 GB, free: 5.898 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.925e-06/0.5017, allocations: 0 / 0.7429 GB, free: 5.898 MB / 0.5762 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001888/0.5036, allocations: 0.8134 MB / 0.7437 GB, free: 5.078 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.504e-05/0.5036, allocations: 4 kB / 0.7437 GB, free: 5.074 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.645e-06/0.5036, allocations: 3.984 kB / 0.7437 GB, free: 5.07 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005955/0.5042, allocations: 88.8 kB / 0.7438 GB, free: 4.98 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005938/0.5048, allocations: 147.8 kB / 0.7439 GB, free: 4.836 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002001/0.5068, allocations: 1.644 MB / 0.7455 GB, free: 3.043 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006395/0.5075, allocations: 93.25 kB / 0.7456 GB, free: 2.953 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.444e-05/0.5076, allocations: 27.98 kB / 0.7457 GB, free: 2.926 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: 15 (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 (84): * Single equations (assignments): 83 * 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.0003773/0.5079, allocations: 289.7 kB / 0.7459 GB, free: 2.633 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001772/0.5081, allocations: 114.7 kB / 0.746 GB, free: 2.52 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002321/0.5105, allocations: 1.072 MB / 0.7471 GB, free: 1.434 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.337e-06/0.5105, allocations: 11.94 kB / 0.7471 GB, free: 1.422 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.375e-06/0.5105, allocations: 0 / 0.7471 GB, free: 1.422 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.009e-05/0.5105, allocations: 7.984 kB / 0.7471 GB, free: 1.414 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001059/0.5116, allocations: 1.013 MB / 0.7481 GB, free: 360 kB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.767e-06/0.5116, allocations: 0 / 0.7481 GB, free: 360 kB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005584/0.5121, allocations: 143.8 kB / 0.7482 GB, free: 216 kB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004486/0.5126, allocations: 72.78 kB / 0.7483 GB, free: 140 kB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.766e-05/0.5127, allocations: 23.98 kB / 0.7483 GB, free: 116 kB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2145/0.7272, allocations: 1.669 MB / 0.75 GB, free: 169.8 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.7272, allocations: 1.812 kB / 0.75 GB, free: 169.8 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002175/0.7294, allocations: 0.9414 MB / 0.7509 GB, free: 169.5 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003619/0.7298, allocations: 296.6 kB / 0.7512 GB, free: 169.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00013/0.7299, allocations: 18.16 kB / 0.7512 GB, free: 169.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006411/0.7306, allocations: 62.28 kB / 0.7512 GB, free: 169.4 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001526/0.7307, allocations: 66.75 kB / 0.7513 GB, free: 169.4 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.008e-05/0.7308, allocations: 36.81 kB / 0.7513 GB, free: 169.4 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0007599/0.7316, allocations: 0.56 MB / 0.7519 GB, free: 169.1 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.8e-07/0.7316, allocations: 0 / 0.7519 GB, free: 169.1 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0008467/0.7324, allocations: 337.1 kB / 0.7522 GB, free: 169.1 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.003437/0.7359, allocations: 1.996 MB / 0.7542 GB, free: 168.1 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002337/0.7382, allocations: 0.9913 MB / 0.7551 GB, free: 167.8 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.965e-06/0.7383, allocations: 1.438 kB / 0.7551 GB, free: 167.8 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001068/0.7393, allocations: 0.5163 MB / 0.7556 GB, free: 167.5 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001668/0.741, allocations: 480 kB / 0.7561 GB, free: 167.4 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01051/0.7515, allocations: 7.328 MB / 0.7632 GB, free: 163.5 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006144/0.7522, allocations: 1.1 MB / 0.7643 GB, free: 162.8 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0009248/0.7531, allocations: 284.1 kB / 0.7646 GB, free: 162.7 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005365/0.7536, allocations: 467.5 kB / 0.765 GB, free: 162.4 MB / 0.5762 GB Notification: Performance of SimCode: time 5.31e-07/0.7536, allocations: 0 / 0.765 GB, free: 162.4 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.601/1.355, allocations: 25.48 MB / 0.7899 GB, free: 144.2 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.32/13.67, allocations: 7.875 kB / 0.7899 GB, free: 144.2 MB / 0.5762 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_IO_SignalExchange_Examples_WeatherStation_fmu --startTime=0 --stopTime=864000 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_IO_SignalExchange_Examples_WeatherStation.fmu > IBPSA_latest_IBPSA.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe 2>&1)