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/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/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.001155/0.001155, allocations: 108 kB / 15.6 MB, free: 132 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.001168/0.001168, allocations: 193 kB / 16.53 MB, free: 6.391 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.384/1.384, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/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/package.mo): time 1.005/1.005, allocations: 143 MB / 433.4 MB, free: 11.59 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00144/0.00144, allocations: 67.89 kB / 0.5143 GB, free: 11.56 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1727/0.1741, allocations: 82.04 MB / 0.5944 GB, free: 9.484 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.4976/0.6718, allocations: 167.6 MB / 0.758 GB, free: 5.637 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.00888/0.6807, allocations: 6.538 MB / 0.7644 GB, free: 15.08 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007796/0.6816, allocations: 15.88 kB / 0.7644 GB, free: 15.07 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0008566/0.6825, allocations: 174.7 kB / 0.7646 GB, free: 14.89 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.002498/0.685, allocations: 0.844 MB / 0.7654 GB, free: 14.05 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001142/0.6862, allocations: 316.1 kB / 0.7657 GB, free: 13.74 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001229/0.6875, allocations: 0.7212 MB / 0.7664 GB, free: 13.02 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005665/0.688, allocations: 283.8 kB / 0.7667 GB, free: 12.74 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001215/0.6893, allocations: 0.5526 MB / 0.7673 GB, free: 12.19 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005291/0.6898, allocations: 261.1 kB / 0.7675 GB, free: 11.93 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 7.08e-05/0.6899, allocations: 24 kB / 0.7675 GB, free: 11.91 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007118/0.6906, allocations: 351.1 kB / 0.7679 GB, free: 11.57 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0001715/0.6908, allocations: 103.7 kB / 0.768 GB, free: 11.46 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0002288/0.691, allocations: 163.2 kB / 0.7681 GB, free: 11.3 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0007011/0.6917, allocations: 482.5 kB / 0.7686 GB, free: 10.83 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.6918, allocations: 0 / 0.7686 GB, free: 10.83 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.172e-06/0.6918, allocations: 0 / 0.7686 GB, free: 10.83 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.468e-05/0.6918, allocations: 0 / 0.7686 GB, free: 10.83 MB / 0.5919 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.0009995/0.6928, allocations: 0.6156 MB / 0.7692 GB, free: 10.17 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.306e-05/0.6928, allocations: 8.031 kB / 0.7692 GB, free: 10.16 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001346/0.693, allocations: 58.55 kB / 0.7692 GB, free: 10.1 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003327/0.6933, allocations: 63.5 kB / 0.7693 GB, free: 10.04 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003978/0.6937, allocations: 321.2 kB / 0.7696 GB, free: 9.676 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.279e-05/0.6938, allocations: 20.56 kB / 0.7696 GB, free: 9.656 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.796e-05/0.6938, allocations: 24 kB / 0.7696 GB, free: 9.633 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005674/0.6944, allocations: 311.7 kB / 0.7699 GB, free: 9.305 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.028e-05/0.6944, allocations: 4 kB / 0.7699 GB, free: 9.301 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.233e-05/0.6945, allocations: 12 kB / 0.77 GB, free: 9.289 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.609e-06/0.6945, allocations: 8 kB / 0.77 GB, free: 9.281 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004048/0.6949, allocations: 205.5 kB / 0.7702 GB, free: 9.082 MB / 0.5919 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.001496/0.6964, allocations: 1.535 MB / 0.7717 GB, free: 7.41 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000247/0.6966, allocations: 130.3 kB / 0.7718 GB, free: 7.273 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001725/0.6968, allocations: 92.8 kB / 0.7719 GB, free: 7.18 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006709/0.6975, allocations: 303.2 kB / 0.7722 GB, free: 6.828 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.475e-05/0.6975, allocations: 31.06 kB / 0.7722 GB, free: 6.789 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=13): time 1.492e-06/0.6975, allocations: 0 / 0.7722 GB, free: 6.789 MB / 0.5919 GB Notification: Performance of matching and sorting (n=13): time 0.000788/0.6983, allocations: 271.3 kB / 0.7725 GB, free: 6.52 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.849e-05/0.6984, allocations: 55.41 kB / 0.7725 GB, free: 6.453 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003043/0.6987, allocations: 320.4 kB / 0.7728 GB, free: 6.137 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.184e-05/0.6987, allocations: 25.7 kB / 0.7728 GB, free: 6.105 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001262/0.6989, allocations: 180.2 kB / 0.773 GB, free: 5.926 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 3.836e-05/0.6989, allocations: 47.34 kB / 0.7731 GB, free: 5.879 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.746e-05/0.699, allocations: 37.7 kB / 0.7731 GB, free: 5.836 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001599/0.6991, allocations: 334.8 kB / 0.7734 GB, free: 5.5 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002114/0.6994, allocations: 63.86 kB / 0.7735 GB, free: 5.438 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000187/0.6996, allocations: 113.1 kB / 0.7736 GB, free: 5.309 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003425/0.6999, allocations: 173.5 kB / 0.7737 GB, free: 5.121 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.504e-06/0.6999, allocations: 3.938 kB / 0.7737 GB, free: 5.117 MB / 0.5919 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004176/0.7004, allocations: 217.1 kB / 0.774 GB, free: 4.898 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.467e-05/0.7004, allocations: 4 kB / 0.774 GB, free: 4.895 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/0.7004, allocations: 8.156 kB / 0.774 GB, free: 4.887 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.456e-05/0.7004, allocations: 0.5625 kB / 0.774 GB, free: 4.887 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001718/0.7006, allocations: 35.92 kB / 0.774 GB, free: 4.852 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.712e-06/0.7006, allocations: 0 / 0.774 GB, free: 4.852 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000194/0.7008, allocations: 39.67 kB / 0.774 GB, free: 4.812 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.587e-05/0.7008, allocations: 7.625 kB / 0.774 GB, free: 4.809 MB / 0.5919 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.0001387/0.701, allocations: 157.7 kB / 0.7742 GB, free: 4.645 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.146e-05/0.701, allocations: 23.77 kB / 0.7742 GB, free: 4.621 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004386/0.7015, allocations: 220.5 kB / 0.7744 GB, free: 4.398 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.895e-06/0.7015, allocations: 0 / 0.7744 GB, free: 4.398 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.122e-06/0.7015, allocations: 4 kB / 0.7744 GB, free: 4.395 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.91e-06/0.7015, allocations: 3.984 kB / 0.7744 GB, free: 4.391 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001022/0.7025, allocations: 0.6756 MB / 0.7751 GB, free: 3.637 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.996e-06/0.7026, allocations: 0 / 0.7751 GB, free: 3.637 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001555/0.7027, allocations: 31.98 kB / 0.7751 GB, free: 3.605 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.911e-06/0.7027, allocations: 224 / 0.7751 GB, free: 3.605 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.254e-05/0.7028, allocations: 11.94 kB / 0.7751 GB, free: 3.594 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.711e-06/0.7028, allocations: 7.938 kB / 0.7751 GB, free: 3.586 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.346e-06/0.7028, allocations: 3.938 kB / 0.7751 GB, free: 3.582 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004059/0.7032, allocations: 340.1 kB / 0.7755 GB, free: 3.215 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001048/0.7033, allocations: 112.8 kB / 0.7756 GB, free: 3.086 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.993e-05/0.7033, allocations: 7.938 kB / 0.7756 GB, free: 3.078 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001558/0.7035, allocations: 19.86 kB / 0.7756 GB, free: 3.059 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.664e-05/0.7036, allocations: 15.98 kB / 0.7756 GB, free: 3.043 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.085e-05/0.7036, allocations: 8 kB / 0.7756 GB, free: 3.035 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0002002/0.7038, allocations: 223 kB / 0.7758 GB, free: 2.816 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7038, allocations: 0 / 0.7758 GB, free: 2.816 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0003668/0.7042, allocations: 71.84 kB / 0.7759 GB, free: 2.746 MB / 0.5919 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.001057/0.7052, allocations: 0.923 MB / 0.7768 GB, free: 1.781 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0004165/0.7057, allocations: 164.4 kB / 0.777 GB, free: 1.621 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 4.789e-06/0.7057, allocations: 0 / 0.777 GB, free: 1.621 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001861/0.7059, allocations: 83.81 kB / 0.777 GB, free: 1.539 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008327/0.7067, allocations: 156.8 kB / 0.7772 GB, free: 1.402 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003471/0.7102, allocations: 2.821 MB / 0.78 GB, free: 14.44 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004558/0.7107, allocations: 0.7756 MB / 0.7807 GB, free: 13.64 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0002048/0.7109, allocations: 63.95 kB / 0.7808 GB, free: 13.58 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001275/0.711, allocations: 91.41 kB / 0.7809 GB, free: 13.49 MB / 0.6075 GB Notification: Performance of SimCode: time 2.3e-07/0.711, allocations: 0 / 0.7809 GB, free: 13.49 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02774/0.7388, allocations: 8.057 MB / 0.7887 GB, free: 5.652 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.703/8.442, allocations: 4.922 kB / 0.7887 GB, free: 5.648 MB / 0.6075 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)