Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.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.EnthalpyFlowRate,fileNamePrefix="Buildings_8_Buildings_Fluid_Sensors_Examples_EnthalpyFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate,fileNamePrefix="Buildings_8_Buildings_Fluid_Sensors_Examples_EnthalpyFlowRate",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.001074/0.001075, 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.001109/0.001109, allocations: 189 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.386/1.386, allocations: 205.1 MB / 222.5 MB, free: 4.566 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.616/1.616, 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.001405/0.001405, allocations: 75.45 kB / 0.6718 GB, free: 26.22 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2193/0.2207, allocations: 114.5 MB / 0.7836 GB, free: 13.26 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.561/0.7817, allocations: 167.5 MB / 0.9472 GB, free: 1.758 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.007108/0.7889, allocations: 6.533 MB / 0.9536 GB, free: 1.199 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006225/0.7895, allocations: 15.81 kB / 0.9536 GB, free: 1.191 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0005772/0.7902, allocations: 164.4 kB / 0.9538 GB, free: 1.121 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.002164/0.7924, allocations: 0.8508 MB / 0.9546 GB, free: 0.918 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008628/0.7932, allocations: 329.9 kB / 0.9549 GB, free: 0.8945 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.000729/0.794, allocations: 0.7229 MB / 0.9556 GB, free: 0.7812 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004194/0.7944, allocations: 267.4 kB / 0.9559 GB, free: 0.7539 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00108/0.7955, allocations: 0.5532 MB / 0.9564 GB, free: 0.6719 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003409/0.7958, allocations: 268.5 kB / 0.9567 GB, free: 0.6641 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 4.019e-05/0.7959, allocations: 22.03 kB / 0.9567 GB, free: 0.6641 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005806/0.7965, allocations: 334.2 kB / 0.957 GB, free: 0.6367 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001144/0.7966, allocations: 110.2 kB / 0.9571 GB, free: 0.6328 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001695/0.7968, allocations: 167.8 kB / 0.9573 GB, free: 0.6289 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.000566/0.7974, allocations: 476.5 kB / 0.9577 GB, free: 0.5938 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.067e-06/0.7974, allocations: 1.375 kB / 0.9577 GB, free: 0.5938 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.523e-06/0.7974, allocations: 0 / 0.9577 GB, free: 0.5938 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.14e-05/0.7974, allocations: 0 / 0.9577 GB, free: 0.5938 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: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.0008388/0.7982, allocations: 0.6207 MB / 0.9584 GB, free: 16.12 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.129e-05/0.7983, allocations: 12.12 kB / 0.9584 GB, free: 16.12 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.895e-05/0.7984, allocations: 60.41 kB / 0.9584 GB, free: 16.09 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002918/0.7987, allocations: 58.31 kB / 0.9585 GB, free: 16.07 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004551/0.7991, allocations: 324.1 kB / 0.9588 GB, free: 15.83 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.033e-05/0.7992, allocations: 22.98 kB / 0.9588 GB, free: 15.83 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.07e-05/0.7992, allocations: 31.16 kB / 0.9588 GB, free: 15.82 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004909/0.7997, allocations: 314.5 kB / 0.9591 GB, free: 15.73 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.283e-05/0.7997, allocations: 5.062 kB / 0.9591 GB, free: 15.72 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.251e-05/0.7997, allocations: 12.47 kB / 0.9592 GB, free: 15.72 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.348e-06/0.7998, allocations: 6.531 kB / 0.9592 GB, free: 15.72 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004113/0.8002, allocations: 201.9 kB / 0.9594 GB, free: 15.71 MB / 0.7325 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.001536/0.8017, allocations: 1.537 MB / 0.9609 GB, free: 14.56 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002441/0.802, allocations: 122.9 kB / 0.961 GB, free: 14.53 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001757/0.8022, allocations: 91.25 kB / 0.9611 GB, free: 14.52 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005799/0.8027, allocations: 302 kB / 0.9613 GB, free: 14.23 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.642e-05/0.8028, allocations: 36.53 kB / 0.9614 GB, free: 14.2 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=13): time 1.382e-06/0.8028, allocations: 5.203 kB / 0.9614 GB, free: 14.19 MB / 0.7325 GB Notification: Performance of matching and sorting (n=13): time 0.0007312/0.8035, allocations: 268.7 kB / 0.9616 GB, free: 14.14 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.998e-05/0.8036, allocations: 53.34 kB / 0.9617 GB, free: 14.08 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003267/0.8039, allocations: 310.1 kB / 0.962 GB, free: 13.97 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.306e-05/0.8039, allocations: 27.05 kB / 0.962 GB, free: 13.94 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001261/0.8041, allocations: 190.1 kB / 0.9622 GB, free: 13.82 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.313e-05/0.8041, allocations: 45.77 kB / 0.9622 GB, free: 13.79 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.811e-05/0.8042, allocations: 39.88 kB / 0.9623 GB, free: 13.78 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.000272/0.8045, allocations: 334.3 kB / 0.9626 GB, free: 13.46 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001456/0.8046, allocations: 61.27 kB / 0.9627 GB, free: 13.46 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001911/0.8048, allocations: 115.9 kB / 0.9628 GB, free: 13.41 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003063/0.8051, allocations: 179.2 kB / 0.9629 GB, free: 13.35 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.576e-06/0.8052, allocations: 5.031 kB / 0.9629 GB, free: 13.35 MB / 0.7325 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.000389/0.8055, allocations: 218 kB / 0.9632 GB, free: 13.29 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.597e-05/0.8056, allocations: 6.672 kB / 0.9632 GB, free: 13.29 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.8056, allocations: 2 kB / 0.9632 GB, free: 13.29 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.45e-05/0.8056, allocations: 2.188 kB / 0.9632 GB, free: 13.29 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001606/0.8058, allocations: 29.45 kB / 0.9632 GB, free: 13.29 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.524e-06/0.8058, allocations: 12.92 kB / 0.9632 GB, free: 13.29 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001599/0.806, allocations: 31.45 kB / 0.9632 GB, free: 13.27 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.599e-05/0.806, allocations: 10.78 kB / 0.9632 GB, free: 13.27 MB / 0.7325 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 (17): * Single equations (assignments): 17 * 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.0001285/0.8061, allocations: 145 kB / 0.9634 GB, free: 13.15 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.868e-05/0.8062, allocations: 27.12 kB / 0.9634 GB, free: 13.14 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004064/0.8066, allocations: 218.9 kB / 0.9636 GB, free: 13.09 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.779e-06/0.8066, allocations: 6.219 kB / 0.9636 GB, free: 13.09 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.339e-06/0.8066, allocations: 1.203 kB / 0.9636 GB, free: 13.09 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.95e-06/0.8066, allocations: 1.062 kB / 0.9636 GB, free: 13.09 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009489/0.8076, allocations: 0.6846 MB / 0.9643 GB, free: 12.71 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.819e-06/0.8076, allocations: 3.062 kB / 0.9643 GB, free: 12.71 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001251/0.8077, allocations: 29.78 kB / 0.9643 GB, free: 12.7 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.552e-06/0.8077, allocations: 4.969 kB / 0.9643 GB, free: 12.7 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.413e-05/0.8078, allocations: 5.531 kB / 0.9643 GB, free: 12.7 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.17e-06/0.8078, allocations: 6.594 kB / 0.9643 GB, free: 12.7 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.026e-06/0.8078, allocations: 4.609 kB / 0.9643 GB, free: 12.7 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004189/0.8082, allocations: 335.2 kB / 0.9647 GB, free: 12.49 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001012/0.8083, allocations: 120.5 kB / 0.9648 GB, free: 12.38 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.995e-05/0.8084, allocations: 7.406 kB / 0.9648 GB, free: 12.38 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001608/0.8085, allocations: 11.11 kB / 0.9648 GB, free: 12.38 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.93e-05/0.8086, allocations: 13.59 kB / 0.9648 GB, free: 12.38 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.191e-05/0.8086, allocations: 5.094 kB / 0.9648 GB, free: 12.38 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0002305/0.8088, allocations: 231.2 kB / 0.965 GB, free: 12.29 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.31e-07/0.8088, allocations: 1.062 kB / 0.965 GB, free: 12.29 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0003739/0.8092, allocations: 71.45 kB / 0.9651 GB, free: 12.28 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (13): * Single equations (assignments): 13 * 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.0009023/0.8101, allocations: 0.925 MB / 0.966 GB, free: 11.52 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0003774/0.8105, allocations: 161.4 kB / 0.9662 GB, free: 11.51 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.8105, allocations: 0 / 0.9662 GB, free: 11.51 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001699/0.8107, allocations: 85.98 kB / 0.9662 GB, free: 11.5 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007769/0.8115, allocations: 154.6 kB / 0.9664 GB, free: 11.48 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003475/0.815, allocations: 2.805 MB / 0.9691 GB, free: 9.914 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004154/0.8154, allocations: 0.7837 MB / 0.9699 GB, free: 9.207 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.000216/0.8156, allocations: 65.25 kB / 0.97 GB, free: 9.191 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001255/0.8158, allocations: 91.25 kB / 0.97 GB, free: 9.188 MB / 0.7325 GB Notification: Performance of SimCode: time 3.11e-07/0.8158, allocations: 0 / 0.97 GB, free: 9.188 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02543/0.8412, allocations: 8.035 MB / 0.9779 GB, free: 6.664 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.807/8.648, allocations: 8.125 kB / 0.9779 GB, free: 6.656 MB / 0.7325 GB (rm -f Buildings_8_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; mkfifo Buildings_8_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe >> ../files/Buildings_8_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.sim & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate_res.csv --start-time 0 --stop-time 60 --timeout 50 --relative-tolerance 1e-06 Buildings_8_Buildings_Fluid_Sensors_Examples_EnthalpyFlowRate.fmu > Buildings_8_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe 2>&1)