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.001107/0.001107, allocations: 177.6 kB / 8.002 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5143/0.5143, allocations: 90.91 MB / 99.34 MB, free: 2.18 MB / 74.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.464/1.464, allocations: 221.5 MB / 343.2 MB, free: 1.602 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001115/0.001115, allocations: 94.36 kB / 415.9 MB, free: 11.18 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.157e-05/2.159e-05, allocations: 4 kB / 494.6 MB, free: 52.32 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1391/0.1391, allocations: 72.31 MB / 0.5536 GB, free: 12.2 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.79/4.929, allocations: 1.822 GB / 2.375 GB, free: 81.55 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002548/4.93, allocations: 89.44 kB / 2.375 GB, free: 81.5 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 0.9666/5.896, allocations: 302.8 MB / 2.671 GB, free: 25.73 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.483e-06/5.896, allocations: 0 / 2.671 GB, free: 25.73 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 2.893e-05/5.896, allocations: 15.98 kB / 2.671 GB, free: 25.71 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.001269/5.898, allocations: 0.7129 MB / 2.672 GB, free: 24.95 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.437e-05/5.898, allocations: 16.02 kB / 2.672 GB, free: 24.94 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001003/5.899, allocations: 123.4 kB / 2.672 GB, free: 24.82 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004399/5.899, allocations: 333.9 kB / 2.672 GB, free: 24.45 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.334e-05/5.899, allocations: 38.27 kB / 2.672 GB, free: 24.41 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.554e-05/5.899, allocations: 19.94 kB / 2.672 GB, free: 24.39 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000315/5.9, allocations: 209.1 kB / 2.673 GB, free: 24.19 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003998/5.9, allocations: 293.1 kB / 2.673 GB, free: 23.88 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.35e-05/5.9, allocations: 0 / 2.673 GB, free: 23.88 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.812e-05/5.9, allocations: 3.938 kB / 2.673 GB, free: 23.88 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.744e-06/5.9, allocations: 8 kB / 2.673 GB, free: 23.87 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.001265/5.901, allocations: 1.394 MB / 2.674 GB, free: 22.36 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002323/5.902, allocations: 167.1 kB / 2.674 GB, free: 22.18 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001041/5.902, allocations: 92.75 kB / 2.674 GB, free: 22.09 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007124/5.902, allocations: 0.4975 MB / 2.675 GB, free: 21.5 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.932e-05/5.902, allocations: 34.56 kB / 2.675 GB, free: 21.46 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=15): time 1.273e-06/5.902, allocations: 0 / 2.675 GB, free: 21.46 MB / 0.6042 GB Notification: Performance of matching and sorting (n=15): time 0.0008209/5.903, allocations: 267.2 kB / 2.675 GB, free: 21.19 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.94e-05/5.903, allocations: 55.41 kB / 2.675 GB, free: 21.12 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001437/5.903, allocations: 198.3 kB / 2.675 GB, free: 20.93 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.352e-05/5.904, allocations: 25.7 kB / 2.675 GB, free: 20.9 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 8.513e-05/5.904, allocations: 196 kB / 2.676 GB, free: 20.7 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.415e-05/5.904, allocations: 51.2 kB / 2.676 GB, free: 20.65 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.189e-05/5.904, allocations: 4 kB / 2.676 GB, free: 20.65 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.309e-05/5.904, allocations: 330.8 kB / 2.676 GB, free: 20.32 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.37e-05/5.904, allocations: 63.97 kB / 2.676 GB, free: 20.25 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001143/5.904, allocations: 139.6 kB / 2.676 GB, free: 20.09 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003811/5.904, allocations: 125.9 kB / 2.676 GB, free: 19.97 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/5.904, allocations: 4 kB / 2.676 GB, free: 19.96 MB / 0.6042 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005885/5.905, allocations: 265.2 kB / 2.677 GB, free: 19.7 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2e-05/5.905, allocations: 7.953 kB / 2.677 GB, free: 19.69 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/5.905, allocations: 0 / 2.677 GB, free: 19.69 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.888e-05/5.905, allocations: 4 kB / 2.677 GB, free: 19.69 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002351/5.905, allocations: 51.86 kB / 2.677 GB, free: 19.64 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.558e-06/5.905, allocations: 4.172 kB / 2.677 GB, free: 19.63 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002073/5.905, allocations: 31.83 kB / 2.677 GB, free: 19.6 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.753e-05/5.906, allocations: 8 kB / 2.677 GB, free: 19.59 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 7.503e-05/5.906, allocations: 108.9 kB / 2.677 GB, free: 19.48 MB / 0.6042 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0005645/5.906, allocations: 249.2 kB / 2.677 GB, free: 19.23 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.848e-05/5.906, allocations: 23.67 kB / 2.677 GB, free: 19.21 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005638/5.907, allocations: 281.3 kB / 2.677 GB, free: 18.92 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.998e-06/5.907, allocations: 4 kB / 2.677 GB, free: 18.92 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/5.907, allocations: 3.938 kB / 2.677 GB, free: 18.91 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/5.907, allocations: 4 kB / 2.677 GB, free: 18.91 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001572/5.908, allocations: 1.215 MB / 2.679 GB, free: 17.54 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.118e-06/5.908, allocations: 4 kB / 2.679 GB, free: 17.54 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001751/5.909, allocations: 43.91 kB / 2.679 GB, free: 17.5 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.68e-06/5.909, allocations: 4 kB / 2.679 GB, free: 17.49 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.747e-05/5.909, allocations: 8.125 kB / 2.679 GB, free: 17.48 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.499e-06/5.909, allocations: 4 kB / 2.679 GB, free: 17.48 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-06/5.909, allocations: 7.938 kB / 2.679 GB, free: 17.47 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005058/5.909, allocations: 0.5229 MB / 2.679 GB, free: 16.83 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 9.543e-05/5.909, allocations: 132.7 kB / 2.679 GB, free: 16.68 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.612e-05/5.909, allocations: 4 kB / 2.679 GB, free: 16.68 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002511/5.91, allocations: 27.97 kB / 2.679 GB, free: 16.65 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.423e-05/5.91, allocations: 27.88 kB / 2.679 GB, free: 16.62 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.126e-05/5.91, allocations: 8 kB / 2.679 GB, free: 16.62 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 9.158e-05/5.91, allocations: 158 kB / 2.679 GB, free: 16.46 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.342e-06/5.91, allocations: 0 / 2.679 GB, free: 16.46 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0006951/5.911, allocations: 191.7 kB / 2.68 GB, free: 16.27 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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.002173/5.913, allocations: 3.107 MB / 2.683 GB, free: 13.05 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.000283/5.913, allocations: 176 kB / 2.683 GB, free: 12.88 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/5.913, allocations: 8.062 kB / 2.683 GB, free: 12.87 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001355/5.913, allocations: 91.83 kB / 2.683 GB, free: 12.78 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000556/5.914, allocations: 97.23 kB / 2.683 GB, free: 12.68 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009161/5.915, allocations: 0.5138 MB / 2.683 GB, free: 12.1 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002099/5.915, allocations: 0.7912 MB / 2.684 GB, free: 11.29 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0002383/5.915, allocations: 69.91 kB / 2.684 GB, free: 11.21 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001311/5.915, allocations: 95.39 kB / 2.684 GB, free: 11.12 MB / 0.6042 GB Notification: Performance of SimCode: time 2.41e-07/5.915, allocations: 0 / 2.684 GB, free: 11.12 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4105/6.326, allocations: 16.58 MB / 2.701 GB, free: 138.5 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001938/6.326, allocations: 163.5 kB / 2.701 GB, free: 138.3 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.383/8.709, allocations: 0 / 2.701 GB, free: 138.3 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)