Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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_dev_IDEAS_Fluid_Sensors_Examples_EntropyFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sensors.Examples.EntropyFlowRate,fileNamePrefix="IDEAS_dev_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.001334/0.001334, allocations: 174.8 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.7482/0.7482, allocations: 133.4 MB / 146.7 MB, free: 10.79 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.597/1.597, allocations: 221.3 MB / 400.4 MB, free: 5.785 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.0009966/0.0009965, allocations: 98.16 kB / 483.3 MB, free: 5.852 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 3.68e-05/3.69e-05, allocations: 6.422 kB / 0.5601 GB, free: 87.83 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1305/0.1305, allocations: 82.31 MB / 0.6405 GB, free: 7.695 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.312/4.442, allocations: 1.832 GB / 2.472 GB, free: 63.71 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003354/4.443, allocations: 90.59 kB / 2.472 GB, free: 63.66 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 1.106/5.549, allocations: 306.5 MB / 2.772 GB, free: 34.29 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.353e-06/5.549, allocations: 0 / 2.772 GB, free: 34.29 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 4.418e-05/5.549, allocations: 15.98 kB / 2.772 GB, free: 34.27 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.001649/5.55, allocations: 0.7087 MB / 2.772 GB, free: 33.52 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.976e-05/5.55, allocations: 12.03 kB / 2.772 GB, free: 33.5 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001169/5.551, allocations: 62.53 kB / 2.773 GB, free: 33.43 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001178/5.552, allocations: 123.4 kB / 2.773 GB, free: 33.31 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006266/5.552, allocations: 342.5 kB / 2.773 GB, free: 32.94 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.743e-05/5.552, allocations: 50.27 kB / 2.773 GB, free: 32.88 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.734e-05/5.553, allocations: 36 kB / 2.773 GB, free: 32.85 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000536/5.553, allocations: 326.3 kB / 2.773 GB, free: 32.51 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.218e-05/5.553, allocations: 3.938 kB / 2.773 GB, free: 32.5 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.348e-05/5.553, allocations: 8 kB / 2.773 GB, free: 32.5 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.834e-06/5.553, allocations: 8 kB / 2.773 GB, free: 32.49 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003525/5.554, allocations: 226.1 kB / 2.774 GB, free: 32.27 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.001683/5.555, allocations: 1.485 MB / 2.775 GB, free: 30.66 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002865/5.556, allocations: 170.5 kB / 2.775 GB, free: 30.48 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001255/5.556, allocations: 96.81 kB / 2.775 GB, free: 30.38 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007559/5.556, allocations: 0.4975 MB / 2.776 GB, free: 29.79 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.472e-05/5.556, allocations: 30.56 kB / 2.776 GB, free: 29.75 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=15): time 2.785e-06/5.557, allocations: 4 kB / 2.776 GB, free: 29.75 MB / 0.6823 GB Notification: Performance of matching and sorting (n=15): time 0.0006278/5.557, allocations: 234.7 kB / 2.776 GB, free: 29.52 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.832e-05/5.557, allocations: 59.34 kB / 2.776 GB, free: 29.45 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000247/5.557, allocations: 274.7 kB / 2.776 GB, free: 29.17 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.697e-05/5.557, allocations: 25.7 kB / 2.776 GB, free: 29.14 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 9.491e-05/5.558, allocations: 192 kB / 2.777 GB, free: 28.95 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 3.851e-05/5.558, allocations: 47.3 kB / 2.777 GB, free: 28.9 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.095e-05/5.558, allocations: 0 / 2.777 GB, free: 28.9 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 6.791e-05/5.558, allocations: 350.7 kB / 2.777 GB, free: 28.55 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.919e-05/5.558, allocations: 67.97 kB / 2.777 GB, free: 28.48 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001351/5.558, allocations: 137.9 kB / 2.777 GB, free: 28.32 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001225/5.558, allocations: 81.69 kB / 2.777 GB, free: 28.24 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.516e-06/5.558, allocations: 4 kB / 2.777 GB, free: 28.24 MB / 0.6823 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.00041/5.559, allocations: 253 kB / 2.777 GB, free: 27.98 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.039e-05/5.559, allocations: 8.141 kB / 2.777 GB, free: 27.98 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.246e-06/5.559, allocations: 11.97 kB / 2.777 GB, free: 27.96 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.643e-05/5.559, allocations: 4 kB / 2.777 GB, free: 27.96 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002249/5.559, allocations: 43.92 kB / 2.778 GB, free: 27.92 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.237e-06/5.559, allocations: 0 / 2.778 GB, free: 27.92 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002772/5.559, allocations: 47.78 kB / 2.778 GB, free: 27.87 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.403e-05/5.559, allocations: 12 kB / 2.778 GB, free: 27.86 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 8.196e-05/5.559, allocations: 116.9 kB / 2.778 GB, free: 27.74 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001087/5.559, allocations: 31.62 kB / 2.778 GB, free: 27.71 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005364/5.56, allocations: 280.4 kB / 2.778 GB, free: 27.42 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.759e-06/5.56, allocations: 4 kB / 2.778 GB, free: 27.42 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.112e-06/5.56, allocations: 3.938 kB / 2.778 GB, free: 27.41 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.997e-06/5.56, allocations: 0 / 2.778 GB, free: 27.41 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001033/5.561, allocations: 0.7653 MB / 2.779 GB, free: 26.57 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.599e-06/5.561, allocations: 4 kB / 2.779 GB, free: 26.57 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001778/5.561, allocations: 39.97 kB / 2.779 GB, free: 26.53 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.583e-06/5.561, allocations: 4 kB / 2.779 GB, free: 26.52 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.789e-05/5.561, allocations: 4 kB / 2.779 GB, free: 26.52 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.897e-06/5.561, allocations: 7.938 kB / 2.779 GB, free: 26.51 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/5.561, allocations: 4.219 kB / 2.779 GB, free: 26.51 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004202/5.562, allocations: 450.9 kB / 2.779 GB, free: 25.99 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001585/5.562, allocations: 144.6 kB / 2.779 GB, free: 25.83 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.568e-05/5.562, allocations: 0 / 2.779 GB, free: 25.83 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002734/5.562, allocations: 35.98 kB / 2.779 GB, free: 25.79 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.508e-05/5.562, allocations: 19.92 kB / 2.779 GB, free: 25.77 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.599e-05/5.562, allocations: 12 kB / 2.779 GB, free: 25.76 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0001984/5.562, allocations: 226.2 kB / 2.78 GB, free: 25.55 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.5e-07/5.562, allocations: 0 / 2.78 GB, free: 25.55 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001059/5.564, allocations: 219.8 kB / 2.78 GB, free: 25.33 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.0032/5.567, allocations: 2.598 MB / 2.782 GB, free: 22.64 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0003706/5.567, allocations: 183.8 kB / 2.783 GB, free: 22.46 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 4.258e-06/5.567, allocations: 0 / 2.783 GB, free: 22.46 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.00014/5.567, allocations: 104.5 kB / 2.783 GB, free: 22.36 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008344/5.568, allocations: 154.3 kB / 2.783 GB, free: 22.2 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001398/5.57, allocations: 0.5232 MB / 2.783 GB, free: 21.62 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002805/5.57, allocations: 0.7992 MB / 2.784 GB, free: 20.8 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0003496/5.57, allocations: 78.88 kB / 2.784 GB, free: 20.72 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001645/5.57, allocations: 95.41 kB / 2.784 GB, free: 20.63 MB / 0.6823 GB Notification: Performance of SimCode: time 7.01e-07/5.57, allocations: 0 / 2.784 GB, free: 20.63 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5451/6.116, allocations: 31.51 MB / 2.815 GB, free: 156.5 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001585/6.116, allocations: 182.4 kB / 2.815 GB, free: 156.3 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.286/9.402, allocations: 0 / 2.815 GB, free: 156.3 MB / 0.6823 GB (rm -f IDEAS_dev_IDEAS.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Sensors.Examples.EntropyFlowRate.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Sensors.Examples.EntropyFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Sensors_Examples_EntropyFlowRate_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Sensors_Examples_EntropyFlowRate.fmu > IDEAS_dev_IDEAS.Fluid.Sensors.Examples.EntropyFlowRate.pipe 2>&1)