Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate.conf.json 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/IBPSA 4.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: "" <> buildModelFMU(IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sensors_Examples_EnthalpyFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sensors_Examples_EnthalpyFlowRate",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00106/0.00106, allocations: 179.7 kB / 13.19 MB, free: 2.133 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4786/0.4786, allocations: 90.8 MB / 104.5 MB, free: 9.793 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.354/1.354, allocations: 221.3 MB / 348.3 MB, free: 428 kB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008344/0.0008347, allocations: 102.2 kB / 421.2 MB, free: 5.457 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 4.008e-05/4.021e-05, allocations: 4 kB / 0.4897 GB, free: 5.25 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3702/0.3702, allocations: 72.31 MB / 0.5603 GB, free: 40.41 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.079/4.45, allocations: 1.821 GB / 2.381 GB, free: 151.7 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002674/4.45, allocations: 86.52 kB / 2.381 GB, free: 151.6 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 0.8679/5.318, allocations: 300.5 MB / 2.675 GB, free: 96.82 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.124e-06/5.318, allocations: 0 / 2.675 GB, free: 96.82 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.564e-05/5.318, allocations: 8 kB / 2.675 GB, free: 96.81 MB / 0.6042 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.001631/5.32, allocations: 0.658 MB / 2.675 GB, free: 96.11 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 6.056e-05/5.32, allocations: 11.98 kB / 2.675 GB, free: 96.09 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001262/5.32, allocations: 62.55 kB / 2.675 GB, free: 96.02 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004595/5.32, allocations: 67.47 kB / 2.675 GB, free: 95.96 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006097/5.321, allocations: 310 kB / 2.676 GB, free: 95.61 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.541e-05/5.321, allocations: 24.55 kB / 2.676 GB, free: 95.59 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.015e-05/5.321, allocations: 24 kB / 2.676 GB, free: 95.57 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004183/5.321, allocations: 299.7 kB / 2.676 GB, free: 95.25 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.447e-05/5.321, allocations: 0 / 2.676 GB, free: 95.25 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.422e-05/5.321, allocations: 15.94 kB / 2.676 GB, free: 95.23 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.588e-06/5.321, allocations: 8 kB / 2.676 GB, free: 95.22 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002504/5.322, allocations: 161.6 kB / 2.676 GB, free: 95.07 MB / 0.6042 GB Warning: The model contains alias variables with conflicting start and/or 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.001497/5.323, allocations: 1.531 MB / 2.678 GB, free: 93.4 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001859/5.323, allocations: 90.55 kB / 2.678 GB, free: 93.3 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.476e-05/5.324, allocations: 72.84 kB / 2.678 GB, free: 93.23 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004603/5.324, allocations: 307.2 kB / 2.678 GB, free: 92.87 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.983e-05/5.324, allocations: 30.56 kB / 2.678 GB, free: 92.83 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=13): time 1.683e-06/5.324, allocations: 0 / 2.678 GB, free: 92.83 MB / 0.6042 GB Notification: Performance of matching and sorting (n=13): time 0.0004792/5.325, allocations: 178.5 kB / 2.678 GB, free: 92.65 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.823e-05/5.325, allocations: 55.41 kB / 2.678 GB, free: 92.59 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002416/5.325, allocations: 274.7 kB / 2.679 GB, free: 92.31 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.409e-05/5.325, allocations: 37.64 kB / 2.679 GB, free: 92.27 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 9.36e-05/5.325, allocations: 187.9 kB / 2.679 GB, free: 92.08 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.828e-05/5.325, allocations: 43.36 kB / 2.679 GB, free: 92.04 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.354e-06/5.325, allocations: 4 kB / 2.679 GB, free: 92.03 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.506e-05/5.325, allocations: 334.8 kB / 2.679 GB, free: 91.7 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.794e-05/5.325, allocations: 39.98 kB / 2.679 GB, free: 91.66 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001057/5.325, allocations: 107.9 kB / 2.679 GB, free: 91.53 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.705e-05/5.325, allocations: 55.91 kB / 2.679 GB, free: 91.47 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/5.325, allocations: 0 / 2.679 GB, free: 91.47 MB / 0.6042 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0002508/5.326, allocations: 189.9 kB / 2.68 GB, free: 91.28 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.717e-05/5.326, allocations: 4 kB / 2.68 GB, free: 91.28 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.171e-06/5.326, allocations: 0 / 2.68 GB, free: 91.28 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.571e-05/5.326, allocations: 4 kB / 2.68 GB, free: 91.27 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001685/5.326, allocations: 35.92 kB / 2.68 GB, free: 91.24 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.587e-06/5.326, allocations: 7.938 kB / 2.68 GB, free: 91.23 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002169/5.326, allocations: 43.81 kB / 2.68 GB, free: 91.19 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.434e-05/5.326, allocations: 16.02 kB / 2.68 GB, free: 91.17 MB / 0.6042 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 () * 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 6.54e-05/5.326, allocations: 109 kB / 2.68 GB, free: 91.06 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.916e-05/5.326, allocations: 31.62 kB / 2.68 GB, free: 91.03 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002863/5.327, allocations: 175.3 kB / 2.68 GB, free: 90.85 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.436e-06/5.327, allocations: 0 / 2.68 GB, free: 90.85 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/5.327, allocations: 8 kB / 2.68 GB, free: 90.84 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/5.327, allocations: 0 / 2.68 GB, free: 90.84 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007125/5.327, allocations: 0.6407 MB / 2.681 GB, free: 90.12 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.005e-06/5.327, allocations: 0 / 2.681 GB, free: 90.12 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001258/5.327, allocations: 31.92 kB / 2.681 GB, free: 90.09 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.32e-06/5.327, allocations: 4 kB / 2.681 GB, free: 90.09 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.36e-05/5.327, allocations: 15.94 kB / 2.681 GB, free: 90.07 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.898e-06/5.327, allocations: 4 kB / 2.681 GB, free: 90.07 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/5.328, allocations: 0 / 2.681 GB, free: 90.07 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002817/5.328, allocations: 385.1 kB / 2.681 GB, free: 89.61 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000107/5.328, allocations: 116.8 kB / 2.681 GB, free: 89.48 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.287e-05/5.328, allocations: 4 kB / 2.681 GB, free: 89.48 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001866/5.328, allocations: 31.88 kB / 2.681 GB, free: 89.45 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.235e-05/5.328, allocations: 11.98 kB / 2.681 GB, free: 89.43 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.052e-05/5.328, allocations: 4 kB / 2.681 GB, free: 89.43 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001701/5.328, allocations: 222.1 kB / 2.681 GB, free: 89.21 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.6e-07/5.328, allocations: 0 / 2.681 GB, free: 89.21 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0007512/5.329, allocations: 179.9 kB / 2.682 GB, free: 89.04 MB / 0.6042 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 () * 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.002276/5.331, allocations: 2.498 MB / 2.684 GB, free: 86.45 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002652/5.332, allocations: 123.8 kB / 2.684 GB, free: 86.33 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 5.872e-06/5.332, allocations: 4.312 kB / 2.684 GB, free: 86.32 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 9.313e-05/5.332, allocations: 67.91 kB / 2.684 GB, free: 86.26 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007031/5.333, allocations: 131.7 kB / 2.684 GB, free: 86.13 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008382/5.333, allocations: 466.7 kB / 2.685 GB, free: 85.61 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002082/5.334, allocations: 0.7952 MB / 2.686 GB, free: 84.79 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0002/5.334, allocations: 59.06 kB / 2.686 GB, free: 84.74 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001077/5.334, allocations: 87.41 kB / 2.686 GB, free: 84.65 MB / 0.6042 GB Notification: Performance of SimCode: time 2.31e-07/5.334, allocations: 4 kB / 2.686 GB, free: 84.65 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04379/5.378, allocations: 29.59 MB / 2.715 GB, free: 55.2 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002047/5.378, allocations: 179.4 kB / 2.715 GB, free: 54.98 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.664/8.042, allocations: 0 / 2.715 GB, free: 54.98 MB / 0.6042 GB (rm -f IBPSA_latest_IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Sensors_Examples_EnthalpyFlowRate_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Sensors_Examples_EnthalpyFlowRate.fmu > IBPSA_latest_IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe 2>&1)