Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(BuildSysPro.IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Sensors_Examples_EnthalpyFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_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.004733/0.004733, allocations: 97.84 kB / 15.73 MB, free: 6.043 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.001261/0.001261, allocations: 197.1 kB / 16.67 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.413/1.413, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/package.mo): time 1.03/1.03, allocations: 143.3 MB / 433.8 MB, free: 11.58 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001846/0.001846, allocations: 71.88 kB / 0.5953 GB, free: 8.625 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3722/0.374, allocations: 82.02 MB / 0.6754 GB, free: 1.004 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.1948/0.5688, allocations: 167.6 MB / 0.8391 GB, free: 13.99 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.008114/0.577, allocations: 6.563 MB / 0.8455 GB, free: 7.406 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004009/0.5774, allocations: 11.94 kB / 0.8455 GB, free: 7.395 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.0005465/0.578, allocations: 166.8 kB / 0.8457 GB, free: 7.23 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.002047/0.5801, allocations: 0.844 MB / 0.8465 GB, free: 6.383 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008813/0.581, allocations: 330.2 kB / 0.8468 GB, free: 6.062 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.0008851/0.5819, allocations: 0.7173 MB / 0.8475 GB, free: 5.34 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004458/0.5823, allocations: 275.5 kB / 0.8478 GB, free: 5.07 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001122/0.5834, allocations: 0.5565 MB / 0.8483 GB, free: 4.512 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003858/0.5838, allocations: 266.9 kB / 0.8486 GB, free: 4.25 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 5.362e-05/0.5839, allocations: 24 kB / 0.8486 GB, free: 4.227 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006541/0.5846, allocations: 347.2 kB / 0.8489 GB, free: 3.887 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0001291/0.5847, allocations: 103.7 kB / 0.849 GB, free: 3.785 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0001821/0.5849, allocations: 163.2 kB / 0.8492 GB, free: 3.625 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.0007003/0.5856, allocations: 487.2 kB / 0.8496 GB, free: 3.152 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.5856, allocations: 3.938 kB / 0.8496 GB, free: 3.148 MB / 0.67 GB Notification: Performance of FrontEnd: time 3.196e-06/0.5856, allocations: 4 kB / 0.8496 GB, free: 3.145 MB / 0.67 GB Notification: Performance of Transformations before backend: time 6.662e-06/0.5856, allocations: 3.938 kB / 0.8496 GB, free: 3.141 MB / 0.67 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.0009039/0.5865, allocations: 0.619 MB / 0.8503 GB, free: 2.473 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 3.867e-05/0.5866, allocations: 12.03 kB / 0.8503 GB, free: 2.461 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.897e-05/0.5867, allocations: 62.55 kB / 0.8503 GB, free: 2.391 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003064/0.587, allocations: 63.67 kB / 0.8504 GB, free: 2.328 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005056/0.5875, allocations: 341.3 kB / 0.8507 GB, free: 1.953 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.898e-05/0.5875, allocations: 16.56 kB / 0.8507 GB, free: 1.938 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.066e-05/0.5876, allocations: 28 kB / 0.8508 GB, free: 1.91 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005489/0.5881, allocations: 315.7 kB / 0.8511 GB, free: 1.578 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.206e-05/0.5882, allocations: 0 / 0.8511 GB, free: 1.578 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.712e-05/0.5882, allocations: 12 kB / 0.8511 GB, free: 1.566 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.048e-05/0.5882, allocations: 8 kB / 0.8511 GB, free: 1.559 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004419/0.5886, allocations: 209.5 kB / 0.8513 GB, free: 1.352 MB / 0.67 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.001645/0.5903, allocations: 1.531 MB / 0.8528 GB, free: 15.69 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002594/0.5906, allocations: 118.5 kB / 0.8529 GB, free: 15.56 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001862/0.5908, allocations: 88.81 kB / 0.853 GB, free: 15.47 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006195/0.5914, allocations: 307.2 kB / 0.8533 GB, free: 15.12 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.618e-05/0.5914, allocations: 34.56 kB / 0.8533 GB, free: 15.07 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=13): time 3.085e-06/0.5914, allocations: 0 / 0.8533 GB, free: 15.07 MB / 0.6856 GB Notification: Performance of matching and sorting (n=13): time 0.0007638/0.5922, allocations: 281.3 kB / 0.8536 GB, free: 14.8 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.057e-05/0.5923, allocations: 55.41 kB / 0.8536 GB, free: 14.73 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003487/0.5926, allocations: 308.5 kB / 0.8539 GB, free: 14.42 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 2.323e-05/0.5927, allocations: 25.7 kB / 0.8539 GB, free: 14.39 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001474/0.5928, allocations: 184.3 kB / 0.8541 GB, free: 14.21 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 5.596e-05/0.5929, allocations: 55.56 kB / 0.8542 GB, free: 14.15 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.278e-05/0.5929, allocations: 41.61 kB / 0.8542 GB, free: 14.11 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001704/0.5931, allocations: 338.8 kB / 0.8545 GB, free: 13.77 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002122/0.5933, allocations: 59.95 kB / 0.8546 GB, free: 13.71 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002057/0.5936, allocations: 109.1 kB / 0.8547 GB, free: 13.58 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003502/0.5939, allocations: 184.8 kB / 0.8549 GB, free: 13.38 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.285e-06/0.5939, allocations: 0 / 0.8549 GB, free: 13.38 MB / 0.6856 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.000439/0.5944, allocations: 217.3 kB / 0.8551 GB, free: 13.16 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.461e-05/0.5944, allocations: 4 kB / 0.8551 GB, free: 13.16 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.193e-06/0.5944, allocations: 3.984 kB / 0.8551 GB, free: 13.16 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.766e-05/0.5944, allocations: 4 kB / 0.8551 GB, free: 13.15 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001764/0.5946, allocations: 39.92 kB / 0.8551 GB, free: 13.11 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.183e-06/0.5946, allocations: 0 / 0.8551 GB, free: 13.11 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001627/0.5948, allocations: 31.98 kB / 0.8551 GB, free: 13.08 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.787e-05/0.5948, allocations: 8 kB / 0.8552 GB, free: 13.07 MB / 0.6856 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.0001713/0.595, allocations: 158.5 kB / 0.8553 GB, free: 12.91 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.145e-05/0.5951, allocations: 27.81 kB / 0.8553 GB, free: 12.88 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000467/0.5955, allocations: 212.3 kB / 0.8555 GB, free: 12.67 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.765e-06/0.5956, allocations: 0 / 0.8555 GB, free: 12.67 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.5956, allocations: 4 kB / 0.8555 GB, free: 12.66 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.095e-06/0.5956, allocations: 0 / 0.8555 GB, free: 12.66 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001051/0.5966, allocations: 0.6835 MB / 0.8562 GB, free: 11.9 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.354e-06/0.5966, allocations: 0 / 0.8562 GB, free: 11.9 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001408/0.5968, allocations: 27.98 kB / 0.8562 GB, free: 11.88 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.935e-06/0.5968, allocations: 0 / 0.8562 GB, free: 11.88 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.949e-05/0.5968, allocations: 11.92 kB / 0.8562 GB, free: 11.86 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.198e-06/0.5968, allocations: 4 kB / 0.8562 GB, free: 11.86 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.316e-06/0.5968, allocations: 3.938 kB / 0.8563 GB, free: 11.86 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004787/0.5973, allocations: 337.5 kB / 0.8566 GB, free: 11.49 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001239/0.5975, allocations: 124.8 kB / 0.8567 GB, free: 11.35 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.881e-05/0.5975, allocations: 7.938 kB / 0.8567 GB, free: 11.34 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001566/0.5977, allocations: 15.98 kB / 0.8567 GB, free: 11.32 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.611e-05/0.5977, allocations: 7.938 kB / 0.8567 GB, free: 11.32 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.095e-05/0.5977, allocations: 4 kB / 0.8567 GB, free: 11.31 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0002313/0.598, allocations: 227 kB / 0.8569 GB, free: 11.09 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.1e-07/0.598, allocations: 0 / 0.8569 GB, free: 11.09 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.0003614/0.5983, allocations: 75.89 kB / 0.857 GB, free: 11.02 MB / 0.6856 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.001063/0.5994, allocations: 0.9294 MB / 0.8579 GB, free: 10.04 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.0004118/0.5998, allocations: 159.8 kB / 0.8581 GB, free: 9.887 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.5998, allocations: 0 / 0.8581 GB, free: 9.887 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0001902/0.6, allocations: 84.39 kB / 0.8582 GB, free: 9.805 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008123/0.6009, allocations: 150 kB / 0.8583 GB, free: 9.664 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003609/0.6045, allocations: 2.814 MB / 0.861 GB, free: 6.695 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004345/0.6049, allocations: 0.7834 MB / 0.8618 GB, free: 5.887 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0001865/0.6051, allocations: 62.92 kB / 0.8619 GB, free: 5.824 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000147/0.6053, allocations: 91.41 kB / 0.862 GB, free: 5.738 MB / 0.6856 GB Notification: Performance of SimCode: time 4.91e-07/0.6053, allocations: 0 / 0.862 GB, free: 5.738 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3503/0.9556, allocations: 8.142 MB / 0.8699 GB, free: 188.8 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.072/9.028, allocations: 3.781 kB / 0.8699 GB, free: 188.8 MB / 0.6856 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate.sim & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate_res.csv --start-time 0 --stop-time 60 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.024 BuildSysPro_BuildSysPro_IBPSA_Fluid_Sensors_Examples_EnthalpyFlowRate.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe 2>&1)