Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.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/IDEAS 3.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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Fluid.Sensors.Examples.EntropyFlowRate,fileNamePrefix="IDEAS_IDEAS_Fluid_Sensors_Examples_EntropyFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sensors.Examples.EntropyFlowRate,fileNamePrefix="IDEAS_IDEAS_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.001423/0.001423, allocations: 174.7 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7554/0.7554, allocations: 133.4 MB / 146.7 MB, free: 10.77 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.438/1.438, allocations: 221.3 MB / 400.4 MB, free: 5.758 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009935/0.0009934, allocations: 99.69 kB / 483.3 MB, free: 5.828 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 3.626e-05/3.636e-05, allocations: 4.125 kB / 0.5601 GB, free: 87.89 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1443/0.1443, allocations: 82.3 MB / 0.6405 GB, free: 7.742 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.63/4.774, allocations: 1.832 GB / 2.472 GB, free: 63.65 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003109/4.774, allocations: 87.7 kB / 2.472 GB, free: 63.61 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 1.172/5.947, allocations: 306.5 MB / 2.772 GB, free: 34.32 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.903e-06/5.947, allocations: 0 / 2.772 GB, free: 34.32 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 3.442e-05/5.947, allocations: 12 kB / 2.772 GB, free: 34.3 MB / 0.6823 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.001561/5.948, allocations: 0.7087 MB / 2.772 GB, free: 33.55 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.633e-05/5.949, allocations: 8.031 kB / 2.772 GB, free: 33.54 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.341e-05/5.949, allocations: 74.53 kB / 2.773 GB, free: 33.46 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001122/5.95, allocations: 123.4 kB / 2.773 GB, free: 33.34 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006218/5.95, allocations: 342.5 kB / 2.773 GB, free: 32.96 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.735e-05/5.951, allocations: 54.25 kB / 2.773 GB, free: 32.91 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.644e-05/5.951, allocations: 28 kB / 2.773 GB, free: 32.88 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004945/5.951, allocations: 330.3 kB / 2.773 GB, free: 32.54 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.384e-05/5.951, allocations: 3.938 kB / 2.773 GB, free: 32.53 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.332e-05/5.951, allocations: 12 kB / 2.773 GB, free: 32.52 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.837e-06/5.951, allocations: 8 kB / 2.773 GB, free: 32.51 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003431/5.951, allocations: 218.1 kB / 2.774 GB, free: 32.3 MB / 0.6823 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.001578/5.953, allocations: 1.481 MB / 2.775 GB, free: 30.69 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002711/5.953, allocations: 174.5 kB / 2.775 GB, free: 30.51 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001234/5.954, allocations: 100.8 kB / 2.775 GB, free: 30.41 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007939/5.954, allocations: 0.4975 MB / 2.776 GB, free: 29.82 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.85e-05/5.954, allocations: 34.56 kB / 2.776 GB, free: 29.78 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=15): time 2.014e-06/5.954, allocations: 0 / 2.776 GB, free: 29.78 MB / 0.6823 GB Notification: Performance of matching and sorting (n=15): time 0.000591/5.955, allocations: 233.4 kB / 2.776 GB, free: 29.54 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.621e-05/5.955, allocations: 63.28 kB / 2.776 GB, free: 29.47 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002375/5.955, allocations: 274.7 kB / 2.776 GB, free: 29.19 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.577e-05/5.955, allocations: 29.7 kB / 2.776 GB, free: 29.16 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 8.707e-05/5.955, allocations: 184.1 kB / 2.777 GB, free: 28.97 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 3.305e-05/5.955, allocations: 51.3 kB / 2.777 GB, free: 28.92 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.095e-05/5.955, allocations: 0 / 2.777 GB, free: 28.92 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 6.682e-05/5.955, allocations: 342.8 kB / 2.777 GB, free: 28.58 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001046/5.956, allocations: 63.97 kB / 2.777 GB, free: 28.52 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001391/5.956, allocations: 141.9 kB / 2.777 GB, free: 28.35 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001258/5.956, allocations: 90.5 kB / 2.777 GB, free: 28.27 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.345e-06/5.956, allocations: 0 / 2.777 GB, free: 28.27 MB / 0.6823 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003912/5.956, allocations: 253.1 kB / 2.777 GB, free: 28.01 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.79e-05/5.956, allocations: 9.047 kB / 2.777 GB, free: 28 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.223e-06/5.956, allocations: 4 kB / 2.777 GB, free: 28 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.753e-05/5.956, allocations: 4 kB / 2.777 GB, free: 28 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002205/5.957, allocations: 44.09 kB / 2.778 GB, free: 27.95 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.438e-06/5.957, allocations: 8 kB / 2.778 GB, free: 27.95 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000253/5.957, allocations: 35.73 kB / 2.778 GB, free: 27.91 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.197e-05/5.957, allocations: 12 kB / 2.778 GB, free: 27.9 MB / 0.6823 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.694e-05/5.957, allocations: 128.8 kB / 2.778 GB, free: 27.77 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.697e-05/5.957, allocations: 27.62 kB / 2.778 GB, free: 27.74 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005207/5.958, allocations: 277.9 kB / 2.778 GB, free: 27.46 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.627e-06/5.958, allocations: 0 / 2.778 GB, free: 27.46 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/5.958, allocations: 3.938 kB / 2.778 GB, free: 27.45 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/5.958, allocations: 7.984 kB / 2.778 GB, free: 27.45 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009844/5.959, allocations: 0.7575 MB / 2.779 GB, free: 26.61 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.617e-06/5.959, allocations: 4.219 kB / 2.779 GB, free: 26.61 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001793/5.959, allocations: 47.91 kB / 2.779 GB, free: 26.56 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.849e-06/5.959, allocations: 0 / 2.779 GB, free: 26.56 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.67e-05/5.959, allocations: 4 kB / 2.779 GB, free: 26.55 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.075e-06/5.959, allocations: 4 kB / 2.779 GB, free: 26.55 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/5.959, allocations: 4 kB / 2.779 GB, free: 26.55 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004169/5.959, allocations: 455.4 kB / 2.779 GB, free: 26.02 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001319/5.959, allocations: 140.6 kB / 2.779 GB, free: 25.87 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.377e-05/5.96, allocations: 4 kB / 2.779 GB, free: 25.86 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002736/5.96, allocations: 31.97 kB / 2.779 GB, free: 25.83 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.184e-05/5.96, allocations: 16 kB / 2.779 GB, free: 25.82 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.735e-05/5.96, allocations: 16 kB / 2.779 GB, free: 25.8 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0001699/5.96, allocations: 226.2 kB / 2.78 GB, free: 25.59 MB / 0.6823 GB Notification: Performance of sort global known variables: time 2.11e-07/5.96, allocations: 3.938 kB / 2.78 GB, free: 25.58 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.000894/5.961, allocations: 227.8 kB / 2.78 GB, free: 25.36 MB / 0.6823 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.002506/5.963, allocations: 2.59 MB / 2.782 GB, free: 22.67 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0003114/5.964, allocations: 181.2 kB / 2.783 GB, free: 22.49 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/5.964, allocations: 4 kB / 2.783 GB, free: 22.49 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001307/5.964, allocations: 99.83 kB / 2.783 GB, free: 22.39 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007754/5.965, allocations: 160.7 kB / 2.783 GB, free: 22.23 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001122/5.966, allocations: 0.527 MB / 2.783 GB, free: 21.65 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002568/5.966, allocations: 0.7914 MB / 2.784 GB, free: 20.83 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0003068/5.966, allocations: 78.88 kB / 2.784 GB, free: 20.76 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001426/5.967, allocations: 95.41 kB / 2.784 GB, free: 20.66 MB / 0.6823 GB Notification: Performance of SimCode: time 6.82e-07/5.967, allocations: 0 / 2.784 GB, free: 20.66 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5372/6.504, allocations: 31.5 MB / 2.815 GB, free: 156.9 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001753/6.504, allocations: 180.8 kB / 2.815 GB, free: 156.7 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.007/9.511, allocations: 0 / 2.815 GB, free: 156.7 MB / 0.6823 GB (rm -f IDEAS_IDEAS.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; mkfifo IDEAS_IDEAS.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Sensors.Examples.EntropyFlowRate.pipe >> ../files/IDEAS_IDEAS.Fluid.Sensors.Examples.EntropyFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Sensors_Examples_EntropyFlowRate_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Sensors_Examples_EntropyFlowRate.fmu > IDEAS_IDEAS.Fluid.Sensors.Examples.EntropyFlowRate.pipe 2>&1)