Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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_8_Buildings.Fluid.Sensors.Examples.RelativeHumidity") translateModel(Buildings.Fluid.Sensors.Examples.RelativeHumidity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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.001124/0.001123, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001164/0.001164, allocations: 187.2 kB / 16.25 MB, free: 6.625 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.553/1.553, allocations: 205.1 MB / 222.1 MB, free: 4.688 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.767/1.767, allocations: 292.2 MB / 0.5485 GB, free: 13.64 MB / 462.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.001366/0.001365, allocations: 68.55 kB / 0.671 GB, free: 26.25 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2404/0.2418, allocations: 114.5 MB / 0.7828 GB, free: 13.91 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.RelativeHumidity): time 0.74/0.9818, allocations: 163 MB / 0.9421 GB, free: 5.984 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.004081/0.9859, allocations: 1.545 MB / 0.9436 GB, free: 5.934 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007646/0.9867, allocations: 15.06 kB / 0.9436 GB, free: 5.93 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0007637/0.9876, allocations: 121 kB / 0.9437 GB, free: 5.93 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.001614/0.9892, allocations: 434.7 kB / 0.9441 GB, free: 5.906 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.002618/0.9918, allocations: 0.6993 MB / 0.9448 GB, free: 5.875 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.001133/0.993, allocations: 0.7065 MB / 0.9455 GB, free: 5.871 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004146/0.9934, allocations: 253 kB / 0.9457 GB, free: 5.848 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005658/0.994, allocations: 310.9 kB / 0.946 GB, free: 5.848 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003257/0.9943, allocations: 243.4 kB / 0.9462 GB, free: 5.844 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 4.647e-05/0.9944, allocations: 25.91 kB / 0.9463 GB, free: 5.844 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001856/0.9962, allocations: 0.8937 MB / 0.9471 GB, free: 5.832 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0001781/0.9964, allocations: 112.3 kB / 0.9473 GB, free: 5.832 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0002085/0.9966, allocations: 163.9 kB / 0.9474 GB, free: 5.832 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.001446/0.9981, allocations: 0.7864 MB / 0.9482 GB, free: 5.789 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.9981, allocations: 0 / 0.9482 GB, free: 5.789 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.314e-06/0.9981, allocations: 0 / 0.9482 GB, free: 5.789 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 9.247e-06/0.9981, allocations: 1.75 kB / 0.9482 GB, free: 5.789 MB / 0.7325 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.001696/0.9998, allocations: 0.6719 MB / 0.9488 GB, free: 21.3 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 6.552e-05/0.9999, allocations: 10.8 kB / 0.9488 GB, free: 21.3 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000577/1, allocations: 85.2 kB / 0.9489 GB, free: 21.28 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000466/1.001, allocations: 304.5 kB / 0.9492 GB, free: 21.05 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.944e-05/1.001, allocations: 23.05 kB / 0.9492 GB, free: 21.05 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.356e-05/1.001, allocations: 23.84 kB / 0.9493 GB, free: 21.05 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007461/1.002, allocations: 330.9 kB / 0.9496 GB, free: 20.99 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.41e-05/1.002, allocations: 7 kB / 0.9496 GB, free: 20.98 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.001e-05/1.002, allocations: 6.875 kB / 0.9496 GB, free: 20.98 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.214e-05/1.002, allocations: 16.25 kB / 0.9496 GB, free: 20.98 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008172/1.003, allocations: 280.2 kB / 0.9499 GB, free: 20.98 MB / 0.7481 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.001911/1.005, allocations: 1.07 MB / 0.9509 GB, free: 20.46 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000987/1.006, allocations: 324.9 kB / 0.9512 GB, free: 20.34 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003729/1.006, allocations: 137.7 kB / 0.9514 GB, free: 20.32 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008309/1.007, allocations: 397.4 kB / 0.9517 GB, free: 19.95 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.389e-05/1.007, allocations: 32.72 kB / 0.9518 GB, free: 19.91 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=19): time 1.613e-06/1.007, allocations: 0.75 kB / 0.9518 GB, free: 19.91 MB / 0.7481 GB Notification: Performance of matching and sorting (n=19): time 0.001392/1.008, allocations: 408.2 kB / 0.9522 GB, free: 19.85 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.461e-05/1.008, allocations: 60.5 kB / 0.9522 GB, free: 19.79 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003406/1.009, allocations: 266.8 kB / 0.9525 GB, free: 19.68 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 3.594e-05/1.009, allocations: 30.23 kB / 0.9525 GB, free: 19.64 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001389/1.009, allocations: 174.1 kB / 0.9527 GB, free: 19.54 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 5.02e-05/1.009, allocations: 62.09 kB / 0.9527 GB, free: 19.49 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.053e-05/1.009, allocations: 46.69 kB / 0.9528 GB, free: 19.48 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.000151/1.009, allocations: 334.6 kB / 0.9531 GB, free: 19.16 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002967/1.01, allocations: 105.7 kB / 0.9532 GB, free: 19.16 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000329/1.01, allocations: 166.2 kB / 0.9533 GB, free: 19.1 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005958/1.01, allocations: 266.4 kB / 0.9536 GB, free: 19.05 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/1.01, allocations: 1.094 kB / 0.9536 GB, free: 19.05 MB / 0.7481 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0007508/1.011, allocations: 317.9 kB / 0.9539 GB, free: 19 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.263e-05/1.011, allocations: 5.469 kB / 0.9539 GB, free: 19 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.772e-06/1.011, allocations: 1.281 kB / 0.9539 GB, free: 19 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.873e-05/1.011, allocations: 2.75 kB / 0.9539 GB, free: 19 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002825/1.012, allocations: 69.83 kB / 0.954 GB, free: 18.99 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.197e-06/1.012, allocations: 2.719 kB / 0.954 GB, free: 18.99 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002823/1.012, allocations: 44.38 kB / 0.954 GB, free: 18.98 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.954e-05/1.012, allocations: 8.578 kB / 0.954 GB, free: 18.98 MB / 0.7481 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.0001681/1.012, allocations: 155.6 kB / 0.9542 GB, free: 18.86 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.749e-05/1.012, allocations: 28 kB / 0.9542 GB, free: 18.85 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008387/1.013, allocations: 311.5 kB / 0.9545 GB, free: 18.8 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.364e-06/1.013, allocations: 6.031 kB / 0.9545 GB, free: 18.8 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/1.013, allocations: 2.828 kB / 0.9545 GB, free: 18.8 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.302e-06/1.013, allocations: 8.594 kB / 0.9545 GB, free: 18.79 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001692/1.015, allocations: 0.9354 MB / 0.9554 GB, free: 18.27 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.649e-06/1.015, allocations: 2.781 kB / 0.9554 GB, free: 18.27 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002821/1.015, allocations: 48.14 kB / 0.9555 GB, free: 18.27 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.817e-06/1.015, allocations: 2.656 kB / 0.9555 GB, free: 18.27 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.592e-05/1.015, allocations: 10.61 kB / 0.9555 GB, free: 18.27 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.382e-06/1.015, allocations: 6.875 kB / 0.9555 GB, free: 18.27 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.048e-06/1.015, allocations: 5.625 kB / 0.9555 GB, free: 18.26 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001253/1.016, allocations: 0.5618 MB / 0.9561 GB, free: 18.06 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001629/1.017, allocations: 123.5 kB / 0.9562 GB, free: 17.95 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.759e-05/1.017, allocations: 7.328 kB / 0.9562 GB, free: 17.95 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002589/1.017, allocations: 30.53 kB / 0.9562 GB, free: 17.95 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.322e-05/1.017, allocations: 26.23 kB / 0.9562 GB, free: 17.94 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.713e-05/1.017, allocations: 7.031 kB / 0.9562 GB, free: 17.94 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0002667/1.017, allocations: 193.2 kB / 0.9564 GB, free: 17.86 MB / 0.7481 GB Notification: Performance of sort global known variables: time 9.1e-08/1.017, allocations: 0 / 0.9564 GB, free: 17.86 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0005465/1.018, allocations: 117 kB / 0.9565 GB, free: 17.84 MB / 0.7481 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.0005332/1.018, allocations: 186.9 kB / 0.9567 GB, free: 17.75 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0007427/1.019, allocations: 265.7 kB / 0.957 GB, free: 17.74 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/1.019, allocations: 0 / 0.957 GB, free: 17.74 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0003365/1.02, allocations: 135.2 kB / 0.9571 GB, free: 17.74 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007782/1.02, allocations: 141.1 kB / 0.9572 GB, free: 17.71 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001071/1.021, allocations: 0.6901 MB / 0.9579 GB, free: 17.29 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003653/1.022, allocations: 0.784 MB / 0.9587 GB, free: 16.59 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0002536/1.022, allocations: 62.86 kB / 0.9587 GB, free: 16.57 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.169e-05/1.022, allocations: 28.94 kB / 0.9588 GB, free: 16.56 MB / 0.7481 GB Notification: Performance of SimCode: time 1.433e-06/1.022, allocations: 1.406 kB / 0.9588 GB, free: 16.56 MB / 0.7481 GB Notification: Performance of Templates: time 0.01078/1.033, allocations: 5.777 MB / 0.9644 GB, free: 16.19 MB / 0.7481 GB make -j1 -f Buildings_8_Buildings.Fluid.Sensors.Examples.RelativeHumidity.makefile (rm -f Buildings_8_Buildings.Fluid.Sensors.Examples.RelativeHumidity.pipe ; mkfifo Buildings_8_Buildings.Fluid.Sensors.Examples.RelativeHumidity.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Sensors.Examples.RelativeHumidity.pipe >> ../files/Buildings_8_Buildings.Fluid.Sensors.Examples.RelativeHumidity.sim & ./Buildings_8_Buildings.Fluid.Sensors.Examples.RelativeHumidity -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Sensors.Examples.RelativeHumidity.pipe 2>&1)