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.5.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.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.0008321/0.0008322, allocations: 91.69 kB / 15.06 MB, free: 1.098 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.001043/0.001043, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.365/1.365, allocations: 223.3 MB / 240 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 1.017/1.017, allocations: 143.4 MB / 434.4 MB, free: 13.75 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003404/0.0003404, allocations: 8 kB / 0.5161 GB, free: 11.19 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.181/0.1814, allocations: 83.42 MB / 0.5975 GB, free: 7.719 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.5046/0.6861, allocations: 152.2 MB / 0.7462 GB, free: 2.684 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.006902/0.693, allocations: 6.071 MB / 0.7521 GB, free: 13.83 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003342/0.6934, allocations: 15.88 kB / 0.7521 GB, free: 13.81 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0004637/0.6939, allocations: 115.1 kB / 0.7522 GB, free: 13.7 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.00153/0.6954, allocations: 0.5948 MB / 0.7528 GB, free: 13.1 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.000772/0.6962, allocations: 264.7 kB / 0.7531 GB, free: 12.84 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0008502/0.6971, allocations: 0.8616 MB / 0.7539 GB, free: 11.98 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003535/0.6974, allocations: 210.6 kB / 0.7541 GB, free: 11.78 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009394/0.6984, allocations: 458 kB / 0.7546 GB, free: 11.33 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003377/0.6987, allocations: 267 kB / 0.7548 GB, free: 11.07 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 3.374e-05/0.6988, allocations: 16 kB / 0.7548 GB, free: 11.05 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004993/0.6993, allocations: 191.6 kB / 0.755 GB, free: 10.86 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001087/0.6994, allocations: 95.69 kB / 0.7551 GB, free: 10.77 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 7.094e-05/0.6995, allocations: 89.45 kB / 0.7552 GB, free: 10.68 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0003546/0.6998, allocations: 327.2 kB / 0.7555 GB, free: 10.36 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.6998, allocations: 1.031 kB / 0.7555 GB, free: 10.36 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.884e-06/0.6999, allocations: 0 / 0.7555 GB, free: 10.36 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.843e-06/0.6999, allocations: 4 kB / 0.7555 GB, free: 10.35 MB / 0.5762 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.0008065/0.7007, allocations: 0.5611 MB / 0.7561 GB, free: 9.746 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.275e-05/0.7007, allocations: 8.031 kB / 0.7561 GB, free: 9.738 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.329e-05/0.7008, allocations: 74.42 kB / 0.7561 GB, free: 9.656 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000341/0.7012, allocations: 55.59 kB / 0.7562 GB, free: 9.602 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004151/0.7016, allocations: 297.5 kB / 0.7565 GB, free: 9.273 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.243e-05/0.7016, allocations: 24.56 kB / 0.7565 GB, free: 9.25 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.534e-05/0.7017, allocations: 24 kB / 0.7565 GB, free: 9.227 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006362/0.7023, allocations: 327.6 kB / 0.7568 GB, free: 8.883 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.503e-05/0.7024, allocations: 7.938 kB / 0.7568 GB, free: 8.875 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.242e-05/0.7024, allocations: 8 kB / 0.7568 GB, free: 8.867 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.234e-05/0.7024, allocations: 11.95 kB / 0.7569 GB, free: 8.855 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004384/0.7028, allocations: 209.5 kB / 0.7571 GB, free: 8.648 MB / 0.5762 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.00185/0.7047, allocations: 1.538 MB / 0.7586 GB, free: 6.977 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000245/0.705, allocations: 122.5 kB / 0.7587 GB, free: 6.848 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001832/0.7052, allocations: 100.8 kB / 0.7588 GB, free: 6.746 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006419/0.7058, allocations: 315.2 kB / 0.7591 GB, free: 6.383 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.982e-05/0.7059, allocations: 34.56 kB / 0.7591 GB, free: 6.34 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=13): time 1.243e-06/0.7059, allocations: 0 / 0.7591 GB, free: 6.34 MB / 0.5762 GB Notification: Performance of matching and sorting (n=13): time 0.0007873/0.7067, allocations: 287.5 kB / 0.7594 GB, free: 6.055 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.557e-05/0.7067, allocations: 55.41 kB / 0.7594 GB, free: 5.988 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003401/0.7071, allocations: 308.5 kB / 0.7597 GB, free: 5.684 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 4e-05/0.7071, allocations: 33.7 kB / 0.7598 GB, free: 5.645 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.000172/0.7073, allocations: 180.1 kB / 0.7599 GB, free: 5.465 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 5.488e-05/0.7073, allocations: 39.36 kB / 0.76 GB, free: 5.426 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.315e-05/0.7074, allocations: 12 kB / 0.76 GB, free: 5.414 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0002163/0.7076, allocations: 334.8 kB / 0.7603 GB, free: 5.078 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001574/0.7078, allocations: 63.95 kB / 0.7604 GB, free: 5.016 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002176/0.708, allocations: 117.9 kB / 0.7605 GB, free: 4.883 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001852/0.7082, allocations: 75.89 kB / 0.7605 GB, free: 4.809 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.177e-06/0.7082, allocations: 0 / 0.7605 GB, free: 4.809 MB / 0.5762 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0005099/0.7087, allocations: 233.7 kB / 0.7608 GB, free: 4.574 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.063e-05/0.7088, allocations: 11.98 kB / 0.7608 GB, free: 4.562 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.498e-06/0.7088, allocations: 0 / 0.7608 GB, free: 4.562 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.058e-05/0.7088, allocations: 4.156 kB / 0.7608 GB, free: 4.559 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001828/0.709, allocations: 39.98 kB / 0.7608 GB, free: 4.52 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.199e-05/0.709, allocations: 4.438 kB / 0.7608 GB, free: 4.516 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002102/0.7092, allocations: 39.67 kB / 0.7609 GB, free: 4.477 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.265e-05/0.7093, allocations: 11.98 kB / 0.7609 GB, free: 4.465 MB / 0.5762 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001673/0.7094, allocations: 149.8 kB / 0.761 GB, free: 4.309 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.207e-05/0.7095, allocations: 27.67 kB / 0.761 GB, free: 4.281 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000453/0.71, allocations: 213 kB / 0.7612 GB, free: 4.07 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.447e-06/0.71, allocations: 0 / 0.7612 GB, free: 4.07 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.827e-06/0.71, allocations: 8.812 kB / 0.7613 GB, free: 4.062 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.8e-06/0.71, allocations: 3.984 kB / 0.7613 GB, free: 4.059 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001106/0.7111, allocations: 0.6912 MB / 0.7619 GB, free: 3.289 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.953e-06/0.7111, allocations: 4.812 kB / 0.7619 GB, free: 3.285 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001296/0.7113, allocations: 31.92 kB / 0.762 GB, free: 3.254 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.188e-06/0.7113, allocations: 0 / 0.762 GB, free: 3.254 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.423e-05/0.7113, allocations: 8.156 kB / 0.762 GB, free: 3.246 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.159e-06/0.7113, allocations: 8 kB / 0.762 GB, free: 3.238 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.424e-06/0.7113, allocations: 3.688 kB / 0.762 GB, free: 3.238 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004651/0.7118, allocations: 351.8 kB / 0.7623 GB, free: 2.859 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001186/0.7119, allocations: 120.7 kB / 0.7624 GB, free: 2.723 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.822e-05/0.712, allocations: 7.938 kB / 0.7624 GB, free: 2.715 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001746/0.7121, allocations: 23.98 kB / 0.7625 GB, free: 2.691 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.961e-05/0.7122, allocations: 7.984 kB / 0.7625 GB, free: 2.684 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.32e-05/0.7122, allocations: 11.94 kB / 0.7625 GB, free: 2.672 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002236/0.7125, allocations: 219.1 kB / 0.7627 GB, free: 2.457 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7125, allocations: 0 / 0.7627 GB, free: 2.457 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0003775/0.7128, allocations: 79.84 kB / 0.7628 GB, free: 2.379 MB / 0.5762 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001038/0.7139, allocations: 0.9399 MB / 0.7637 GB, free: 1.398 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0004277/0.7143, allocations: 167.8 kB / 0.7638 GB, free: 1.234 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.7143, allocations: 0 / 0.7638 GB, free: 1.234 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001857/0.7145, allocations: 84.64 kB / 0.7639 GB, free: 1.152 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000875/0.7154, allocations: 145.2 kB / 0.7641 GB, free: 1.016 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002724/0.7182, allocations: 1.672 MB / 0.7657 GB, free: 15.26 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004078/0.7186, allocations: 0.7836 MB / 0.7665 GB, free: 14.45 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0002524/0.7188, allocations: 67.48 kB / 0.7665 GB, free: 14.39 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001576/0.719, allocations: 91.41 kB / 0.7666 GB, free: 14.3 MB / 0.5919 GB Notification: Performance of SimCode: time 7.01e-07/0.719, allocations: 0 / 0.7666 GB, free: 14.3 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02153/0.7406, allocations: 7.553 MB / 0.774 GB, free: 7.02 MB / 0.5919 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001674/0.7408, allocations: 232.5 kB / 0.7742 GB, free: 6.781 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.787/2.528, allocations: 0 / 0.7742 GB, free: 6.781 MB / 0.5919 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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_Sensors_Examples_EnthalpyFlowRate_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_Sensors_Examples_EnthalpyFlowRate.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe 2>&1) Environment - environmentSimulation: