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: translateModel(BuildingSystems.Fluid.Sensors.Examples.RelativeHumidity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.RelativeHumidity") translateModel(BuildingSystems.Fluid.Sensors.Examples.RelativeHumidity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.RelativeHumidity") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001736/0.001736, 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.00208/0.00208, allocations: 193.5 kB / 16.14 MB, free: 6.641 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.436/1.436, allocations: 222.9 MB / 239.8 MB, free: 4.598 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002525/0.002525, allocations: 282.8 kB / 290.2 MB, free: 2.211 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.088/1.088, allocations: 178.6 MB / 0.5068 GB, free: 4.789 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002737/0.002737, allocations: 97.86 kB / 0.6057 GB, free: 25.09 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1887/0.1915, allocations: 89.15 MB / 0.6928 GB, free: 4.848 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.RelativeHumidity): time 0.5331/0.7246, allocations: 163 MB / 0.852 GB, free: 1.766 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.003264/0.7279, allocations: 1.571 MB / 0.8535 GB, free: 0.5117 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002617/0.7282, allocations: 15.72 kB / 0.8535 GB, free: 0.5039 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0004843/0.7287, allocations: 108.8 kB / 0.8536 GB, free: 420 kB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001218/0.73, allocations: 452.1 kB / 0.8541 GB, free: 76 kB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001938/0.7319, allocations: 0.683 MB / 0.8547 GB, free: 15.59 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001062/0.733, allocations: 0.9903 MB / 0.8557 GB, free: 15.05 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003662/0.7334, allocations: 230.3 kB / 0.8559 GB, free: 14.91 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000696/0.7341, allocations: 281.9 kB / 0.8562 GB, free: 14.76 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003637/0.7344, allocations: 238.1 kB / 0.8564 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 4.944e-05/0.7345, allocations: 15.44 kB / 0.8564 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002073/0.7366, allocations: 0.9926 MB / 0.8574 GB, free: 14.05 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0001546/0.7368, allocations: 98.98 kB / 0.8575 GB, free: 13.99 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0001954/0.737, allocations: 152.7 kB / 0.8576 GB, free: 13.9 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.00123/0.7382, allocations: 0.7664 MB / 0.8584 GB, free: 13.44 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.06e-06/0.7382, allocations: 0 / 0.8584 GB, free: 13.44 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.223e-06/0.7382, allocations: 0 / 0.8584 GB, free: 13.44 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 7.584e-06/0.7382, allocations: 0 / 0.8584 GB, free: 13.44 MB / 0.5919 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.001385/0.7396, allocations: 0.6841 MB / 0.859 GB, free: 12.84 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.762e-05/0.7397, allocations: 10.06 kB / 0.8591 GB, free: 12.84 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005078/0.7402, allocations: 80.84 kB / 0.8591 GB, free: 12.8 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005241/0.7407, allocations: 301.3 kB / 0.8594 GB, free: 12.52 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.239e-05/0.7408, allocations: 19 kB / 0.8594 GB, free: 12.51 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.773e-05/0.7408, allocations: 22.72 kB / 0.8595 GB, free: 12.5 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006817/0.7415, allocations: 333.9 kB / 0.8598 GB, free: 12.3 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.185e-05/0.7415, allocations: 3.938 kB / 0.8598 GB, free: 12.29 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.224e-05/0.7416, allocations: 10.41 kB / 0.8598 GB, free: 12.29 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.075e-05/0.7416, allocations: 11.38 kB / 0.8598 GB, free: 12.28 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007086/0.7423, allocations: 291 kB / 0.8601 GB, free: 12.15 MB / 0.5919 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.001765/0.7441, allocations: 1.065 MB / 0.8611 GB, free: 11.27 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009464/0.745, allocations: 328 kB / 0.8614 GB, free: 11.05 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003272/0.7454, allocations: 131 kB / 0.8616 GB, free: 10.99 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007359/0.7461, allocations: 397 kB / 0.8619 GB, free: 10.58 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.751e-05/0.7462, allocations: 30.56 kB / 0.862 GB, free: 10.54 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=19): time 1.313e-06/0.7462, allocations: 2.25 kB / 0.862 GB, free: 10.54 MB / 0.5919 GB Notification: Performance of matching and sorting (n=19): time 0.00121/0.7474, allocations: 408.9 kB / 0.8624 GB, free: 10.34 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.34e-05/0.7475, allocations: 61.38 kB / 0.8624 GB, free: 10.27 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002761/0.7477, allocations: 266 kB / 0.8627 GB, free: 10.09 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 3.233e-05/0.7478, allocations: 29.7 kB / 0.8627 GB, free: 10.05 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001429/0.7479, allocations: 170.9 kB / 0.8629 GB, free: 9.898 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 6.182e-05/0.748, allocations: 71 kB / 0.8629 GB, free: 9.836 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.794e-05/0.7481, allocations: 42.89 kB / 0.863 GB, free: 9.805 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001702/0.7483, allocations: 338.6 kB / 0.8633 GB, free: 9.473 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003046/0.7486, allocations: 106.3 kB / 0.8634 GB, free: 9.422 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003536/0.7489, allocations: 161.7 kB / 0.8635 GB, free: 9.309 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006296/0.7496, allocations: 265.5 kB / 0.8638 GB, free: 9.152 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.7496, allocations: 0 / 0.8638 GB, free: 9.152 MB / 0.5919 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0007399/0.7503, allocations: 317.9 kB / 0.8641 GB, free: 8.988 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.679e-05/0.7504, allocations: 5.469 kB / 0.8641 GB, free: 8.988 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.715e-06/0.7504, allocations: 2.547 kB / 0.8641 GB, free: 8.988 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.422e-05/0.7504, allocations: 2.406 kB / 0.8641 GB, free: 8.988 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002758/0.7507, allocations: 66.83 kB / 0.8642 GB, free: 8.965 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.975e-06/0.7507, allocations: 10.47 kB / 0.8642 GB, free: 8.957 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002582/0.751, allocations: 43.53 kB / 0.8642 GB, free: 8.934 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.001e-05/0.751, allocations: 9.016 kB / 0.8642 GB, free: 8.93 MB / 0.5919 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.0001696/0.7512, allocations: 154.3 kB / 0.8644 GB, free: 8.789 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.971e-05/0.7512, allocations: 28.12 kB / 0.8644 GB, free: 8.773 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007964/0.752, allocations: 326.5 kB / 0.8647 GB, free: 8.586 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.416e-06/0.7521, allocations: 6.719 kB / 0.8647 GB, free: 8.582 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.7521, allocations: 0 / 0.8647 GB, free: 8.582 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.048e-06/0.7521, allocations: 2.094 kB / 0.8647 GB, free: 8.582 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001552/0.7536, allocations: 0.9273 MB / 0.8656 GB, free: 7.789 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/0.7537, allocations: 2.531 kB / 0.8656 GB, free: 7.789 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002611/0.7539, allocations: 51.11 kB / 0.8657 GB, free: 7.773 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.486e-06/0.7539, allocations: 2.75 kB / 0.8657 GB, free: 7.773 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.837e-05/0.754, allocations: 2.75 kB / 0.8657 GB, free: 7.773 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.962e-06/0.754, allocations: 6.25 kB / 0.8657 GB, free: 7.77 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.006e-06/0.754, allocations: 2.906 kB / 0.8657 GB, free: 7.77 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001114/0.7551, allocations: 0.5565 MB / 0.8662 GB, free: 7.387 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001335/0.7552, allocations: 123.7 kB / 0.8664 GB, free: 7.262 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.206e-05/0.7553, allocations: 6.375 kB / 0.8664 GB, free: 7.258 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002671/0.7556, allocations: 35.19 kB / 0.8664 GB, free: 7.238 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.415e-05/0.7556, allocations: 27.53 kB / 0.8664 GB, free: 7.223 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.938e-05/0.7557, allocations: 5.562 kB / 0.8664 GB, free: 7.223 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0001976/0.7559, allocations: 198.2 kB / 0.8666 GB, free: 7.086 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7559, allocations: 0 / 0.8666 GB, free: 7.086 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0004586/0.7563, allocations: 104.5 kB / 0.8667 GB, free: 7.062 MB / 0.5919 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.0005248/0.7569, allocations: 216 kB / 0.8669 GB, free: 6.914 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0006943/0.7576, allocations: 252.3 kB / 0.8672 GB, free: 6.805 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.7576, allocations: 0 / 0.8672 GB, free: 6.805 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0003485/0.7579, allocations: 136.9 kB / 0.8673 GB, free: 6.746 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007649/0.7587, allocations: 122.8 kB / 0.8674 GB, free: 6.688 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001133/0.7599, allocations: 0.7006 MB / 0.8681 GB, free: 6.156 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000392/0.7603, allocations: 0.781 MB / 0.8689 GB, free: 5.414 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0002353/0.7605, allocations: 64.06 kB / 0.8689 GB, free: 5.383 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.489e-05/0.7606, allocations: 22.09 kB / 0.8689 GB, free: 5.375 MB / 0.5919 GB Notification: Performance of SimCode: time 2e-07/0.7606, allocations: 0 / 0.8689 GB, free: 5.375 MB / 0.5919 GB Notification: Performance of Templates: time 0.01108/0.7717, allocations: 5.6 MB / 0.8744 GB, free: 1.727 MB / 0.5919 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.RelativeHumidity.makefile (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 & ./BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.RelativeHumidity -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.RelativeHumidity.pipe 2>&1)