Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.RelativeHumidity.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Fluid.Sensors.Examples.RelativeHumidity,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_RelativeHumidity",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Sensors.Examples.RelativeHumidity,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_RelativeHumidity",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.001197/0.001197, allocations: 108 kB / 15.61 MB, free: 152 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.001218/0.001218, allocations: 195.5 kB / 16.53 MB, free: 6.664 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.28/1.28, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002126/0.002126, allocations: 274.6 kB / 290.7 MB, free: 2.008 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.944/0.944, allocations: 169.3 MB / 0.4982 GB, free: 13.94 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001715/0.001715, allocations: 96.28 kB / 0.5953 GB, free: 27.98 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1599/0.1616, allocations: 86.97 MB / 0.6803 GB, free: 0.5859 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.RelativeHumidity): time 0.507/0.6687, allocations: 165.3 MB / 0.8417 GB, free: 15.91 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.002508/0.6712, allocations: 1.535 MB / 0.8432 GB, free: 15.73 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002298/0.6714, allocations: 10.91 kB / 0.8432 GB, free: 15.73 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0004083/0.6719, allocations: 151.8 kB / 0.8433 GB, free: 15.66 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001079/0.673, allocations: 465.7 kB / 0.8438 GB, free: 15.55 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001582/0.6746, allocations: 0.7554 MB / 0.8445 GB, free: 15.43 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0005991/0.6752, allocations: 0.7053 MB / 0.8452 GB, free: 15.27 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003412/0.6755, allocations: 258.2 kB / 0.8454 GB, free: 15.12 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004514/0.676, allocations: 311.1 kB / 0.8457 GB, free: 14.96 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002471/0.6763, allocations: 225.5 kB / 0.846 GB, free: 14.85 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 4.622e-05/0.6763, allocations: 28.97 kB / 0.846 GB, free: 14.84 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001346/0.6777, allocations: 0.8592 MB / 0.8468 GB, free: 14.46 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001236/0.6778, allocations: 114.8 kB / 0.8469 GB, free: 14.39 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001602/0.678, allocations: 151.2 kB / 0.8471 GB, free: 14.3 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0009806/0.679, allocations: 0.7468 MB / 0.8478 GB, free: 13.9 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.679, allocations: 0 / 0.8478 GB, free: 13.9 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.092e-06/0.679, allocations: 0 / 0.8478 GB, free: 13.9 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.753e-06/0.679, allocations: 0 / 0.8478 GB, free: 13.9 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.001018/0.68, allocations: 0.6864 MB / 0.8485 GB, free: 13.3 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.228e-05/0.6801, allocations: 10.66 kB / 0.8485 GB, free: 13.3 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.089e-05/0.6801, allocations: 58.73 kB / 0.8485 GB, free: 13.24 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004618/0.6806, allocations: 80.09 kB / 0.8486 GB, free: 13.2 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003611/0.681, allocations: 298.3 kB / 0.8489 GB, free: 12.93 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.686e-05/0.681, allocations: 22.56 kB / 0.8489 GB, free: 12.91 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.533e-05/0.681, allocations: 27.66 kB / 0.8489 GB, free: 12.9 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005964/0.6816, allocations: 328.3 kB / 0.8493 GB, free: 12.7 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.428e-06/0.6817, allocations: 0 / 0.8493 GB, free: 12.7 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.818e-05/0.6817, allocations: 15.23 kB / 0.8493 GB, free: 12.69 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.346e-06/0.6817, allocations: 8.781 kB / 0.8493 GB, free: 12.68 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006664/0.6824, allocations: 288 kB / 0.8496 GB, free: 12.55 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.001445/0.6838, allocations: 1.068 MB / 0.8506 GB, free: 11.7 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000825/0.6847, allocations: 333.9 kB / 0.8509 GB, free: 11.47 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003029/0.685, allocations: 132.8 kB / 0.851 GB, free: 11.4 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006265/0.6856, allocations: 393.1 kB / 0.8514 GB, free: 11 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.609e-05/0.6857, allocations: 30.56 kB / 0.8515 GB, free: 10.96 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=19): time 1.223e-06/0.6857, allocations: 0 / 0.8515 GB, free: 10.96 MB / 0.5762 GB Notification: Performance of matching and sorting (n=19): time 0.001172/0.6868, allocations: 415.5 kB / 0.8518 GB, free: 10.75 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.59e-05/0.6869, allocations: 55.34 kB / 0.8519 GB, free: 10.68 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002416/0.6871, allocations: 271.2 kB / 0.8522 GB, free: 10.5 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.683e-05/0.6872, allocations: 29.7 kB / 0.8522 GB, free: 10.47 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001171/0.6873, allocations: 169.3 kB / 0.8523 GB, free: 10.31 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 5.116e-05/0.6874, allocations: 67.23 kB / 0.8524 GB, free: 10.25 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.092e-05/0.6874, allocations: 48.23 kB / 0.8525 GB, free: 10.22 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001293/0.6876, allocations: 336.7 kB / 0.8528 GB, free: 9.887 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002902/0.6879, allocations: 102.9 kB / 0.8529 GB, free: 9.84 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003269/0.6882, allocations: 170.5 kB / 0.853 GB, free: 9.723 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006009/0.6888, allocations: 263.6 kB / 0.8533 GB, free: 9.566 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.975e-06/0.6888, allocations: 0.625 kB / 0.8533 GB, free: 9.566 MB / 0.5762 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0007055/0.6895, allocations: 319 kB / 0.8536 GB, free: 9.402 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.299e-05/0.6896, allocations: 4.719 kB / 0.8536 GB, free: 9.402 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.77e-06/0.6896, allocations: 2.531 kB / 0.8536 GB, free: 9.402 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.503e-05/0.6896, allocations: 7.031 kB / 0.8536 GB, free: 9.398 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002552/0.6899, allocations: 63.83 kB / 0.8537 GB, free: 9.375 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.262e-06/0.6899, allocations: 1.875 kB / 0.8537 GB, free: 9.375 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002342/0.6901, allocations: 42.41 kB / 0.8537 GB, free: 9.352 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.471e-05/0.6901, allocations: 6.188 kB / 0.8537 GB, free: 9.352 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (24): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000152/0.6903, allocations: 156.3 kB / 0.8539 GB, free: 9.207 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.276e-05/0.6904, allocations: 30.28 kB / 0.8539 GB, free: 9.191 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007474/0.6911, allocations: 313.4 kB / 0.8542 GB, free: 9.008 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.699e-06/0.6911, allocations: 6.594 kB / 0.8542 GB, free: 9.004 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.6911, allocations: 0 / 0.8542 GB, free: 9.004 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.6911, allocations: 1.438 kB / 0.8542 GB, free: 9.004 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001491/0.6926, allocations: 0.9342 MB / 0.8551 GB, free: 8.215 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.385e-06/0.6927, allocations: 3.938 kB / 0.8551 GB, free: 8.211 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002491/0.6929, allocations: 51.17 kB / 0.8552 GB, free: 8.195 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.108e-06/0.6929, allocations: 2.281 kB / 0.8552 GB, free: 8.195 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.997e-05/0.6929, allocations: 8.625 kB / 0.8552 GB, free: 8.191 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.875e-06/0.693, allocations: 3.094 kB / 0.8552 GB, free: 8.191 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.827e-06/0.693, allocations: 10.69 kB / 0.8552 GB, free: 8.184 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001027/0.694, allocations: 0.5539 MB / 0.8557 GB, free: 7.805 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001133/0.6941, allocations: 119.5 kB / 0.8558 GB, free: 7.684 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.43e-05/0.6942, allocations: 8.859 kB / 0.8559 GB, free: 7.68 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002243/0.6944, allocations: 24.89 kB / 0.8559 GB, free: 7.668 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.594e-05/0.6945, allocations: 26.66 kB / 0.8559 GB, free: 7.648 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.751e-05/0.6945, allocations: 7.75 kB / 0.8559 GB, free: 7.648 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001613/0.6947, allocations: 192 kB / 0.8561 GB, free: 7.52 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6947, allocations: 0 / 0.8561 GB, free: 7.52 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0004335/0.6951, allocations: 112.4 kB / 0.8562 GB, free: 7.488 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 1 (relHum.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001649/0.6968, allocations: 1.2 MB / 0.8574 GB, free: 6.531 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0006882/0.6975, allocations: 265 kB / 0.8576 GB, free: 6.414 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.85e-06/0.6975, allocations: 4.312 kB / 0.8576 GB, free: 6.41 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0003306/0.6978, allocations: 131.4 kB / 0.8578 GB, free: 6.355 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007371/0.6986, allocations: 138.9 kB / 0.8579 GB, free: 6.289 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004027/0.7026, allocations: 2.988 MB / 0.8608 GB, free: 4.055 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003308/0.7029, allocations: 0.7771 MB / 0.8616 GB, free: 3.316 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.000248/0.7032, allocations: 66.36 kB / 0.8616 GB, free: 3.285 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001375/0.7033, allocations: 89.06 kB / 0.8617 GB, free: 3.215 MB / 0.5762 GB Notification: Performance of SimCode: time 2.1e-07/0.7034, allocations: 0 / 0.8617 GB, free: 3.215 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0287/0.7321, allocations: 8.856 MB / 0.8704 GB, free: 14.84 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.158/7.89, allocations: 21.98 kB / 0.8704 GB, free: 14.82 MB / 0.5919 GB (rm -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.RelativeHumidity.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.RelativeHumidity.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.RelativeHumidity.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.RelativeHumidity.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_RelativeHumidity_fmu --startTime=0 --stopTime=600 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_RelativeHumidity.fmu > BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.RelativeHumidity.pipe 2>&1)