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.0008614/0.0008613, allocations: 93.66 kB / 16.02 MB, free: 84 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009402/0.0009402, allocations: 178.5 kB / 16.92 MB, free: 6.688 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.412/1.412, allocations: 223.3 MB / 241 MB, free: 5.277 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6879/0.6879, allocations: 115.5 MB / 407.6 MB, free: 2.691 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002889/0.000289, allocations: 8 kB / 496 MB, free: 6.285 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1646/0.1649, allocations: 77.53 MB / 0.56 GB, free: 8.961 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.IO.SignalExchange.Examples.WeatherStation): time 0.006607/0.1716, allocations: 5.124 MB / 0.565 GB, free: 3.816 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.5006/0.6722, allocations: 147 MB / 0.7086 GB, free: 14.51 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001054/0.6733, allocations: 27.75 kB / 0.7086 GB, free: 14.48 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0009551/0.6743, allocations: 298.1 kB / 0.7089 GB, free: 14.19 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.001858/0.6762, allocations: 482 kB / 0.7093 GB, free: 13.72 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.001916/0.6781, allocations: 0.7554 MB / 0.7101 GB, free: 12.97 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.001722/0.6798, allocations: 1.457 MB / 0.7115 GB, free: 11.5 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00111/0.6809, allocations: 0.726 MB / 0.7122 GB, free: 10.74 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000623/0.6816, allocations: 382 kB / 0.7126 GB, free: 10.37 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006037/0.6822, allocations: 457.2 kB / 0.713 GB, free: 9.918 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0001274/0.6823, allocations: 28 kB / 0.713 GB, free: 9.891 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007638/0.6831, allocations: 367.6 kB / 0.7134 GB, free: 9.531 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.000255/0.6834, allocations: 210.9 kB / 0.7136 GB, free: 9.324 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0005352/0.6839, allocations: 0.5489 MB / 0.7141 GB, free: 8.766 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.001767/0.6857, allocations: 1.748 MB / 0.7158 GB, free: 7.012 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.6857, allocations: 0 / 0.7158 GB, free: 7.012 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.654e-06/0.6857, allocations: 0 / 0.7158 GB, free: 7.012 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.187e-05/0.6858, allocations: 0 / 0.7158 GB, free: 7.012 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.002661/0.6884, allocations: 1.426 MB / 0.7172 GB, free: 5.539 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.961e-05/0.6885, allocations: 8.031 kB / 0.7172 GB, free: 5.531 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002327/0.6887, allocations: 157.3 kB / 0.7174 GB, free: 5.371 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009803/0.6897, allocations: 231 kB / 0.7176 GB, free: 5.145 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001346/0.6911, allocations: 0.8906 MB / 0.7185 GB, free: 4.211 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.098e-05/0.6911, allocations: 77.97 kB / 0.7185 GB, free: 4.133 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001318/0.6913, allocations: 96 kB / 0.7186 GB, free: 4.039 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001857/0.6931, allocations: 1.039 MB / 0.7197 GB, free: 2.961 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.946e-05/0.6932, allocations: 0 / 0.7197 GB, free: 2.961 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.341e-05/0.6933, allocations: 40 kB / 0.7197 GB, free: 2.922 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.202e-05/0.6933, allocations: 24 kB / 0.7197 GB, free: 2.898 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001899/0.6952, allocations: 1.177 MB / 0.7209 GB, free: 1.723 MB / 0.5294 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.004644/0.6999, allocations: 3.082 MB / 0.7239 GB, free: 14.52 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001506/0.7014, allocations: 0.8064 MB / 0.7247 GB, free: 13.7 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005284/0.7019, allocations: 306.7 kB / 0.725 GB, free: 13.4 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 8.179e-05/0.702, allocations: 32.61 kB / 0.725 GB, free: 13.37 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008428/0.7029, allocations: 0.4951 MB / 0.7255 GB, free: 12.86 MB / 0.545 GB Notification: Performance of pre-optimization done (n=78): time 2.024e-06/0.7029, allocations: 0 / 0.7255 GB, free: 12.86 MB / 0.545 GB Notification: Performance of matching and sorting (n=78): time 0.003068/0.706, allocations: 1.217 MB / 0.7267 GB, free: 11.61 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001091/0.7061, allocations: 192.6 kB / 0.7268 GB, free: 11.38 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001033/0.7071, allocations: 0.8046 MB / 0.7276 GB, free: 10.55 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 6.4e-05/0.7072, allocations: 37.7 kB / 0.7277 GB, free: 10.5 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.000391/0.7076, allocations: 0.5078 MB / 0.7282 GB, free: 9.988 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.000196/0.7078, allocations: 252.4 kB / 0.7284 GB, free: 9.738 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.43e-05/0.7079, allocations: 57.69 kB / 0.7285 GB, free: 9.676 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001265/0.708, allocations: 337.9 kB / 0.7288 GB, free: 9.34 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004888/0.7085, allocations: 245.9 kB / 0.729 GB, free: 9.098 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006178/0.7091, allocations: 362.6 kB / 0.7294 GB, free: 8.719 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001049/0.7102, allocations: 0.5877 MB / 0.7299 GB, free: 8.117 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/0.7102, allocations: 0 / 0.7299 GB, free: 8.117 MB / 0.545 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001806/0.712, allocations: 0.8251 MB / 0.7307 GB, free: 7.285 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.212e-05/0.7121, allocations: 8 kB / 0.7307 GB, free: 7.277 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.617e-06/0.7121, allocations: 0 / 0.7307 GB, free: 7.277 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005897/0.7127, allocations: 88.8 kB / 0.7308 GB, free: 7.188 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006034/0.7133, allocations: 147.8 kB / 0.731 GB, free: 7.043 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002047/0.7153, allocations: 1.54 MB / 0.7325 GB, free: 5.363 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007228/0.7161, allocations: 99.23 kB / 0.7326 GB, free: 5.266 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.504e-05/0.7162, allocations: 32.05 kB / 0.7326 GB, free: 5.234 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.0005496/0.7167, allocations: 290.5 kB / 0.7329 GB, free: 4.941 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002074/0.7169, allocations: 106.7 kB / 0.733 GB, free: 4.836 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002472/0.7194, allocations: 1.083 MB / 0.734 GB, free: 3.746 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.498e-06/0.7194, allocations: 8 kB / 0.734 GB, free: 3.738 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.7194, allocations: 0 / 0.734 GB, free: 3.738 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.359e-05/0.7195, allocations: 3.984 kB / 0.734 GB, free: 3.734 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001364/0.7208, allocations: 1.021 MB / 0.735 GB, free: 2.66 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.546e-06/0.7208, allocations: 0 / 0.735 GB, free: 2.66 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005836/0.7214, allocations: 143.7 kB / 0.7352 GB, free: 2.52 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005315/0.722, allocations: 88.77 kB / 0.7353 GB, free: 2.43 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.471e-05/0.7221, allocations: 23.98 kB / 0.7353 GB, free: 2.406 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0019/0.724, allocations: 1.56 MB / 0.7368 GB, free: 0.707 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.724, allocations: 0 / 0.7368 GB, free: 0.707 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002047/0.726, allocations: 0.955 MB / 0.7377 GB, free: 15.73 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005628/0.7266, allocations: 307.4 kB / 0.738 GB, free: 15.41 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001838/0.7268, allocations: 16 kB / 0.738 GB, free: 15.39 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007651/0.7276, allocations: 83.92 kB / 0.7381 GB, free: 15.31 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001743/0.7278, allocations: 64.91 kB / 0.7382 GB, free: 15.25 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.548e-05/0.7278, allocations: 39.97 kB / 0.7382 GB, free: 15.21 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.000896/0.7287, allocations: 0.5581 MB / 0.7388 GB, free: 14.64 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.6e-07/0.7288, allocations: 3.938 kB / 0.7388 GB, free: 14.63 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001061/0.7298, allocations: 335 kB / 0.7391 GB, free: 14.3 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.00381/0.7336, allocations: 2.009 MB / 0.7411 GB, free: 12.47 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001736/0.7354, allocations: 0.8007 MB / 0.7418 GB, free: 11.66 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.527e-06/0.7354, allocations: 3.938 kB / 0.7418 GB, free: 11.65 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0009387/0.7364, allocations: 0.5158 MB / 0.7423 GB, free: 11.12 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001803/0.7382, allocations: 429.3 kB / 0.7428 GB, free: 10.71 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01353/0.7517, allocations: 7.838 MB / 0.7504 GB, free: 2.617 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007629/0.7525, allocations: 1.094 MB / 0.7515 GB, free: 1.496 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001053/0.7536, allocations: 283.8 kB / 0.7518 GB, free: 1.215 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006923/0.7543, allocations: 471.2 kB / 0.7522 GB, free: 0.7539 MB / 0.5606 GB Notification: Performance of SimCode: time 9.82e-07/0.7543, allocations: 0 / 0.7522 GB, free: 0.7539 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1731/0.9274, allocations: 24.26 MB / 0.7759 GB, free: 8.883 MB / 0.5919 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004399/0.9279, allocations: 284.4 kB / 0.7762 GB, free: 8.504 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.161/4.089, allocations: 0 / 0.7762 GB, free: 8.504 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)