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.0008529/0.0008531, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.006257/0.006257, allocations: 169.8 kB / 16.27 MB, free: 6.652 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.323/1.323, allocations: 223.3 MB / 240.3 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00167/0.001671, allocations: 266.2 kB / 291.7 MB, free: 1.867 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9453/0.9453, allocations: 169.5 MB / 0.5004 GB, free: 14.07 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0006332/0.0006333, allocations: 19.48 kB / 0.5987 GB, free: 27.91 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1923/0.1929, allocations: 88.55 MB / 0.6851 GB, free: 15.06 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.RelativeHumidity): time 0.5542/0.7472, allocations: 160.9 MB / 0.8422 GB, free: 5.059 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.003032/0.7503, allocations: 1.548 MB / 0.8438 GB, free: 3.82 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003184/0.7506, allocations: 10.59 kB / 0.8438 GB, free: 3.816 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0004429/0.7511, allocations: 110.7 kB / 0.8439 GB, free: 3.723 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001288/0.7524, allocations: 443.2 kB / 0.8443 GB, free: 3.391 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002312/0.7547, allocations: 0.6838 MB / 0.845 GB, free: 2.898 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001258/0.756, allocations: 0.997 MB / 0.8459 GB, free: 2.355 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004153/0.7564, allocations: 222.5 kB / 0.8461 GB, free: 2.23 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006047/0.757, allocations: 275.1 kB / 0.8464 GB, free: 2.086 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003153/0.7574, allocations: 224.5 kB / 0.8466 GB, free: 1.961 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 4.491e-05/0.7574, allocations: 13.09 kB / 0.8466 GB, free: 1.961 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001697/0.7591, allocations: 0.9833 MB / 0.8476 GB, free: 1.398 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001856/0.7593, allocations: 103.1 kB / 0.8477 GB, free: 1.332 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001558/0.7595, allocations: 175.9 kB / 0.8479 GB, free: 1.207 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001191/0.7607, allocations: 0.7627 MB / 0.8486 GB, free: 0.7539 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.613e-06/0.7607, allocations: 0 / 0.8486 GB, free: 0.7539 MB / 0.5606 GB Notification: Performance of FrontEnd: time 3.035e-06/0.7607, allocations: 0 / 0.8486 GB, free: 0.7539 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 7.985e-06/0.7607, allocations: 0 / 0.8486 GB, free: 0.7539 MB / 0.5606 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.001366/0.7621, allocations: 0.6382 MB / 0.8492 GB, free: 192 kB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.341e-05/0.7621, allocations: 10.91 kB / 0.8492 GB, free: 192 kB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005018/0.7626, allocations: 83.56 kB / 0.8493 GB, free: 152 kB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003986/0.7631, allocations: 301.1 kB / 0.8496 GB, free: 15.86 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.64e-05/0.7631, allocations: 19.09 kB / 0.8496 GB, free: 15.86 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.068e-05/0.7632, allocations: 28.69 kB / 0.8497 GB, free: 15.84 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000686/0.7638, allocations: 346.9 kB / 0.85 GB, free: 15.64 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.036e-05/0.7639, allocations: 0 / 0.85 GB, free: 15.64 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.954e-05/0.7639, allocations: 10.69 kB / 0.85 GB, free: 15.63 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.163e-05/0.7639, allocations: 9.844 kB / 0.85 GB, free: 15.62 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007212/0.7646, allocations: 322.5 kB / 0.8503 GB, free: 15.49 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.001646/0.7663, allocations: 1.085 MB / 0.8514 GB, free: 14.61 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008724/0.7672, allocations: 340.6 kB / 0.8517 GB, free: 14.39 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003721/0.7676, allocations: 149.5 kB / 0.8518 GB, free: 14.32 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006892/0.7683, allocations: 407.5 kB / 0.8522 GB, free: 13.91 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.742e-05/0.7683, allocations: 34.56 kB / 0.8523 GB, free: 13.87 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=19): time 1.684e-06/0.7683, allocations: 0 / 0.8523 GB, free: 13.87 MB / 0.5762 GB Notification: Performance of matching and sorting (n=19): time 0.001361/0.7697, allocations: 457.1 kB / 0.8527 GB, free: 13.66 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.743e-05/0.7697, allocations: 58.19 kB / 0.8528 GB, free: 13.59 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002471/0.77, allocations: 266 kB / 0.853 GB, free: 13.42 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.183e-05/0.77, allocations: 29.7 kB / 0.853 GB, free: 13.38 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001122/0.7702, allocations: 172.1 kB / 0.8532 GB, free: 13.23 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 5.719e-05/0.7702, allocations: 67.72 kB / 0.8533 GB, free: 13.17 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.383e-05/0.7703, allocations: 26.8 kB / 0.8533 GB, free: 13.14 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0002005/0.7705, allocations: 341 kB / 0.8536 GB, free: 12.8 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003109/0.7708, allocations: 115 kB / 0.8537 GB, free: 12.76 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004619/0.7713, allocations: 182.1 kB / 0.8539 GB, free: 12.64 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006679/0.7719, allocations: 301.5 kB / 0.8542 GB, free: 12.48 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.772, allocations: 0 / 0.8542 GB, free: 12.48 MB / 0.5762 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0007634/0.7727, allocations: 348 kB / 0.8545 GB, free: 12.32 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/0.7728, allocations: 9.25 kB / 0.8545 GB, free: 12.31 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.624e-06/0.7728, allocations: 4.031 kB / 0.8545 GB, free: 12.31 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.415e-05/0.7728, allocations: 3.125 kB / 0.8545 GB, free: 12.31 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002772/0.7731, allocations: 66.05 kB / 0.8546 GB, free: 12.29 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.274e-06/0.7731, allocations: 3.281 kB / 0.8546 GB, free: 12.29 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002973/0.7734, allocations: 55.22 kB / 0.8546 GB, free: 12.27 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.963e-05/0.7734, allocations: 9.094 kB / 0.8547 GB, free: 12.26 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.0001551/0.7736, allocations: 157.9 kB / 0.8548 GB, free: 12.12 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.107e-05/0.7736, allocations: 25.16 kB / 0.8548 GB, free: 12.11 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000837/0.7745, allocations: 365.5 kB / 0.8552 GB, free: 11.9 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.63e-06/0.7745, allocations: 3.938 kB / 0.8552 GB, free: 11.89 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.189e-06/0.7745, allocations: 2.891 kB / 0.8552 GB, free: 11.89 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.753e-06/0.7745, allocations: 3.984 kB / 0.8552 GB, free: 11.89 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001879/0.7764, allocations: 0.9696 MB / 0.8561 GB, free: 11.09 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.436e-06/0.7764, allocations: 2.781 kB / 0.8561 GB, free: 11.09 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002559/0.7767, allocations: 51.97 kB / 0.8562 GB, free: 11.08 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.869e-06/0.7767, allocations: 3.219 kB / 0.8562 GB, free: 11.08 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.922e-05/0.7767, allocations: 10.47 kB / 0.8562 GB, free: 11.07 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.39e-06/0.7767, allocations: 6.141 kB / 0.8562 GB, free: 11.07 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.988e-06/0.7767, allocations: 11.03 kB / 0.8562 GB, free: 11.06 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001095/0.7778, allocations: 0.599 MB / 0.8568 GB, free: 10.68 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001223/0.778, allocations: 124.6 kB / 0.8569 GB, free: 10.55 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.19e-05/0.778, allocations: 8.844 kB / 0.8569 GB, free: 10.55 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002613/0.7783, allocations: 37.56 kB / 0.857 GB, free: 10.53 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.382e-05/0.7784, allocations: 28.62 kB / 0.857 GB, free: 10.51 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.203e-05/0.7784, allocations: 12.31 kB / 0.857 GB, free: 10.51 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002266/0.7786, allocations: 188.3 kB / 0.8572 GB, free: 10.39 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.51e-07/0.7786, allocations: 0 / 0.8572 GB, free: 10.39 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0004526/0.7791, allocations: 112 kB / 0.8573 GB, free: 10.36 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.0004252/0.7795, allocations: 205.5 kB / 0.8575 GB, free: 10.21 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0007889/0.7803, allocations: 278.3 kB / 0.8578 GB, free: 10.11 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.378e-06/0.7803, allocations: 4.312 kB / 0.8578 GB, free: 10.11 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0003572/0.7807, allocations: 150.9 kB / 0.8579 GB, free: 10.05 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008212/0.7815, allocations: 134.1 kB / 0.858 GB, free: 9.98 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001053/0.7826, allocations: 0.7316 MB / 0.8587 GB, free: 9.418 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004045/0.783, allocations: 0.7774 MB / 0.8595 GB, free: 8.68 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0002399/0.7833, allocations: 63.38 kB / 0.8596 GB, free: 8.656 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.678e-05/0.7834, allocations: 28.28 kB / 0.8596 GB, free: 8.645 MB / 0.5762 GB Notification: Performance of SimCode: time 2.71e-07/0.7834, allocations: 0 / 0.8596 GB, free: 8.645 MB / 0.5762 GB Notification: Performance of Templates: time 0.01011/0.7935, allocations: 5.57 MB / 0.865 GB, free: 5.887 MB / 0.5762 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)