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.001171/0.001171, allocations: 108 kB / 15.61 MB, free: 152 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.001415/0.001416, allocations: 196 kB / 16.53 MB, free: 6.664 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.587/1.587, allocations: 205.1 MB / 222.4 MB, free: 4.598 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.766/1.766, allocations: 292.3 MB / 0.5489 GB, free: 12.8 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.002399/0.0024, allocations: 75.12 kB / 0.6716 GB, free: 26.25 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.197/0.1994, allocations: 114.6 MB / 0.7835 GB, free: 13.38 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.5573/0.7568, allocations: 167.5 MB / 0.9471 GB, free: 1.762 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.008122/0.7649, allocations: 6.536 MB / 0.9535 GB, free: 1.199 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006658/0.7656, allocations: 12.19 kB / 0.9535 GB, free: 1.195 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0006162/0.7663, allocations: 168.6 kB / 0.9536 GB, free: 1.125 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.002612/0.769, allocations: 0.8459 MB / 0.9545 GB, free: 0.9219 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009653/0.7699, allocations: 326.5 kB / 0.9548 GB, free: 0.9023 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0008778/0.7708, allocations: 0.7166 MB / 0.9555 GB, free: 0.793 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004035/0.7712, allocations: 281 kB / 0.9557 GB, free: 0.7539 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001111/0.7724, allocations: 0.5444 MB / 0.9563 GB, free: 0.6758 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004006/0.7728, allocations: 269.8 kB / 0.9565 GB, free: 0.6641 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 4.966e-05/0.7728, allocations: 22.47 kB / 0.9565 GB, free: 0.6641 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007947/0.7736, allocations: 342 kB / 0.9569 GB, free: 0.6328 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001388/0.7738, allocations: 104.7 kB / 0.957 GB, free: 0.6328 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0002259/0.774, allocations: 162.9 kB / 0.9571 GB, free: 0.6328 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0007256/0.7747, allocations: 473.8 kB / 0.9576 GB, free: 0.5977 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.7748, allocations: 0 / 0.9576 GB, free: 0.5977 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.024e-06/0.7748, allocations: 1.531 kB / 0.9576 GB, free: 0.5977 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.033e-06/0.7748, allocations: 0 / 0.9576 GB, free: 0.5977 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.0009069/0.7757, allocations: 0.6212 MB / 0.9582 GB, free: 16.12 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.055e-05/0.7758, allocations: 9.031 kB / 0.9582 GB, free: 16.12 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.001e-05/0.7758, allocations: 63.8 kB / 0.9583 GB, free: 16.09 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003086/0.7761, allocations: 56.61 kB / 0.9583 GB, free: 16.07 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004006/0.7766, allocations: 313.7 kB / 0.9586 GB, free: 15.83 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.974e-05/0.7766, allocations: 18 kB / 0.9586 GB, free: 15.83 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.993e-05/0.7766, allocations: 24.22 kB / 0.9587 GB, free: 15.83 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004745/0.7771, allocations: 316.2 kB / 0.959 GB, free: 15.73 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.162e-05/0.7771, allocations: 4.969 kB / 0.959 GB, free: 15.73 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.255e-05/0.7772, allocations: 9.125 kB / 0.959 GB, free: 15.73 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.908e-06/0.7772, allocations: 6.781 kB / 0.959 GB, free: 15.73 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000386/0.7776, allocations: 204.3 kB / 0.9592 GB, free: 15.72 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.001352/0.7789, allocations: 1.55 MB / 0.9607 GB, free: 14.56 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002328/0.7792, allocations: 118.3 kB / 0.9608 GB, free: 14.53 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001649/0.7793, allocations: 89.11 kB / 0.9609 GB, free: 14.52 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000651/0.78, allocations: 304 kB / 0.9612 GB, free: 14.24 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.269e-05/0.78, allocations: 40.16 kB / 0.9612 GB, free: 14.2 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=13): time 1.303e-06/0.78, allocations: 0 / 0.9612 GB, free: 14.2 MB / 0.7325 GB Notification: Performance of matching and sorting (n=13): time 0.0007456/0.7808, allocations: 270.4 kB / 0.9615 GB, free: 14.14 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.064e-05/0.7808, allocations: 52.84 kB / 0.9615 GB, free: 14.08 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002834/0.7811, allocations: 310 kB / 0.9618 GB, free: 13.97 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.077e-05/0.7812, allocations: 26.77 kB / 0.9618 GB, free: 13.94 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001208/0.7813, allocations: 183.6 kB / 0.962 GB, free: 13.83 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.402e-05/0.7813, allocations: 42.64 kB / 0.9621 GB, free: 13.8 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.502e-05/0.7814, allocations: 42.69 kB / 0.9621 GB, free: 13.78 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001148/0.7815, allocations: 337.1 kB / 0.9624 GB, free: 13.47 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001446/0.7817, allocations: 59.23 kB / 0.9625 GB, free: 13.47 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001821/0.7819, allocations: 117.6 kB / 0.9626 GB, free: 13.42 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003097/0.7822, allocations: 171.2 kB / 0.9627 GB, free: 13.36 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.478e-06/0.7822, allocations: 7.875 kB / 0.9628 GB, free: 13.36 MB / 0.7325 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003976/0.7826, allocations: 227.5 kB / 0.963 GB, free: 13.29 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.432e-05/0.7826, allocations: 6.156 kB / 0.963 GB, free: 13.29 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.73e-06/0.7826, allocations: 1.688 kB / 0.963 GB, free: 13.29 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.291e-05/0.7827, allocations: 1.656 kB / 0.963 GB, free: 13.29 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001667/0.7828, allocations: 36.34 kB / 0.963 GB, free: 13.29 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.855e-06/0.7828, allocations: 4.625 kB / 0.963 GB, free: 13.29 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001755/0.783, allocations: 35.72 kB / 0.9631 GB, free: 13.27 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.424e-05/0.7831, allocations: 11.09 kB / 0.9631 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.0001297/0.7832, allocations: 148.1 kB / 0.9632 GB, free: 13.15 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.995e-05/0.7833, allocations: 28.53 kB / 0.9632 GB, free: 13.14 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004331/0.7837, allocations: 210.4 kB / 0.9634 GB, free: 13.1 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.007e-06/0.7837, allocations: 2.625 kB / 0.9634 GB, free: 13.1 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.7837, allocations: 5.938 kB / 0.9634 GB, free: 13.09 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.888e-06/0.7837, allocations: 2.578 kB / 0.9634 GB, free: 13.09 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009575/0.7847, allocations: 0.6871 MB / 0.9641 GB, free: 12.71 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.567e-06/0.7847, allocations: 2.625 kB / 0.9641 GB, free: 12.71 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001314/0.7848, allocations: 29.44 kB / 0.9641 GB, free: 12.71 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.947e-06/0.7849, allocations: 3.422 kB / 0.9642 GB, free: 12.71 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.546e-05/0.7849, allocations: 10.61 kB / 0.9642 GB, free: 12.7 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.192e-06/0.7849, allocations: 9.734 kB / 0.9642 GB, free: 12.7 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.7849, allocations: 2.531 kB / 0.9642 GB, free: 12.7 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004136/0.7853, allocations: 332.3 kB / 0.9645 GB, free: 12.49 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001065/0.7854, allocations: 120.3 kB / 0.9646 GB, free: 12.38 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.994e-05/0.7855, allocations: 10.12 kB / 0.9646 GB, free: 12.38 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001567/0.7856, allocations: 10.83 kB / 0.9646 GB, free: 12.38 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.68e-05/0.7857, allocations: 19.22 kB / 0.9646 GB, free: 12.38 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.044e-05/0.7857, allocations: 4.75 kB / 0.9646 GB, free: 12.38 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0001936/0.7859, allocations: 221.3 kB / 0.9649 GB, free: 12.29 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.6e-07/0.7859, allocations: 5.031 kB / 0.9649 GB, free: 12.29 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.000374/0.7863, allocations: 76.66 kB / 0.9649 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.0008899/0.7872, allocations: 0.9176 MB / 0.9658 GB, free: 11.52 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0003868/0.7876, allocations: 164.1 kB / 0.966 GB, free: 11.51 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.7876, allocations: 1.219 kB / 0.966 GB, free: 11.51 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001708/0.7878, allocations: 88.16 kB / 0.9661 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.0008053/0.7886, allocations: 148.9 kB / 0.9662 GB, free: 11.48 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003165/0.7918, allocations: 2.818 MB / 0.969 GB, free: 9.875 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003408/0.7921, allocations: 0.7904 MB / 0.9697 GB, free: 9.164 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0002058/0.7923, allocations: 61.8 kB / 0.9698 GB, free: 9.156 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001192/0.7925, allocations: 92.72 kB / 0.9699 GB, free: 9.148 MB / 0.7325 GB Notification: Performance of SimCode: time 3.01e-07/0.7925, allocations: 1.188 kB / 0.9699 GB, free: 9.148 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02519/0.8177, allocations: 8.022 MB / 0.9777 GB, free: 6.645 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.628/8.445, allocations: 13.69 kB / 0.9777 GB, free: 6.633 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)