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.0008032/0.0008033, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.005292/0.005292, allocations: 169.1 kB / 16.26 MB, free: 6.652 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.314/1.314, allocations: 223.3 MB / 240.3 MB, free: 5.344 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.9935/0.9935, allocations: 143.2 MB / 434.6 MB, free: 13.64 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003454/0.0003454, allocations: 8.234 kB / 0.5165 GB, free: 11.08 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1798/0.1802, allocations: 83.42 MB / 0.598 GB, free: 7.633 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.4888/0.6691, allocations: 163.2 MB / 0.7573 GB, free: 8.793 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.007149/0.6762, allocations: 6.472 MB / 0.7636 GB, free: 2.391 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000614/0.6769, allocations: 11.94 kB / 0.7636 GB, free: 2.379 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0006152/0.6775, allocations: 127.1 kB / 0.7637 GB, free: 2.254 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.002542/0.6801, allocations: 0.786 MB / 0.7645 GB, free: 1.465 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.000919/0.681, allocations: 304.6 kB / 0.7648 GB, free: 1.172 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001024/0.682, allocations: 1.01 MB / 0.7658 GB, free: 164 kB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003923/0.6825, allocations: 231.2 kB / 0.766 GB, free: 15.93 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00105/0.6835, allocations: 0.5058 MB / 0.7665 GB, free: 15.43 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003516/0.6839, allocations: 274.9 kB / 0.7668 GB, free: 15.16 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 3.357e-05/0.6839, allocations: 17.03 kB / 0.7668 GB, free: 15.14 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006858/0.6846, allocations: 391 kB / 0.7672 GB, free: 14.76 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.000113/0.6847, allocations: 99.69 kB / 0.7673 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0001553/0.6849, allocations: 176.9 kB / 0.7674 GB, free: 14.48 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0005267/0.6854, allocations: 486.4 kB / 0.7679 GB, free: 14.01 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.6854, allocations: 0 / 0.7679 GB, free: 14.01 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.463e-06/0.6855, allocations: 0 / 0.7679 GB, free: 14.01 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 6.713e-06/0.6855, allocations: 0 / 0.7679 GB, free: 14.01 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.0007393/0.6862, allocations: 0.5611 MB / 0.7684 GB, free: 13.4 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.186e-05/0.6863, allocations: 8.031 kB / 0.7684 GB, free: 13.39 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.598e-05/0.6863, allocations: 66.47 kB / 0.7685 GB, free: 13.32 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002857/0.6866, allocations: 71.47 kB / 0.7686 GB, free: 13.25 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003465/0.687, allocations: 301.3 kB / 0.7689 GB, free: 12.92 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.131e-05/0.687, allocations: 20.56 kB / 0.7689 GB, free: 12.9 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.566e-05/0.6871, allocations: 24 kB / 0.7689 GB, free: 12.88 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005215/0.6876, allocations: 328.2 kB / 0.7692 GB, free: 12.53 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.117e-06/0.6876, allocations: 0 / 0.7692 GB, free: 12.53 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.945e-05/0.6876, allocations: 12 kB / 0.7692 GB, free: 12.52 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.035e-06/0.6876, allocations: 4 kB / 0.7692 GB, free: 12.52 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000414/0.6881, allocations: 224.6 kB / 0.7694 GB, free: 12.3 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.001408/0.6895, allocations: 1.546 MB / 0.771 GB, free: 10.62 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002313/0.6897, allocations: 118.5 kB / 0.7711 GB, free: 10.49 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001871/0.6899, allocations: 100.8 kB / 0.7712 GB, free: 10.39 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005825/0.6905, allocations: 315.2 kB / 0.7715 GB, free: 10.03 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.23e-05/0.6905, allocations: 34.56 kB / 0.7715 GB, free: 9.984 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=13): time 1.263e-06/0.6906, allocations: 0 / 0.7715 GB, free: 9.984 MB / 0.5919 GB Notification: Performance of matching and sorting (n=13): time 0.000719/0.6913, allocations: 295 kB / 0.7718 GB, free: 9.691 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.164e-05/0.6913, allocations: 51.41 kB / 0.7718 GB, free: 9.629 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002861/0.6916, allocations: 304.6 kB / 0.7721 GB, free: 9.324 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.373e-05/0.6916, allocations: 33.7 kB / 0.7721 GB, free: 9.285 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001211/0.6918, allocations: 188.1 kB / 0.7723 GB, free: 9.098 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 3.63e-05/0.6918, allocations: 43.36 kB / 0.7724 GB, free: 9.055 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.082e-05/0.6918, allocations: 21.66 kB / 0.7724 GB, free: 9.027 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001125/0.692, allocations: 338.8 kB / 0.7727 GB, free: 8.688 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001522/0.6921, allocations: 63.95 kB / 0.7728 GB, free: 8.625 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001904/0.6923, allocations: 118.5 kB / 0.7729 GB, free: 8.492 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003265/0.6927, allocations: 185.4 kB / 0.7731 GB, free: 8.293 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.6927, allocations: 4 kB / 0.7731 GB, free: 8.289 MB / 0.5919 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004134/0.6931, allocations: 233.8 kB / 0.7733 GB, free: 8.055 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.599e-05/0.6931, allocations: 4 kB / 0.7733 GB, free: 8.051 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.204e-06/0.6931, allocations: 7.938 kB / 0.7733 GB, free: 8.043 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.399e-05/0.6931, allocations: 0 / 0.7733 GB, free: 8.043 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001674/0.6933, allocations: 31.98 kB / 0.7733 GB, free: 8.012 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.548e-06/0.6933, allocations: 12.09 kB / 0.7733 GB, free: 8 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001903/0.6935, allocations: 39.66 kB / 0.7734 GB, free: 7.961 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.654e-05/0.6936, allocations: 12 kB / 0.7734 GB, free: 7.949 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.000128/0.6937, allocations: 145.8 kB / 0.7735 GB, free: 7.797 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.499e-05/0.6938, allocations: 23.72 kB / 0.7736 GB, free: 7.773 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004384/0.6942, allocations: 224.3 kB / 0.7738 GB, free: 7.551 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.248e-06/0.6942, allocations: 4.031 kB / 0.7738 GB, free: 7.547 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.6942, allocations: 0 / 0.7738 GB, free: 7.547 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.6942, allocations: 3.938 kB / 0.7738 GB, free: 7.543 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000943/0.6952, allocations: 0.7009 MB / 0.7745 GB, free: 6.766 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.847e-06/0.6952, allocations: 4 kB / 0.7745 GB, free: 6.762 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001267/0.6953, allocations: 31.92 kB / 0.7745 GB, free: 6.73 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.915e-06/0.6953, allocations: 0 / 0.7745 GB, free: 6.73 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.571e-05/0.6954, allocations: 11.94 kB / 0.7745 GB, free: 6.719 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.081e-06/0.6954, allocations: 7.984 kB / 0.7745 GB, free: 6.711 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/0.6954, allocations: 0.7812 kB / 0.7745 GB, free: 6.711 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004263/0.6958, allocations: 342.6 kB / 0.7748 GB, free: 6.34 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 9.985e-05/0.6959, allocations: 124.7 kB / 0.775 GB, free: 6.199 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.621e-05/0.696, allocations: 7.938 kB / 0.775 GB, free: 6.191 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001758/0.6961, allocations: 24.86 kB / 0.775 GB, free: 6.168 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.862e-05/0.6962, allocations: 7.984 kB / 0.775 GB, free: 6.16 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.032e-05/0.6962, allocations: 4 kB / 0.775 GB, free: 6.156 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0001904/0.6964, allocations: 227 kB / 0.7752 GB, free: 5.934 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6964, allocations: 0 / 0.7752 GB, free: 5.934 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0003507/0.6968, allocations: 71.84 kB / 0.7753 GB, free: 5.863 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.0009197/0.6977, allocations: 0.9435 MB / 0.7762 GB, free: 4.883 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0003888/0.6981, allocations: 176 kB / 0.7764 GB, free: 4.711 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.6981, allocations: 0 / 0.7764 GB, free: 4.711 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001741/0.6983, allocations: 87.88 kB / 0.7765 GB, free: 4.625 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008833/0.6992, allocations: 146.7 kB / 0.7766 GB, free: 4.488 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003276/0.7025, allocations: 2.938 MB / 0.7795 GB, free: 1.398 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003137/0.7028, allocations: 0.7797 MB / 0.7802 GB, free: 0.5938 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0001978/0.703, allocations: 63.81 kB / 0.7803 GB, free: 0.5352 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001295/0.7031, allocations: 91.41 kB / 0.7804 GB, free: 456 kB / 0.5919 GB Notification: Performance of SimCode: time 4.31e-07/0.7031, allocations: 0 / 0.7804 GB, free: 456 kB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01795/0.7211, allocations: 7.575 MB / 0.7878 GB, free: 9.109 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002031/0.7213, allocations: 249.9 kB / 0.788 GB, free: 8.855 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.809/2.531, allocations: 3.938 kB / 0.788 GB, free: 8.852 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)