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.0012/0.0012, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001257/0.001257, allocations: 192.2 kB / 16.13 MB, free: 6.715 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.289/1.289, allocations: 222.9 MB / 239.8 MB, free: 4.559 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001988/0.001988, allocations: 286.8 kB / 290.2 MB, free: 2.156 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8916/0.8916, allocations: 169.2 MB / 0.4977 GB, free: 14.19 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00153/0.00153, allocations: 92.03 kB / 0.5946 GB, free: 28.56 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.127/0.1285, allocations: 86.98 MB / 0.6795 GB, free: 1.102 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.RelativeHumidity): time 0.4034/0.532, allocations: 163 MB / 0.8387 GB, free: 15.93 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.002505/0.5345, allocations: 1.569 MB / 0.8403 GB, free: 15.76 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002824/0.5348, allocations: 9.75 kB / 0.8403 GB, free: 15.75 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0004078/0.5352, allocations: 113.4 kB / 0.8404 GB, free: 15.71 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001068/0.5364, allocations: 441.2 kB / 0.8408 GB, free: 15.62 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001627/0.538, allocations: 0.6832 MB / 0.8415 GB, free: 15.5 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0008274/0.5388, allocations: 0.9917 MB / 0.8424 GB, free: 15.2 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000298/0.5391, allocations: 229.2 kB / 0.8427 GB, free: 15.12 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004188/0.5396, allocations: 278.8 kB / 0.8429 GB, free: 15.02 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002477/0.5398, allocations: 231.8 kB / 0.8431 GB, free: 14.94 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 4.029e-05/0.5399, allocations: 24.56 kB / 0.8432 GB, free: 14.93 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001474/0.5414, allocations: 0.9813 MB / 0.8441 GB, free: 14.5 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001144/0.5415, allocations: 107.8 kB / 0.8442 GB, free: 14.43 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001449/0.5416, allocations: 155.6 kB / 0.8444 GB, free: 14.33 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0009891/0.5426, allocations: 0.7713 MB / 0.8451 GB, free: 13.93 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.5426, allocations: 0 / 0.8451 GB, free: 13.93 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.845e-06/0.5427, allocations: 0 / 0.8451 GB, free: 13.93 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 7.053e-06/0.5427, allocations: 5.281 kB / 0.8451 GB, free: 13.92 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.001359/0.544, allocations: 0.6687 MB / 0.8458 GB, free: 13.34 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.385e-05/0.5441, allocations: 13.59 kB / 0.8458 GB, free: 13.33 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.884e-05/0.5442, allocations: 62.12 kB / 0.8459 GB, free: 13.27 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005991/0.5448, allocations: 80.88 kB / 0.8459 GB, free: 13.23 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004084/0.5452, allocations: 303.5 kB / 0.8462 GB, free: 12.95 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.102e-05/0.5452, allocations: 23.19 kB / 0.8462 GB, free: 12.94 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.308e-05/0.5453, allocations: 27.91 kB / 0.8463 GB, free: 12.93 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006458/0.5459, allocations: 326.9 kB / 0.8466 GB, free: 12.73 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.113e-05/0.546, allocations: 0 / 0.8466 GB, free: 12.73 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.03e-05/0.546, allocations: 10.34 kB / 0.8466 GB, free: 12.72 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.193e-05/0.546, allocations: 10.56 kB / 0.8466 GB, free: 12.71 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007245/0.5468, allocations: 290.8 kB / 0.8469 GB, free: 12.58 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.001578/0.5483, allocations: 1.065 MB / 0.8479 GB, free: 11.72 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008557/0.5492, allocations: 330.6 kB / 0.8482 GB, free: 11.5 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002939/0.5495, allocations: 136.8 kB / 0.8484 GB, free: 11.43 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006494/0.5502, allocations: 397.5 kB / 0.8487 GB, free: 11.02 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.214e-05/0.5502, allocations: 30.56 kB / 0.8488 GB, free: 10.98 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=19): time 1.272e-06/0.5502, allocations: 1.344 kB / 0.8488 GB, free: 10.98 MB / 0.5762 GB Notification: Performance of matching and sorting (n=19): time 0.001112/0.5513, allocations: 414 kB / 0.8492 GB, free: 10.78 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.405e-05/0.5514, allocations: 51.41 kB / 0.8492 GB, free: 10.71 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002345/0.5516, allocations: 270.9 kB / 0.8495 GB, free: 10.54 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.513e-05/0.5516, allocations: 25.7 kB / 0.8495 GB, free: 10.5 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001167/0.5518, allocations: 171.7 kB / 0.8497 GB, free: 10.35 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 5.247e-05/0.5518, allocations: 63.08 kB / 0.8497 GB, free: 10.29 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.965e-05/0.5519, allocations: 52.36 kB / 0.8498 GB, free: 10.25 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001112/0.552, allocations: 335.7 kB / 0.8501 GB, free: 9.922 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00028/0.5523, allocations: 103.6 kB / 0.8502 GB, free: 9.875 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000306/0.5526, allocations: 169.4 kB / 0.8504 GB, free: 9.758 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005623/0.5532, allocations: 269.7 kB / 0.8506 GB, free: 9.598 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.335e-06/0.5532, allocations: 0 / 0.8506 GB, free: 9.598 MB / 0.5762 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006472/0.5539, allocations: 311.8 kB / 0.8509 GB, free: 9.438 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.488e-05/0.5539, allocations: 13.44 kB / 0.8509 GB, free: 9.43 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.5539, allocations: 2.312 kB / 0.8509 GB, free: 9.43 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.369e-05/0.5539, allocations: 6.562 kB / 0.8509 GB, free: 9.426 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002466/0.5542, allocations: 58.61 kB / 0.851 GB, free: 9.41 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.637e-06/0.5542, allocations: 2.062 kB / 0.851 GB, free: 9.41 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002646/0.5545, allocations: 48.25 kB / 0.851 GB, free: 9.383 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.836e-05/0.5545, allocations: 15.77 kB / 0.851 GB, free: 9.375 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.0001351/0.5546, allocations: 152 kB / 0.8512 GB, free: 9.234 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.017e-05/0.5547, allocations: 25.09 kB / 0.8512 GB, free: 9.223 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007137/0.5554, allocations: 319.7 kB / 0.8515 GB, free: 9.031 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.062e-06/0.5554, allocations: 5.562 kB / 0.8515 GB, free: 9.027 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.5554, allocations: 0 / 0.8515 GB, free: 9.027 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.5555, allocations: 1.562 kB / 0.8515 GB, free: 9.027 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001392/0.5569, allocations: 0.933 MB / 0.8524 GB, free: 8.234 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.687e-06/0.5569, allocations: 2.406 kB / 0.8524 GB, free: 8.234 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002431/0.5571, allocations: 51.23 kB / 0.8525 GB, free: 8.219 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.799e-06/0.5571, allocations: 3.688 kB / 0.8525 GB, free: 8.219 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.781e-05/0.5572, allocations: 3.219 kB / 0.8525 GB, free: 8.219 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.112e-06/0.5572, allocations: 6.688 kB / 0.8525 GB, free: 8.215 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.405e-06/0.5572, allocations: 2.281 kB / 0.8525 GB, free: 8.215 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009799/0.5582, allocations: 0.5681 MB / 0.8531 GB, free: 7.824 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000113/0.5583, allocations: 120.1 kB / 0.8532 GB, free: 7.703 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.003e-05/0.5583, allocations: 2.75 kB / 0.8532 GB, free: 7.703 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002432/0.5586, allocations: 41.02 kB / 0.8532 GB, free: 7.68 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.374e-05/0.5586, allocations: 19.73 kB / 0.8532 GB, free: 7.668 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.832e-05/0.5587, allocations: 7.438 kB / 0.8532 GB, free: 7.668 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001563/0.5588, allocations: 196 kB / 0.8534 GB, free: 7.539 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5588, allocations: 0 / 0.8534 GB, free: 7.539 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0004502/0.5593, allocations: 103.8 kB / 0.8535 GB, free: 7.516 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.001559/0.5608, allocations: 1.211 MB / 0.8547 GB, free: 6.547 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.000632/0.5615, allocations: 244.5 kB / 0.8549 GB, free: 6.445 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.5615, allocations: 320 / 0.8549 GB, free: 6.445 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0003334/0.5618, allocations: 139.2 kB / 0.8551 GB, free: 6.383 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007106/0.5626, allocations: 128.6 kB / 0.8552 GB, free: 6.324 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003835/0.5664, allocations: 3.057 MB / 0.8582 GB, free: 4.012 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002938/0.5667, allocations: 0.7843 MB / 0.859 GB, free: 3.266 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.00025/0.567, allocations: 65.52 kB / 0.859 GB, free: 3.234 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001338/0.5671, allocations: 88.84 kB / 0.8591 GB, free: 3.164 MB / 0.5762 GB Notification: Performance of SimCode: time 3.61e-07/0.5671, allocations: 0 / 0.8591 GB, free: 3.164 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.277/2.844, allocations: 8.397 MB / 0.8673 GB, free: 15.09 MB / 0.5919 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002002/2.844, allocations: 257.6 kB / 0.8675 GB, free: 14.83 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.806/4.65, allocations: 0 / 0.8675 GB, free: 14.83 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)