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.001392/0.001391, 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.001713/0.001713, allocations: 193.3 kB / 16.53 MB, free: 6.664 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.371/1.371, allocations: 222.9 MB / 240.2 MB, free: 4.402 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 0.9689/0.9689, allocations: 143 MB / 433.4 MB, free: 11.39 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001299/0.001299, allocations: 67.89 kB / 0.5143 GB, free: 11.57 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1278/0.1291, allocations: 82.03 MB / 0.5944 GB, free: 9.508 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.4426/0.5718, allocations: 167.6 MB / 0.758 GB, free: 5.684 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.006709/0.5785, allocations: 6.553 MB / 0.7644 GB, free: 15.11 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004159/0.579, allocations: 11.94 kB / 0.7644 GB, free: 15.1 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.000536/0.5796, allocations: 170.7 kB / 0.7646 GB, free: 14.93 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001837/0.5814, allocations: 0.8362 MB / 0.7654 GB, free: 14.09 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007967/0.5822, allocations: 339 kB / 0.7657 GB, free: 13.77 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0006569/0.5829, allocations: 0.7096 MB / 0.7664 GB, free: 13.05 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003773/0.5833, allocations: 279.7 kB / 0.7667 GB, free: 12.79 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009295/0.5842, allocations: 0.5487 MB / 0.7672 GB, free: 12.23 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003287/0.5846, allocations: 270.9 kB / 0.7675 GB, free: 11.97 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 4.052e-05/0.5846, allocations: 24 kB / 0.7675 GB, free: 11.95 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005558/0.5852, allocations: 343.2 kB / 0.7679 GB, free: 11.61 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0001135/0.5853, allocations: 103.7 kB / 0.7679 GB, free: 11.51 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0001488/0.5854, allocations: 163.2 kB / 0.7681 GB, free: 11.35 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0005743/0.586, allocations: 482.5 kB / 0.7686 GB, free: 10.88 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.446e-06/0.586, allocations: 0 / 0.7686 GB, free: 10.88 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.263e-06/0.5861, allocations: 0 / 0.7686 GB, free: 10.88 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 6.582e-06/0.5861, allocations: 0 / 0.7686 GB, free: 10.88 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.0007654/0.5868, allocations: 0.6194 MB / 0.7692 GB, free: 10.21 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.603e-05/0.5869, allocations: 12.02 kB / 0.7692 GB, free: 10.2 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.9e-05/0.5869, allocations: 62.53 kB / 0.7692 GB, free: 10.13 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002766/0.5872, allocations: 67.44 kB / 0.7693 GB, free: 10.06 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003414/0.5876, allocations: 301.3 kB / 0.7696 GB, free: 9.723 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.064e-05/0.5876, allocations: 20.56 kB / 0.7696 GB, free: 9.703 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.64e-05/0.5876, allocations: 28 kB / 0.7696 GB, free: 9.676 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004636/0.5881, allocations: 315.7 kB / 0.7699 GB, free: 9.344 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.019e-05/0.5881, allocations: 3.938 kB / 0.7699 GB, free: 9.34 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.32e-05/0.5882, allocations: 12 kB / 0.77 GB, free: 9.328 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.077e-06/0.5882, allocations: 8 kB / 0.77 GB, free: 9.32 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000377/0.5886, allocations: 205.5 kB / 0.7702 GB, free: 9.121 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.001318/0.5899, allocations: 1.547 MB / 0.7717 GB, free: 7.438 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000232/0.5901, allocations: 118.5 kB / 0.7718 GB, free: 7.312 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000159/0.5903, allocations: 92.8 kB / 0.7719 GB, free: 7.219 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005946/0.5909, allocations: 303.2 kB / 0.7722 GB, free: 6.867 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.109e-05/0.5909, allocations: 30.56 kB / 0.7722 GB, free: 6.828 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=13): time 1.483e-06/0.5909, allocations: 0 / 0.7722 GB, free: 6.828 MB / 0.5919 GB Notification: Performance of matching and sorting (n=13): time 0.0007068/0.5917, allocations: 273.1 kB / 0.7724 GB, free: 6.555 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.585e-05/0.5917, allocations: 59.41 kB / 0.7725 GB, free: 6.484 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002637/0.592, allocations: 312.5 kB / 0.7728 GB, free: 6.176 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 1.882e-05/0.592, allocations: 25.7 kB / 0.7728 GB, free: 6.145 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001087/0.5921, allocations: 180.2 kB / 0.773 GB, free: 5.965 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 3.762e-05/0.5922, allocations: 43.36 kB / 0.773 GB, free: 5.922 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.134e-05/0.5922, allocations: 41.7 kB / 0.7731 GB, free: 5.875 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001072/0.5923, allocations: 334.8 kB / 0.7734 GB, free: 5.539 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001453/0.5925, allocations: 63.86 kB / 0.7735 GB, free: 5.477 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001723/0.5927, allocations: 109.1 kB / 0.7736 GB, free: 5.352 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003001/0.593, allocations: 180.9 kB / 0.7737 GB, free: 5.156 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/0.593, allocations: 3.938 kB / 0.7737 GB, free: 5.152 MB / 0.5919 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003797/0.5934, allocations: 217.2 kB / 0.7739 GB, free: 4.934 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.478e-05/0.5934, allocations: 4 kB / 0.774 GB, free: 4.93 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.223e-06/0.5934, allocations: 4.625 kB / 0.774 GB, free: 4.926 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.23e-05/0.5934, allocations: 0 / 0.774 GB, free: 4.926 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001589/0.5936, allocations: 31.98 kB / 0.774 GB, free: 4.895 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.362e-06/0.5936, allocations: 0 / 0.774 GB, free: 4.895 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001621/0.5938, allocations: 39.83 kB / 0.774 GB, free: 4.855 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.585e-05/0.5938, allocations: 4.688 kB / 0.774 GB, free: 4.852 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.0001354/0.5939, allocations: 161.7 kB / 0.7742 GB, free: 4.684 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.687e-05/0.594, allocations: 23.72 kB / 0.7742 GB, free: 4.66 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004261/0.5944, allocations: 220.9 kB / 0.7744 GB, free: 4.441 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.496e-06/0.5944, allocations: 3.938 kB / 0.7744 GB, free: 4.438 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.5944, allocations: 0 / 0.7744 GB, free: 4.438 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.23e-06/0.5945, allocations: 8 kB / 0.7744 GB, free: 4.43 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009506/0.5954, allocations: 0.6757 MB / 0.7751 GB, free: 3.676 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.324e-06/0.5954, allocations: 0 / 0.7751 GB, free: 3.676 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001456/0.5956, allocations: 35.97 kB / 0.7751 GB, free: 3.641 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.936e-06/0.5956, allocations: 3.938 kB / 0.7751 GB, free: 3.637 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.382e-05/0.5956, allocations: 4 kB / 0.7751 GB, free: 3.633 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.498e-06/0.5956, allocations: 11.88 kB / 0.7751 GB, free: 3.621 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.5956, allocations: 0 / 0.7751 GB, free: 3.621 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004112/0.596, allocations: 341.2 kB / 0.7755 GB, free: 3.25 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 9.801e-05/0.5962, allocations: 116.8 kB / 0.7756 GB, free: 3.117 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.045e-05/0.5962, allocations: 4.562 kB / 0.7756 GB, free: 3.113 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001466/0.5963, allocations: 15.92 kB / 0.7756 GB, free: 3.098 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.911e-05/0.5964, allocations: 11.98 kB / 0.7756 GB, free: 3.086 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.187e-06/0.5964, allocations: 4 kB / 0.7756 GB, free: 3.082 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0001895/0.5966, allocations: 223.1 kB / 0.7758 GB, free: 2.863 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5966, allocations: 0 / 0.7758 GB, free: 2.863 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0003622/0.597, allocations: 79.83 kB / 0.7759 GB, free: 2.785 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.0008698/0.5979, allocations: 0.9309 MB / 0.7768 GB, free: 1.812 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0003713/0.5982, allocations: 160.5 kB / 0.777 GB, free: 1.656 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.5983, allocations: 0 / 0.777 GB, free: 1.656 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001636/0.5984, allocations: 84.56 kB / 0.777 GB, free: 1.574 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007823/0.5992, allocations: 154.3 kB / 0.7772 GB, free: 1.445 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003144/0.6024, allocations: 2.816 MB / 0.7799 GB, free: 14.48 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003221/0.6027, allocations: 0.7834 MB / 0.7807 GB, free: 13.68 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0002017/0.6029, allocations: 62.92 kB / 0.7808 GB, free: 13.62 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00012/0.603, allocations: 95.41 kB / 0.7809 GB, free: 13.52 MB / 0.6075 GB Notification: Performance of SimCode: time 2.2e-07/0.603, allocations: 0 / 0.7809 GB, free: 13.52 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9326/1.536, allocations: 8.05 MB / 0.7887 GB, free: 5.688 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.68/16.21, allocations: 6.891 kB / 0.7887 GB, free: 5.684 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 & /home/hudson/saved_omc/OMSimulator/install/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)