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.001596/0.001596, allocations: 108.3 kB / 15.99 MB, free: 6.359 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.001674/0.001674, allocations: 189.2 kB / 16.91 MB, free: 6.195 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.514/1.514, allocations: 205.1 MB / 222.8 MB, free: 4.695 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.736/1.736, allocations: 292.3 MB / 0.5492 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.00137/0.00137, allocations: 66.28 kB / 0.6717 GB, free: 26.45 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2374/0.2388, allocations: 114.5 MB / 0.7835 GB, free: 13.93 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.RelativeHumidity): time 0.6563/0.8951, allocations: 163 MB / 0.9427 GB, free: 6.012 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.002879/0.8981, allocations: 1.54 MB / 0.9442 GB, free: 5.961 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004951/0.8986, allocations: 11.56 kB / 0.9442 GB, free: 5.961 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0005297/0.8992, allocations: 125.2 kB / 0.9443 GB, free: 5.957 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.001368/0.9005, allocations: 437.9 kB / 0.9448 GB, free: 5.934 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.002175/0.9027, allocations: 0.6996 MB / 0.9454 GB, free: 5.906 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0009389/0.9037, allocations: 0.701 MB / 0.9461 GB, free: 5.902 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004174/0.9041, allocations: 260.5 kB / 0.9464 GB, free: 5.875 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006332/0.9048, allocations: 313.3 kB / 0.9467 GB, free: 5.871 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000332/0.9051, allocations: 240.1 kB / 0.9469 GB, free: 5.871 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 4.621e-05/0.9052, allocations: 30.53 kB / 0.9469 GB, free: 5.867 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001819/0.907, allocations: 0.892 MB / 0.9478 GB, free: 5.855 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0001872/0.9072, allocations: 118.3 kB / 0.9479 GB, free: 5.855 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0001998/0.9074, allocations: 156.5 kB / 0.9481 GB, free: 5.855 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.001049/0.9084, allocations: 0.5289 MB / 0.9486 GB, free: 5.812 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.51e-06/0.9085, allocations: 2.312 kB / 0.9486 GB, free: 5.812 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.473e-06/0.9085, allocations: 0 / 0.9486 GB, free: 5.812 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 7.975e-06/0.9085, allocations: 0 / 0.9486 GB, free: 5.812 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.001519/0.91, allocations: 0.674 MB / 0.9492 GB, free: 21.32 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 3.631e-05/0.91, allocations: 10.53 kB / 0.9493 GB, free: 21.32 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000562/0.9106, allocations: 82.67 kB / 0.9493 GB, free: 21.3 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004306/0.9111, allocations: 306.4 kB / 0.9496 GB, free: 21.07 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.027e-05/0.9111, allocations: 22.16 kB / 0.9496 GB, free: 21.07 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.998e-05/0.9111, allocations: 25.44 kB / 0.9497 GB, free: 21.07 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00068/0.9118, allocations: 326 kB / 0.95 GB, free: 21.01 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.245e-05/0.9119, allocations: 1.531 kB / 0.95 GB, free: 21.01 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.778e-05/0.9119, allocations: 8.188 kB / 0.95 GB, free: 21.01 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.06e-05/0.9119, allocations: 10.16 kB / 0.95 GB, free: 21.01 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000755/0.9127, allocations: 286.3 kB / 0.9503 GB, free: 21 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.002012/0.9147, allocations: 1.07 MB / 0.9513 GB, free: 20.48 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001026/0.9157, allocations: 327.1 kB / 0.9516 GB, free: 20.36 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003802/0.9161, allocations: 138.2 kB / 0.9518 GB, free: 20.35 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007935/0.9169, allocations: 396.4 kB / 0.9521 GB, free: 19.97 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.864e-05/0.917, allocations: 36.58 kB / 0.9522 GB, free: 19.93 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=19): time 2.004e-06/0.917, allocations: 0 / 0.9522 GB, free: 19.93 MB / 0.7481 GB Notification: Performance of matching and sorting (n=19): time 0.001342/0.9183, allocations: 404.5 kB / 0.9526 GB, free: 19.88 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.025e-05/0.9184, allocations: 58.17 kB / 0.9526 GB, free: 19.81 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003337/0.9187, allocations: 266.9 kB / 0.9529 GB, free: 19.7 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 3.998e-05/0.9188, allocations: 30.23 kB / 0.9529 GB, free: 19.67 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001337/0.9189, allocations: 172.6 kB / 0.9531 GB, free: 19.56 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 5.558e-05/0.919, allocations: 66.5 kB / 0.9531 GB, free: 19.52 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.919e-05/0.9191, allocations: 46.16 kB / 0.9532 GB, free: 19.5 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001643/0.9193, allocations: 335.5 kB / 0.9535 GB, free: 19.19 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003122/0.9196, allocations: 104.2 kB / 0.9536 GB, free: 19.19 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003396/0.9199, allocations: 169.8 kB / 0.9538 GB, free: 19.13 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006347/0.9206, allocations: 266.4 kB / 0.954 GB, free: 19.08 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.9206, allocations: 0 / 0.954 GB, free: 19.08 MB / 0.7481 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.000774/0.9214, allocations: 316.5 kB / 0.9543 GB, free: 19.03 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.973e-05/0.9214, allocations: 5.25 kB / 0.9543 GB, free: 19.03 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.829e-06/0.9214, allocations: 5.609 kB / 0.9543 GB, free: 19.03 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.98e-05/0.9214, allocations: 2.094 kB / 0.9543 GB, free: 19.03 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002867/0.9217, allocations: 65.05 kB / 0.9544 GB, free: 19.02 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.166e-05/0.9217, allocations: 2.719 kB / 0.9544 GB, free: 19.02 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002957/0.922, allocations: 45.17 kB / 0.9544 GB, free: 19.01 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.907e-05/0.9221, allocations: 7.438 kB / 0.9544 GB, free: 19.01 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.0001704/0.9223, allocations: 156.2 kB / 0.9546 GB, free: 18.89 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.957e-05/0.9223, allocations: 28.62 kB / 0.9546 GB, free: 18.88 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008303/0.9232, allocations: 319.1 kB / 0.9549 GB, free: 18.83 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.2e-06/0.9232, allocations: 7.031 kB / 0.9549 GB, free: 18.82 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/0.9232, allocations: 0 / 0.9549 GB, free: 18.82 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.021e-06/0.9232, allocations: 6.562 kB / 0.9549 GB, free: 18.82 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001793/0.925, allocations: 0.9353 MB / 0.9558 GB, free: 18.29 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.269e-06/0.925, allocations: 1.719 kB / 0.9558 GB, free: 18.29 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002981/0.9253, allocations: 48.25 kB / 0.9559 GB, free: 18.29 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.464e-06/0.9253, allocations: 2.812 kB / 0.9559 GB, free: 18.29 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.514e-05/0.9254, allocations: 6.875 kB / 0.9559 GB, free: 18.29 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.396e-06/0.9254, allocations: 7.25 kB / 0.9559 GB, free: 18.29 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.591e-06/0.9254, allocations: 8.75 kB / 0.9559 GB, free: 18.29 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001266/0.9267, allocations: 0.5556 MB / 0.9565 GB, free: 18.09 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001541/0.9268, allocations: 124.5 kB / 0.9566 GB, free: 17.98 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.517e-05/0.9269, allocations: 6.594 kB / 0.9566 GB, free: 17.98 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002609/0.9272, allocations: 31.22 kB / 0.9566 GB, free: 17.97 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.583e-05/0.9273, allocations: 22.88 kB / 0.9566 GB, free: 17.97 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.136e-05/0.9273, allocations: 6.938 kB / 0.9566 GB, free: 17.97 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0002574/0.9276, allocations: 194.5 kB / 0.9568 GB, free: 17.89 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.5e-07/0.9276, allocations: 0 / 0.9568 GB, free: 17.89 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0006559/0.9282, allocations: 110 kB / 0.9569 GB, free: 17.88 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.0005985/0.9288, allocations: 206.6 kB / 0.9571 GB, free: 17.77 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.000775/0.9296, allocations: 262.2 kB / 0.9574 GB, free: 17.76 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.9296, allocations: 0 / 0.9574 GB, free: 17.76 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0003456/0.93, allocations: 135.6 kB / 0.9575 GB, free: 17.76 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007787/0.9308, allocations: 146.8 kB / 0.9576 GB, free: 17.73 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001226/0.932, allocations: 0.7243 MB / 0.9584 GB, free: 17.28 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004136/0.9324, allocations: 0.7776 MB / 0.9591 GB, free: 16.57 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000109/0.9325, allocations: 32.28 kB / 0.9591 GB, free: 16.57 MB / 0.7481 GB Notification: Performance of SimCode: time 2.31e-07/0.9326, allocations: 0 / 0.9591 GB, free: 16.57 MB / 0.7481 GB Notification: Performance of Templates: time 0.008804/0.9414, allocations: 5.12 MB / 0.9641 GB, free: 16.11 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)