Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Sensors.Examples.EntropyFlowRate.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.EntropyFlowRate,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sensors_Examples_EntropyFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Sensors.Examples.EntropyFlowRate,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sensors_Examples_EntropyFlowRate",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.001016/0.001016, allocations: 179.2 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.4703/0.4703, allocations: 90.81 MB / 104.5 MB, free: 9.785 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.292/1.292, allocations: 221.3 MB / 348.3 MB, free: 448 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.0008555/0.0008555, allocations: 102.2 kB / 421.2 MB, free: 5.453 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 3.005e-05/3.008e-05, allocations: 4 kB / 0.4897 GB, free: 5.238 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3401/0.3401, allocations: 72.3 MB / 0.5603 GB, free: 40.39 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.122/4.463, allocations: 1.822 GB / 2.383 GB, free: 149.4 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002292/4.463, allocations: 83.83 kB / 2.383 GB, free: 149.4 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 0.8865/5.349, allocations: 306.5 MB / 2.682 GB, free: 88.41 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.543e-06/5.349, allocations: 0 / 2.682 GB, free: 88.41 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 2.702e-05/5.35, allocations: 8 kB / 2.682 GB, free: 88.4 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: 65 * Number of variables: 65 Notification: Performance of Generate backend data structure: time 0.001233/5.351, allocations: 0.7087 MB / 2.683 GB, free: 87.65 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.476e-05/5.351, allocations: 11.98 kB / 2.683 GB, free: 87.64 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.34e-05/5.351, allocations: 70.53 kB / 2.683 GB, free: 87.56 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009888/5.352, allocations: 127.4 kB / 2.683 GB, free: 87.43 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004528/5.352, allocations: 341.8 kB / 2.683 GB, free: 87.06 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.536e-05/5.352, allocations: 54.25 kB / 2.683 GB, free: 87 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.768e-05/5.352, allocations: 27.94 kB / 2.683 GB, free: 86.98 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004353/5.353, allocations: 338.2 kB / 2.684 GB, free: 86.62 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.061e-05/5.353, allocations: 0 / 2.684 GB, free: 86.62 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.009e-05/5.353, allocations: 12 kB / 2.684 GB, free: 86.61 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.905e-06/5.353, allocations: 8 kB / 2.684 GB, free: 86.61 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003036/5.353, allocations: 222.1 kB / 2.684 GB, free: 86.39 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.001401/5.355, allocations: 1.476 MB / 2.685 GB, free: 84.78 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003271/5.355, allocations: 166.6 kB / 2.685 GB, free: 84.61 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001414/5.355, allocations: 96.81 kB / 2.686 GB, free: 84.51 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000826/5.356, allocations: 0.4975 MB / 2.686 GB, free: 83.92 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.456e-05/5.356, allocations: 42.56 kB / 2.686 GB, free: 83.87 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=15): time 1.483e-06/5.356, allocations: 3.938 kB / 2.686 GB, free: 83.87 MB / 0.6042 GB Notification: Performance of matching and sorting (n=15): time 0.0006348/5.357, allocations: 233.4 kB / 2.686 GB, free: 83.63 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.532e-05/5.357, allocations: 51.41 kB / 2.686 GB, free: 83.57 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002557/5.357, allocations: 278.7 kB / 2.687 GB, free: 83.29 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.77e-05/5.357, allocations: 33.7 kB / 2.687 GB, free: 83.25 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 9.275e-05/5.357, allocations: 188 kB / 2.687 GB, free: 83.07 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.467e-05/5.357, allocations: 47.3 kB / 2.687 GB, free: 83.02 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.313e-05/5.357, allocations: 4 kB / 2.687 GB, free: 83.02 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.185e-05/5.357, allocations: 338.8 kB / 2.687 GB, free: 82.68 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001157/5.357, allocations: 67.97 kB / 2.687 GB, free: 82.61 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001571/5.358, allocations: 140.3 kB / 2.687 GB, free: 82.45 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001424/5.358, allocations: 84.58 kB / 2.687 GB, free: 82.36 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.155e-06/5.358, allocations: 0 / 2.687 GB, free: 82.36 MB / 0.6042 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004318/5.358, allocations: 247.7 kB / 2.688 GB, free: 82.12 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.68e-05/5.358, allocations: 11.95 kB / 2.688 GB, free: 82.11 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/5.358, allocations: 0 / 2.688 GB, free: 82.11 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.061e-05/5.358, allocations: 4 kB / 2.688 GB, free: 82.1 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002844/5.359, allocations: 47.91 kB / 2.688 GB, free: 82.05 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.438e-06/5.359, allocations: 8.188 kB / 2.688 GB, free: 82.05 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002654/5.359, allocations: 31.73 kB / 2.688 GB, free: 82.02 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.213e-05/5.359, allocations: 19.98 kB / 2.688 GB, free: 82 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * 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 8.966e-05/5.359, allocations: 120 kB / 2.688 GB, free: 81.88 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001127/5.359, allocations: 27.62 kB / 2.688 GB, free: 81.85 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005907/5.36, allocations: 289.6 kB / 2.688 GB, free: 81.55 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.765e-06/5.36, allocations: 0 / 2.688 GB, free: 81.55 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.93e-06/5.36, allocations: 0 / 2.688 GB, free: 81.55 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.051e-06/5.36, allocations: 4 kB / 2.688 GB, free: 81.55 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00111/5.361, allocations: 0.7614 MB / 2.689 GB, free: 80.71 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.919e-06/5.361, allocations: 8.203 kB / 2.689 GB, free: 80.7 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002123/5.361, allocations: 39.92 kB / 2.689 GB, free: 80.66 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.169e-06/5.361, allocations: 4 kB / 2.689 GB, free: 80.66 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.012e-05/5.361, allocations: 8 kB / 2.689 GB, free: 80.65 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.747e-06/5.361, allocations: 3.984 kB / 2.689 GB, free: 80.64 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.447e-06/5.361, allocations: 4 kB / 2.689 GB, free: 80.64 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004735/5.362, allocations: 450.1 kB / 2.69 GB, free: 80.12 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001476/5.362, allocations: 136.6 kB / 2.69 GB, free: 79.97 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.647e-05/5.362, allocations: 4 kB / 2.69 GB, free: 79.96 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003189/5.362, allocations: 31.97 kB / 2.69 GB, free: 79.93 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.254e-05/5.362, allocations: 19.88 kB / 2.69 GB, free: 79.91 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.77e-05/5.362, allocations: 12.05 kB / 2.69 GB, free: 79.9 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001987/5.363, allocations: 222.2 kB / 2.69 GB, free: 79.69 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.7e-07/5.363, allocations: 0 / 2.69 GB, free: 79.69 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0009411/5.363, allocations: 231.8 kB / 2.69 GB, free: 79.46 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 (16): * Single equations (assignments): 16 * 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.002699/5.366, allocations: 2.604 MB / 2.693 GB, free: 76.77 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0003961/5.367, allocations: 175.8 kB / 2.693 GB, free: 76.6 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.357e-06/5.367, allocations: 4 kB / 2.693 GB, free: 76.6 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001589/5.367, allocations: 99.81 kB / 2.693 GB, free: 76.5 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007757/5.368, allocations: 160.2 kB / 2.693 GB, free: 76.34 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00106/5.369, allocations: 0.5296 MB / 2.694 GB, free: 75.75 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002731/5.369, allocations: 0.7875 MB / 2.694 GB, free: 74.94 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0003391/5.369, allocations: 86.86 kB / 2.694 GB, free: 74.86 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001538/5.369, allocations: 95.41 kB / 2.695 GB, free: 74.77 MB / 0.6042 GB Notification: Performance of SimCode: time 8.01e-07/5.369, allocations: 0 / 2.695 GB, free: 74.77 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04784/5.417, allocations: 31.5 MB / 2.725 GB, free: 43.4 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001555/5.418, allocations: 194 kB / 2.726 GB, free: 43.18 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.757/8.175, allocations: 0 / 2.726 GB, free: 43.18 MB / 0.6042 GB (rm -f IBPSA_latest_IBPSA.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Sensors.Examples.EntropyFlowRate.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Sensors.Examples.EntropyFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Sensors_Examples_EntropyFlowRate_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Sensors_Examples_EntropyFlowRate.fmu > IBPSA_latest_IBPSA.Fluid.Sensors.Examples.EntropyFlowRate.pipe 2>&1)