Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.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.SpecificEnthalpy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy") translateModel(Buildings.Fluid.Sensors.Examples.SpecificEnthalpy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001331/0.001331, allocations: 109.4 kB / 15.69 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001941/0.001942, allocations: 185.5 kB / 16.62 MB, free: 6.613 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.532/1.532, allocations: 205.1 MB / 222.5 MB, free: 4.535 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.81/1.81, allocations: 292.3 MB / 0.549 GB, free: 12.75 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.001505/0.001505, allocations: 77.88 kB / 0.6723 GB, free: 26.04 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2722/0.2737, allocations: 114.5 MB / 0.7841 GB, free: 12.73 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEnthalpy): time 0.793/1.067, allocations: 161.4 MB / 0.9417 GB, free: 2.414 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.005505/1.072, allocations: 4.545 MB / 0.9461 GB, free: 2.012 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000506/1.073, allocations: 10.03 kB / 0.9461 GB, free: 2.008 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0005077/1.073, allocations: 130.8 kB / 0.9463 GB, free: 1.949 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0009592/1.074, allocations: 333.9 kB / 0.9466 GB, free: 1.867 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008959/1.075, allocations: 276.1 kB / 0.9468 GB, free: 1.848 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0007905/1.076, allocations: 0.5576 MB / 0.9474 GB, free: 1.766 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004124/1.077, allocations: 199.5 kB / 0.9476 GB, free: 1.746 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001176/1.078, allocations: 459.6 kB / 0.948 GB, free: 1.676 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003424/1.078, allocations: 190.5 kB / 0.9482 GB, free: 1.668 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 4.478e-05/1.078, allocations: 16.25 kB / 0.9482 GB, free: 1.668 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002277/1.078, allocations: 84.22 kB / 0.9483 GB, free: 1.664 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001353/1.079, allocations: 85.98 kB / 0.9484 GB, free: 1.66 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001559/1.079, allocations: 121.8 kB / 0.9485 GB, free: 1.66 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0004496/1.079, allocations: 303.1 kB / 0.9488 GB, free: 1.641 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.05e-06/1.079, allocations: 3.938 kB / 0.9488 GB, free: 1.637 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.393e-06/1.079, allocations: 0.7812 kB / 0.9488 GB, free: 1.637 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.955e-06/1.079, allocations: 0 / 0.9488 GB, free: 1.637 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 42 * Number of variables: 42 Notification: Performance of Generate backend data structure: time 0.00104/1.08, allocations: 0.5392 MB / 0.9493 GB, free: 17.2 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.693e-05/1.08, allocations: 9.688 kB / 0.9493 GB, free: 17.2 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.491e-05/1.08, allocations: 32.77 kB / 0.9494 GB, free: 17.18 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004856/1.081, allocations: 285.9 kB / 0.9496 GB, free: 16.95 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.83e-05/1.081, allocations: 10.94 kB / 0.9496 GB, free: 16.95 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.62e-05/1.081, allocations: 20.62 kB / 0.9497 GB, free: 16.95 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005437/1.082, allocations: 263.8 kB / 0.9499 GB, free: 16.83 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.263e-05/1.082, allocations: 4.625 kB / 0.9499 GB, free: 16.83 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.903e-05/1.082, allocations: 10.56 kB / 0.9499 GB, free: 16.82 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.634e-05/1.082, allocations: 4.906 kB / 0.9499 GB, free: 16.82 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004351/1.082, allocations: 149.7 kB / 0.9501 GB, free: 16.82 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001646/1.084, allocations: 1.365 MB / 0.9514 GB, free: 15.72 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003367/1.084, allocations: 185.5 kB / 0.9516 GB, free: 15.57 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001995/1.084, allocations: 93.02 kB / 0.9517 GB, free: 15.52 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003565/1.085, allocations: 121.8 kB / 0.9518 GB, free: 15.42 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.434e-05/1.085, allocations: 44.44 kB / 0.9518 GB, free: 15.38 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=10): time 1.412e-06/1.085, allocations: 0 / 0.9518 GB, free: 15.38 MB / 0.7325 GB Notification: Performance of matching and sorting (n=10): time 0.0007293/1.085, allocations: 212.1 kB / 0.952 GB, free: 15.31 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001103/1.086, allocations: 183.9 kB / 0.9522 GB, free: 15.09 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003602/1.086, allocations: 287.9 kB / 0.9525 GB, free: 14.99 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.547e-05/1.086, allocations: 35.48 kB / 0.9525 GB, free: 14.96 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001125/1.086, allocations: 146.7 kB / 0.9527 GB, free: 14.86 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.243e-05/1.086, allocations: 37.75 kB / 0.9527 GB, free: 14.84 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.126e-05/1.086, allocations: 34.03 kB / 0.9527 GB, free: 14.82 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001498/1.086, allocations: 334 kB / 0.953 GB, free: 14.51 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001496/1.086, allocations: 48.56 kB / 0.9531 GB, free: 14.5 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001801/1.087, allocations: 117.6 kB / 0.9532 GB, free: 14.43 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002934/1.087, allocations: 158.1 kB / 0.9533 GB, free: 14.36 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.897e-06/1.087, allocations: 1.156 kB / 0.9534 GB, free: 14.36 MB / 0.7325 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004068/1.087, allocations: 193.8 kB / 0.9535 GB, free: 14.3 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.06e-05/1.087, allocations: 10.06 kB / 0.9535 GB, free: 14.29 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.284e-06/1.087, allocations: 1.344 kB / 0.9535 GB, free: 14.29 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.822e-05/1.087, allocations: 5.266 kB / 0.9536 GB, free: 14.29 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001468/1.088, allocations: 28.38 kB / 0.9536 GB, free: 14.29 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.666e-06/1.088, allocations: 2.219 kB / 0.9536 GB, free: 14.29 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001583/1.088, allocations: 28.88 kB / 0.9536 GB, free: 14.28 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.981e-05/1.088, allocations: 11.61 kB / 0.9536 GB, free: 14.28 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (15): * Single equations (assignments): 15 * 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.0002409/1.088, allocations: 155.6 kB / 0.9538 GB, free: 14.16 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001218/1.088, allocations: 28.16 kB / 0.9538 GB, free: 14.14 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003414/1.089, allocations: 133.3 kB / 0.9539 GB, free: 14.09 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.673e-06/1.089, allocations: 7.062 kB / 0.9539 GB, free: 14.09 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.995e-06/1.089, allocations: 1.125 kB / 0.9539 GB, free: 14.09 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.682e-06/1.089, allocations: 6.094 kB / 0.9539 GB, free: 14.08 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009051/1.09, allocations: 0.7682 MB / 0.9547 GB, free: 13.43 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.046e-06/1.09, allocations: 1.188 kB / 0.9547 GB, free: 13.43 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001299/1.09, allocations: 26.44 kB / 0.9547 GB, free: 13.43 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.43e-06/1.09, allocations: 2.219 kB / 0.9547 GB, free: 13.43 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.846e-05/1.09, allocations: 5.047 kB / 0.9547 GB, free: 13.43 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.296e-06/1.09, allocations: 6.406 kB / 0.9547 GB, free: 13.43 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.997e-06/1.09, allocations: 2.375 kB / 0.9547 GB, free: 13.43 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005267/1.09, allocations: 339.8 kB / 0.9551 GB, free: 13.23 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 9.243e-05/1.09, allocations: 109.2 kB / 0.9552 GB, free: 13.13 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.562e-05/1.09, allocations: 6.594 kB / 0.9552 GB, free: 13.13 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001213/1.091, allocations: 7.203 kB / 0.9552 GB, free: 13.13 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.797e-05/1.091, allocations: 17.89 kB / 0.9552 GB, free: 13.12 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.123e-05/1.091, allocations: 6.812 kB / 0.9552 GB, free: 13.12 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0002118/1.091, allocations: 211.1 kB / 0.9554 GB, free: 13.04 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.71e-07/1.091, allocations: 0 / 0.9554 GB, free: 13.04 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0003629/1.091, allocations: 59.97 kB / 0.9554 GB, free: 13.03 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 1 (senStr.h_out) * 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 (10): * Single equations (assignments): 10 * 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.0003721/1.092, allocations: 131.8 kB / 0.9556 GB, free: 12.95 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0003601/1.092, allocations: 129 kB / 0.9557 GB, free: 12.93 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.484e-06/1.092, allocations: 96 / 0.9557 GB, free: 12.93 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001381/1.092, allocations: 62.38 kB / 0.9558 GB, free: 12.92 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007164/1.093, allocations: 130.5 kB / 0.9559 GB, free: 12.91 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008271/1.094, allocations: 487.9 kB / 0.9563 GB, free: 12.62 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000351/1.094, allocations: 0.7509 MB / 0.9571 GB, free: 11.92 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001465/1.094, allocations: 50.97 kB / 0.9571 GB, free: 11.91 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.028e-05/1.094, allocations: 23.03 kB / 0.9572 GB, free: 11.91 MB / 0.7325 GB Notification: Performance of SimCode: time 2.31e-07/1.094, allocations: 0 / 0.9572 GB, free: 11.91 MB / 0.7325 GB Notification: Performance of Templates: time 0.01079/1.105, allocations: 4.234 MB / 0.9613 GB, free: 11.64 MB / 0.7325 GB make -j1 -f Buildings_8_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.makefile (rm -f Buildings_8_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; mkfifo Buildings_8_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe >> ../files/Buildings_8_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.sim & ./Buildings_8_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe 2>&1)