Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Fluid.Sensors.Examples.RelativeHumidity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.RelativeHumidity") translateModel(Buildings.Fluid.Sensors.Examples.RelativeHumidity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.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.001032/0.001032, allocations: 86.17 kB / 15.06 MB, free: 1.09 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.001252/0.001252, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.678/1.678, allocations: 205.4 MB / 222.1 MB, free: 5.656 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.628/1.628, allocations: 252 MB / 0.5102 GB, free: 4.828 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0006046/0.0006048, allocations: 12 kB / 0.6243 GB, free: 1.113 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5984/0.599, allocations: 106.3 MB / 0.7281 GB, free: 11.39 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.RelativeHumidity): time 0.2374/0.8365, allocations: 150.2 MB / 0.8748 GB, free: 4.734 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.002872/0.8394, allocations: 1.521 MB / 0.8763 GB, free: 3.211 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002789/0.8397, allocations: 7.938 kB / 0.8763 GB, free: 3.203 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.0004391/0.8402, allocations: 103.2 kB / 0.8764 GB, free: 3.102 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.001087/0.8413, allocations: 358.3 kB / 0.8768 GB, free: 2.75 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.001617/0.8429, allocations: 0.5558 MB / 0.8773 GB, free: 2.195 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.0008636/0.8438, allocations: 0.8306 MB / 0.8781 GB, free: 1.363 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003118/0.8441, allocations: 188.5 kB / 0.8783 GB, free: 1.18 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004889/0.8446, allocations: 278.9 kB / 0.8786 GB, free: 0.9062 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002661/0.8449, allocations: 219.1 kB / 0.8788 GB, free: 0.6914 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 3.603e-05/0.8449, allocations: 16 kB / 0.8788 GB, free: 0.6758 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00113/0.846, allocations: 0.5261 MB / 0.8793 GB, free: 152 kB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0001155/0.8462, allocations: 103.7 kB / 0.8794 GB, free: 48 kB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 9.041e-05/0.8463, allocations: 77.52 kB / 0.8795 GB, free: 15.96 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.0006161/0.8469, allocations: 470.9 kB / 0.8799 GB, free: 15.5 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.8469, allocations: 4 kB / 0.8799 GB, free: 15.5 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.613e-06/0.8469, allocations: 0 / 0.8799 GB, free: 15.5 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 6.011e-06/0.8469, allocations: 0 / 0.8799 GB, free: 15.5 MB / 0.7012 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.0009955/0.8479, allocations: 0.6236 MB / 0.8805 GB, free: 14.83 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 3.495e-05/0.848, allocations: 8.031 kB / 0.8806 GB, free: 14.82 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004608/0.8484, allocations: 91.45 kB / 0.8806 GB, free: 14.73 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004011/0.8489, allocations: 295.9 kB / 0.8809 GB, free: 14.4 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.367e-05/0.8489, allocations: 20.56 kB / 0.8809 GB, free: 14.38 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.78e-05/0.849, allocations: 28 kB / 0.881 GB, free: 14.35 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006528/0.8496, allocations: 352.1 kB / 0.8813 GB, free: 13.99 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.758e-06/0.8496, allocations: 0 / 0.8813 GB, free: 13.99 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.577e-05/0.8497, allocations: 8 kB / 0.8813 GB, free: 13.98 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.626e-06/0.8497, allocations: 4 kB / 0.8813 GB, free: 13.98 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006925/0.8504, allocations: 313.5 kB / 0.8816 GB, free: 13.68 MB / 0.7012 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.001644/0.852, allocations: 1.083 MB / 0.8827 GB, free: 12.53 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008419/0.8529, allocations: 339.7 kB / 0.883 GB, free: 12.17 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003218/0.8532, allocations: 148.8 kB / 0.8831 GB, free: 12.02 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006628/0.8539, allocations: 412.3 kB / 0.8835 GB, free: 11.54 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.336e-05/0.8539, allocations: 34.5 kB / 0.8836 GB, free: 11.5 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=19): time 1.543e-06/0.8539, allocations: 0 / 0.8836 GB, free: 11.5 MB / 0.7012 GB Notification: Performance of matching and sorting (n=19): time 0.001217/0.8552, allocations: 448.7 kB / 0.884 GB, free: 11.06 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.373e-05/0.8552, allocations: 59.41 kB / 0.884 GB, free: 10.99 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002582/0.8555, allocations: 262.7 kB / 0.8843 GB, free: 10.73 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 2.84e-05/0.8555, allocations: 33.7 kB / 0.8843 GB, free: 10.69 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001074/0.8556, allocations: 164.1 kB / 0.8845 GB, free: 10.52 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 5.777e-05/0.8557, allocations: 63.09 kB / 0.8845 GB, free: 10.46 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.407e-05/0.8557, allocations: 8 kB / 0.8846 GB, free: 10.45 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001229/0.8558, allocations: 330.8 kB / 0.8849 GB, free: 10.12 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000294/0.8561, allocations: 119.9 kB / 0.885 GB, free: 10 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003123/0.8565, allocations: 177 kB / 0.8852 GB, free: 9.812 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002917/0.8568, allocations: 135.9 kB / 0.8853 GB, free: 9.68 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.8568, allocations: 0 / 0.8853 GB, free: 9.68 MB / 0.7012 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006916/0.8575, allocations: 345.1 kB / 0.8856 GB, free: 9.336 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.89e-05/0.8575, allocations: 8 kB / 0.8856 GB, free: 9.328 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.722e-06/0.8575, allocations: 0 / 0.8856 GB, free: 9.328 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.976e-05/0.8575, allocations: 7.984 kB / 0.8856 GB, free: 9.32 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002572/0.8578, allocations: 68.03 kB / 0.8857 GB, free: 9.254 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.355e-06/0.8578, allocations: 4 kB / 0.8857 GB, free: 9.25 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002603/0.8581, allocations: 63.59 kB / 0.8858 GB, free: 9.188 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.964e-05/0.8581, allocations: 8 kB / 0.8858 GB, free: 9.18 MB / 0.7012 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001461/0.8583, allocations: 145.8 kB / 0.8859 GB, free: 9.027 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.033e-05/0.8583, allocations: 27.72 kB / 0.8859 GB, free: 9 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007941/0.8591, allocations: 353.9 kB / 0.8863 GB, free: 8.648 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.556e-06/0.8592, allocations: 7.984 kB / 0.8863 GB, free: 8.641 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.993e-06/0.8592, allocations: 0 / 0.8863 GB, free: 8.641 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.8592, allocations: 0 / 0.8863 GB, free: 8.641 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001517/0.8607, allocations: 0.9611 MB / 0.8872 GB, free: 7.574 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.926e-06/0.8607, allocations: 0 / 0.8872 GB, free: 7.574 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002602/0.861, allocations: 64.08 kB / 0.8873 GB, free: 7.512 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.41e-06/0.861, allocations: 0 / 0.8873 GB, free: 7.512 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.152e-05/0.861, allocations: 8.062 kB / 0.8873 GB, free: 7.504 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.915e-05/0.861, allocations: 11.95 kB / 0.8873 GB, free: 7.492 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.8611, allocations: 0 / 0.8873 GB, free: 7.492 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001083/0.8621, allocations: 0.5994 MB / 0.8879 GB, free: 6.859 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001488/0.8623, allocations: 124.8 kB / 0.888 GB, free: 6.719 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.37e-05/0.8624, allocations: 11.98 kB / 0.888 GB, free: 6.707 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000245/0.8626, allocations: 39.97 kB / 0.888 GB, free: 6.668 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.457e-05/0.8627, allocations: 19.88 kB / 0.8881 GB, free: 6.648 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.935e-05/0.8627, allocations: 12 kB / 0.8881 GB, free: 6.637 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.0001908/0.8629, allocations: 193.9 kB / 0.8883 GB, free: 6.445 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.8e-07/0.8629, allocations: 0 / 0.8883 GB, free: 6.445 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.0004928/0.8634, allocations: 103.8 kB / 0.8884 GB, free: 6.344 MB / 0.7012 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005203/0.864, allocations: 204.4 kB / 0.8886 GB, free: 6.141 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.000708/0.8647, allocations: 282.2 kB / 0.8888 GB, free: 5.867 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 2.975e-06/0.8647, allocations: 0 / 0.8888 GB, free: 5.867 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.0003331/0.865, allocations: 152.2 kB / 0.889 GB, free: 5.719 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007541/0.8658, allocations: 141.3 kB / 0.8891 GB, free: 5.586 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00115/0.867, allocations: 0.7071 MB / 0.8898 GB, free: 4.832 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003963/0.8674, allocations: 0.7719 MB / 0.8906 GB, free: 4.035 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.000253/0.8676, allocations: 62.25 kB / 0.8906 GB, free: 3.977 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.608e-05/0.8677, allocations: 31.44 kB / 0.8906 GB, free: 3.945 MB / 0.7012 GB Notification: Performance of SimCode: time 4.71e-07/0.8677, allocations: 3.938 kB / 0.8906 GB, free: 3.941 MB / 0.7012 GB Notification: Performance of Templates: time 0.01/0.8777, allocations: 5.322 MB / 0.8958 GB, free: 14.7 MB / 0.7169 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.RelativeHumidity.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.RelativeHumidity.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.RelativeHumidity.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.RelativeHumidity.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.RelativeHumidity.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.RelativeHumidity -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.RelativeHumidity.pipe 2>&1) Environment - environmentSimulation: