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.004136/0.004136, allocations: 102.7 kB / 15.87 MB, free: 6.301 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.001105/0.001105, allocations: 202.2 kB / 16.79 MB, free: 6.227 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.148/1.148, allocations: 222.9 MB / 240.5 MB, free: 4.457 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5929/0.5929, allocations: 115.3 MB / 405.9 MB, free: 2.773 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001105/0.001105, allocations: 60.47 kB / 493 MB, free: 6.719 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1041/0.1052, allocations: 76.19 MB / 0.5558 GB, free: 10.73 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.IO.SignalExchange.Examples.WeatherStation): time 0.005712/0.111, allocations: 5.571 MB / 0.5613 GB, free: 5.133 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.3084/0.4194, allocations: 148.6 MB / 0.7064 GB, free: 12.64 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008184/0.4203, allocations: 23.88 kB / 0.7064 GB, free: 12.61 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0008244/0.4211, allocations: 292.7 kB / 0.7067 GB, free: 12.33 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.001453/0.4226, allocations: 490 kB / 0.7071 GB, free: 11.87 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.001543/0.4242, allocations: 0.7512 MB / 0.7079 GB, free: 11.15 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.001317/0.4255, allocations: 1.457 MB / 0.7093 GB, free: 9.684 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008485/0.4263, allocations: 0.7433 MB / 0.71 GB, free: 8.906 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005209/0.4269, allocations: 477.9 kB / 0.7105 GB, free: 8.438 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005055/0.4274, allocations: 0.5306 MB / 0.711 GB, free: 7.906 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.00014/0.4275, allocations: 64 kB / 0.7111 GB, free: 7.844 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006781/0.4282, allocations: 412.5 kB / 0.7115 GB, free: 7.449 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0002385/0.4285, allocations: 270.8 kB / 0.7117 GB, free: 7.184 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0004463/0.4289, allocations: 0.598 MB / 0.7123 GB, free: 6.582 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.001386/0.4303, allocations: 1.794 MB / 0.7141 GB, free: 4.785 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.4303, allocations: 4 kB / 0.7141 GB, free: 4.781 MB / 0.5294 GB Notification: Performance of FrontEnd: time 6.62e-07/0.4303, allocations: 4 kB / 0.7141 GB, free: 4.777 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 2.877e-05/0.4304, allocations: 0 / 0.7141 GB, free: 4.777 MB / 0.5294 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.002462/0.4328, allocations: 1.683 MB / 0.7157 GB, free: 3.047 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.212e-05/0.4329, allocations: 8.031 kB / 0.7157 GB, free: 3.039 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001506/0.433, allocations: 160.4 kB / 0.7159 GB, free: 2.875 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000834/0.4339, allocations: 219 kB / 0.7161 GB, free: 2.66 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009993/0.4349, allocations: 0.8869 MB / 0.7169 GB, free: 1.73 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.933e-05/0.4349, allocations: 74 kB / 0.717 GB, free: 1.656 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.923e-05/0.435, allocations: 100 kB / 0.7171 GB, free: 1.559 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001482/0.4365, allocations: 1.039 MB / 0.7181 GB, free: 488 kB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.618e-05/0.4366, allocations: 0 / 0.7181 GB, free: 488 kB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.7e-05/0.4366, allocations: 40 kB / 0.7182 GB, free: 448 kB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.597e-05/0.4367, allocations: 24 kB / 0.7182 GB, free: 424 kB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001595/0.4383, allocations: 1.163 MB / 0.7193 GB, free: 15.25 MB / 0.545 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.003621/0.4419, allocations: 3.04 MB / 0.7223 GB, free: 12.09 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001307/0.4432, allocations: 0.7891 MB / 0.7231 GB, free: 11.29 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000462/0.4437, allocations: 302.6 kB / 0.7233 GB, free: 10.99 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 6.732e-05/0.4438, allocations: 36.59 kB / 0.7234 GB, free: 10.96 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007719/0.4445, allocations: 495 kB / 0.7239 GB, free: 10.45 MB / 0.545 GB Notification: Performance of pre-optimization done (n=78): time 1.763e-06/0.4446, allocations: 0 / 0.7239 GB, free: 10.45 MB / 0.545 GB Notification: Performance of matching and sorting (n=78): time 0.002717/0.4473, allocations: 1.201 MB / 0.725 GB, free: 9.223 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.579e-05/0.4474, allocations: 196.6 kB / 0.7252 GB, free: 8.988 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008199/0.4482, allocations: 0.8006 MB / 0.726 GB, free: 8.16 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 5.3e-05/0.4483, allocations: 41.7 kB / 0.726 GB, free: 8.113 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003193/0.4486, allocations: 0.5118 MB / 0.7265 GB, free: 7.594 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001634/0.4487, allocations: 256.3 kB / 0.7268 GB, free: 7.34 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001953/0.4489, allocations: 142.5 kB / 0.7269 GB, free: 7.191 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 8.932e-05/0.449, allocations: 340.9 kB / 0.7272 GB, free: 6.855 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004262/0.4495, allocations: 249.8 kB / 0.7275 GB, free: 6.613 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000516/0.45, allocations: 354.6 kB / 0.7278 GB, free: 6.242 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009286/0.4509, allocations: 0.5799 MB / 0.7284 GB, free: 5.648 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.4509, allocations: 0 / 0.7284 GB, free: 5.648 MB / 0.545 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001628/0.4526, allocations: 0.8057 MB / 0.7292 GB, free: 4.836 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.374e-05/0.4526, allocations: 4 kB / 0.7292 GB, free: 4.832 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.234e-06/0.4526, allocations: 7.938 kB / 0.7292 GB, free: 4.824 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005326/0.4532, allocations: 84.61 kB / 0.7293 GB, free: 4.742 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005367/0.4537, allocations: 151.7 kB / 0.7294 GB, free: 4.594 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00169/0.4554, allocations: 1.533 MB / 0.7309 GB, free: 2.922 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005637/0.456, allocations: 93.42 kB / 0.731 GB, free: 2.832 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.425e-05/0.456, allocations: 31.98 kB / 0.731 GB, free: 2.801 MB / 0.545 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.0003461/0.4564, allocations: 290.4 kB / 0.7313 GB, free: 2.508 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001434/0.4565, allocations: 102.7 kB / 0.7314 GB, free: 2.406 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002078/0.4586, allocations: 1.079 MB / 0.7325 GB, free: 1.324 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.602e-06/0.4586, allocations: 8 kB / 0.7325 GB, free: 1.316 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.775e-06/0.4586, allocations: 0.75 kB / 0.7325 GB, free: 1.316 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.604e-06/0.4587, allocations: 3.984 kB / 0.7325 GB, free: 1.312 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009056/0.4596, allocations: 1.01 MB / 0.7334 GB, free: 260 kB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.494e-06/0.4596, allocations: 0 / 0.7334 GB, free: 260 kB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004986/0.4601, allocations: 139.8 kB / 0.7336 GB, free: 120 kB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004838/0.4606, allocations: 88.7 kB / 0.7337 GB, free: 28 kB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.969e-05/0.4606, allocations: 32.03 kB / 0.7337 GB, free: 15.99 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001527/0.4622, allocations: 1.555 MB / 0.7352 GB, free: 14.3 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.4622, allocations: 3.938 kB / 0.7352 GB, free: 14.3 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001679/0.4639, allocations: 0.9432 MB / 0.7361 GB, free: 13.34 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002954/0.4642, allocations: 295.5 kB / 0.7364 GB, free: 13.03 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001159/0.4643, allocations: 16 kB / 0.7364 GB, free: 13.01 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005661/0.4649, allocations: 64.08 kB / 0.7365 GB, free: 12.95 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001256/0.465, allocations: 72.88 kB / 0.7366 GB, free: 12.88 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.989e-05/0.4651, allocations: 35.97 kB / 0.7366 GB, free: 12.84 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0005827/0.4657, allocations: 0.5581 MB / 0.7371 GB, free: 12.27 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4657, allocations: 0 / 0.7371 GB, free: 12.27 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0006324/0.4663, allocations: 347 kB / 0.7375 GB, free: 11.93 MB / 0.5606 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.002928/0.4692, allocations: 1.991 MB / 0.7394 GB, free: 10.1 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001304/0.4706, allocations: 0.7928 MB / 0.7402 GB, free: 9.293 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.4706, allocations: 0 / 0.7402 GB, free: 9.293 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0007853/0.4714, allocations: 0.512 MB / 0.7407 GB, free: 8.77 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001304/0.4727, allocations: 427.7 kB / 0.7411 GB, free: 8.359 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01073/0.4834, allocations: 7.798 MB / 0.7487 GB, free: 316 kB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005312/0.484, allocations: 1.106 MB / 0.7498 GB, free: 15.18 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0007545/0.4847, allocations: 287.7 kB / 0.7501 GB, free: 14.89 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005203/0.4852, allocations: 463.2 kB / 0.7505 GB, free: 14.44 MB / 0.5762 GB Notification: Performance of SimCode: time 3.81e-07/0.4853, allocations: 0 / 0.7505 GB, free: 14.44 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.235/1.72, allocations: 24.61 MB / 0.7746 GB, free: 6.172 MB / 0.5919 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00026/1.72, allocations: 292.1 kB / 0.7748 GB, free: 5.789 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.741/4.461, allocations: 0 / 0.7748 GB, free: 5.789 MB / 0.5919 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)