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: "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.SpecificEnthalpy,fileNamePrefix="Buildings_8_Buildings_Fluid_Sensors_Examples_SpecificEnthalpy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.SpecificEnthalpy,fileNamePrefix="Buildings_8_Buildings_Fluid_Sensors_Examples_SpecificEnthalpy",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000845/0.0008453, allocations: 90.36 kB / 15.36 MB, free: 0.7383 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.005691/0.005691, allocations: 172 kB / 16.26 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.46/1.46, allocations: 205.4 MB / 222.4 MB, free: 5.559 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.704/1.704, allocations: 292.7 MB / 0.5503 GB, free: 14.43 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.0004754/0.0004755, allocations: 16.34 kB / 0.6744 GB, free: 25.91 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1982/0.1987, allocations: 116.3 MB / 0.788 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEnthalpy): time 0.5521/0.7508, allocations: 157.1 MB / 0.9414 GB, free: 1.098 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.003818/0.7547, allocations: 4.492 MB / 0.9458 GB, free: 0.75 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001698/0.7548, allocations: 14.5 kB / 0.9458 GB, free: 0.7422 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0003074/0.7552, allocations: 94.98 kB / 0.9459 GB, free: 0.7031 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0006347/0.7558, allocations: 314.1 kB / 0.9462 GB, free: 0.6367 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005685/0.7564, allocations: 251.2 kB / 0.9464 GB, free: 0.6211 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0007736/0.7572, allocations: 0.7901 MB / 0.9472 GB, free: 0.5391 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002868/0.7575, allocations: 171 kB / 0.9473 GB, free: 0.5117 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007985/0.7583, allocations: 424.4 kB / 0.9477 GB, free: 456 kB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002462/0.7585, allocations: 198 kB / 0.9479 GB, free: 444 kB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.736e-05/0.7586, allocations: 9.812 kB / 0.9479 GB, free: 444 kB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000151/0.7587, allocations: 65.73 kB / 0.948 GB, free: 444 kB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 9.315e-05/0.7588, allocations: 78.84 kB / 0.9481 GB, free: 444 kB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001196/0.759, allocations: 140.6 kB / 0.9482 GB, free: 408 kB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002886/0.7593, allocations: 278.2 kB / 0.9485 GB, free: 388 kB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.7593, allocations: 0 / 0.9485 GB, free: 388 kB / 0.7169 GB Notification: Performance of FrontEnd: time 2.004e-06/0.7593, allocations: 0.75 kB / 0.9485 GB, free: 388 kB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.829e-06/0.7593, allocations: 0 / 0.9485 GB, free: 388 kB / 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.0006746/0.76, allocations: 0.4987 MB / 0.949 GB, free: 15.95 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.494e-05/0.76, allocations: 12.34 kB / 0.949 GB, free: 15.95 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.718e-05/0.7601, allocations: 53.39 kB / 0.949 GB, free: 15.91 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.03e-05/0.7601, allocations: 29.19 kB / 0.949 GB, free: 15.89 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003056/0.7604, allocations: 269.4 kB / 0.9493 GB, free: 15.67 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.718e-05/0.7605, allocations: 14.88 kB / 0.9493 GB, free: 15.67 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.973e-05/0.7605, allocations: 22.89 kB / 0.9493 GB, free: 15.67 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003959/0.7609, allocations: 261.7 kB / 0.9496 GB, free: 15.55 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.118e-05/0.7609, allocations: 7.344 kB / 0.9496 GB, free: 15.54 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.999e-05/0.7609, allocations: 15.08 kB / 0.9496 GB, free: 15.54 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.918e-06/0.761, allocations: 5.219 kB / 0.9496 GB, free: 15.54 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003381/0.7613, allocations: 156.3 kB / 0.9498 GB, free: 15.53 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001216/0.7625, allocations: 1.379 MB / 0.9511 GB, free: 14.43 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002937/0.7628, allocations: 185.9 kB / 0.9513 GB, free: 14.27 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001898/0.763, allocations: 106.1 kB / 0.9514 GB, free: 14.22 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000366/0.7634, allocations: 131.5 kB / 0.9515 GB, free: 14.12 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.116e-05/0.7635, allocations: 46.59 kB / 0.9516 GB, free: 14.07 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=10): time 1.433e-06/0.7635, allocations: 4.438 kB / 0.9516 GB, free: 14.07 MB / 0.7325 GB Notification: Performance of matching and sorting (n=10): time 0.0006886/0.7642, allocations: 219 kB / 0.9518 GB, free: 14.02 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.988e-05/0.7642, allocations: 186.5 kB / 0.952 GB, free: 13.79 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003179/0.7646, allocations: 288 kB / 0.9522 GB, free: 13.69 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.297e-05/0.7646, allocations: 34.77 kB / 0.9523 GB, free: 13.65 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001036/0.7647, allocations: 147.8 kB / 0.9524 GB, free: 13.55 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.27e-05/0.7648, allocations: 36.2 kB / 0.9524 GB, free: 13.54 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.312e-05/0.7648, allocations: 19.78 kB / 0.9525 GB, free: 13.52 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001135/0.7649, allocations: 338.8 kB / 0.9528 GB, free: 13.2 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001502/0.7651, allocations: 51.47 kB / 0.9528 GB, free: 13.2 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002133/0.7653, allocations: 126.7 kB / 0.9529 GB, free: 13.12 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003657/0.7657, allocations: 167.3 kB / 0.9531 GB, free: 13.05 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.836e-06/0.7657, allocations: 1.062 kB / 0.9531 GB, free: 13.05 MB / 0.7325 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004357/0.7661, allocations: 202.6 kB / 0.9533 GB, free: 12.99 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.929e-05/0.7662, allocations: 9.5 kB / 0.9533 GB, free: 12.99 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.913e-06/0.7662, allocations: 1.656 kB / 0.9533 GB, free: 12.99 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.384e-05/0.7662, allocations: 7.422 kB / 0.9533 GB, free: 12.99 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001558/0.7663, allocations: 34.95 kB / 0.9534 GB, free: 12.98 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.127e-05/0.7664, allocations: 2.281 kB / 0.9534 GB, free: 12.98 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001741/0.7665, allocations: 38.56 kB / 0.9534 GB, free: 12.97 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.759e-05/0.7666, allocations: 6.906 kB / 0.9534 GB, free: 12.97 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.0001312/0.7667, allocations: 142 kB / 0.9535 GB, free: 12.86 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001247/0.7668, allocations: 28.31 kB / 0.9536 GB, free: 12.84 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003201/0.7672, allocations: 142.7 kB / 0.9537 GB, free: 12.79 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.868e-06/0.7672, allocations: 2.094 kB / 0.9537 GB, free: 12.79 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.971e-06/0.7672, allocations: 3.531 kB / 0.9537 GB, free: 12.79 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.059e-06/0.7672, allocations: 6.609 kB / 0.9537 GB, free: 12.79 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009261/0.7681, allocations: 0.7688 MB / 0.9545 GB, free: 12.14 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/0.7682, allocations: 1.094 kB / 0.9545 GB, free: 12.14 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001294/0.7683, allocations: 32.09 kB / 0.9545 GB, free: 12.13 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.208e-06/0.7683, allocations: 2.188 kB / 0.9545 GB, free: 12.13 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.193e-05/0.7683, allocations: 9.297 kB / 0.9545 GB, free: 12.13 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.026e-06/0.7683, allocations: 2.562 kB / 0.9545 GB, free: 12.13 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.893e-06/0.7683, allocations: 1.719 kB / 0.9545 GB, free: 12.13 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005135/0.7689, allocations: 353.1 kB / 0.9548 GB, free: 11.94 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 9.189e-05/0.769, allocations: 108.6 kB / 0.9549 GB, free: 11.83 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.433e-05/0.769, allocations: 6.562 kB / 0.955 GB, free: 11.83 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001414/0.7691, allocations: 15.8 kB / 0.955 GB, free: 11.83 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.283e-05/0.7692, allocations: 16.91 kB / 0.955 GB, free: 11.82 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.895e-06/0.7692, allocations: 3.438 kB / 0.955 GB, free: 11.82 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0001744/0.7694, allocations: 212.7 kB / 0.9552 GB, free: 11.74 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.072e-06/0.7694, allocations: 1.031 kB / 0.9552 GB, free: 11.74 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0003445/0.7697, allocations: 64.8 kB / 0.9553 GB, free: 11.73 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.000923/0.7707, allocations: 0.919 MB / 0.9561 GB, free: 11 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0003299/0.771, allocations: 132.7 kB / 0.9563 GB, free: 10.99 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.771, allocations: 3.75 kB / 0.9563 GB, free: 10.99 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001523/0.7712, allocations: 70.62 kB / 0.9563 GB, free: 10.98 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007818/0.772, allocations: 121.1 kB / 0.9565 GB, free: 10.97 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003075/0.7751, allocations: 2.709 MB / 0.9591 GB, free: 9.32 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003032/0.7754, allocations: 0.7646 MB / 0.9599 GB, free: 8.617 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.000153/0.7756, allocations: 53.84 kB / 0.9599 GB, free: 8.605 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.912e-05/0.7756, allocations: 74.23 kB / 0.96 GB, free: 8.594 MB / 0.7325 GB Notification: Performance of SimCode: time 2.4e-07/0.7757, allocations: 0 / 0.96 GB, free: 8.594 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01627/0.7919, allocations: 6.35 MB / 0.9662 GB, free: 7.387 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001702/0.7921, allocations: 239.2 kB / 0.9664 GB, free: 7.129 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.882/2.674, allocations: 0.5 kB / 0.9664 GB, free: 7.129 MB / 0.7325 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Sensors_Examples_SpecificEnthalpy_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Sensors_Examples_SpecificEnthalpy.fmu > Buildings_8_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe 2>&1)