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.001124/0.001124, allocations: 172.5 kB / 7.647 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7837/0.7837, allocations: 133.6 MB / 141.6 MB, free: 2.91 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.544/1.544, allocations: 221.5 MB / 395.5 MB, free: 10.79 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008772/0.0008767, allocations: 89.23 kB / 478.2 MB, free: 1.324 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.507e-05/2.502e-05, allocations: 8 kB / 0.5536 GB, free: 8.961 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4885/0.4886, allocations: 82.29 MB / 0.6339 GB, free: 40.77 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.693/5.181, allocations: 1.831 GB / 2.465 GB, free: 165.2 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002409/5.182, allocations: 86.08 kB / 2.465 GB, free: 165.2 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 1.057/6.239, allocations: 302.8 MB / 2.761 GB, free: 143.2 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.443e-06/6.239, allocations: 0 / 2.761 GB, free: 143.2 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 5.042e-05/6.239, allocations: 8 kB / 2.761 GB, free: 143.2 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.002069/6.241, allocations: 0.7167 MB / 2.762 GB, free: 142.4 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.967e-05/6.241, allocations: 11.97 kB / 2.762 GB, free: 142.4 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001318/6.243, allocations: 123.4 kB / 2.762 GB, free: 142.3 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007271/6.243, allocations: 340 kB / 2.762 GB, free: 141.9 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.616e-05/6.244, allocations: 46.25 kB / 2.762 GB, free: 141.9 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.294e-05/6.244, allocations: 16 kB / 2.762 GB, free: 141.9 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004562/6.244, allocations: 201.1 kB / 2.762 GB, free: 141.7 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004857/6.245, allocations: 301 kB / 2.763 GB, free: 141.4 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.745e-05/6.245, allocations: 7.984 kB / 2.763 GB, free: 141.4 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.289e-05/6.245, allocations: 0 / 2.763 GB, free: 141.4 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.947e-06/6.245, allocations: 4 kB / 2.763 GB, free: 141.4 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.002037/6.247, allocations: 1.391 MB / 2.764 GB, free: 139.9 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003264/6.247, allocations: 170.5 kB / 2.764 GB, free: 139.7 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001394/6.247, allocations: 88.81 kB / 2.764 GB, free: 139.6 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001057/6.248, allocations: 0.4936 MB / 2.765 GB, free: 139 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.28e-05/6.248, allocations: 38.56 kB / 2.765 GB, free: 139 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=15): time 3.396e-06/6.248, allocations: 0 / 2.765 GB, free: 139 MB / 0.6823 GB Notification: Performance of matching and sorting (n=15): time 0.001088/6.249, allocations: 269.2 kB / 2.765 GB, free: 138.7 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.545e-05/6.249, allocations: 51.41 kB / 2.765 GB, free: 138.6 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001981/6.25, allocations: 194.4 kB / 2.765 GB, free: 138.4 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 3.33e-05/6.25, allocations: 25.7 kB / 2.765 GB, free: 138.4 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 9.732e-05/6.25, allocations: 191.9 kB / 2.765 GB, free: 138.2 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 3.957e-05/6.25, allocations: 55.28 kB / 2.766 GB, free: 138.2 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.223e-05/6.25, allocations: 0 / 2.766 GB, free: 138.2 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 8.185e-05/6.25, allocations: 326.8 kB / 2.766 GB, free: 137.8 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.95e-05/6.25, allocations: 71.95 kB / 2.766 GB, free: 137.8 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000133/6.25, allocations: 137.2 kB / 2.766 GB, free: 137.6 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004175/6.251, allocations: 127.8 kB / 2.766 GB, free: 137.5 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.317e-06/6.251, allocations: 0 / 2.766 GB, free: 137.5 MB / 0.6823 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000651/6.251, allocations: 269.1 kB / 2.766 GB, free: 137.2 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.982e-05/6.251, allocations: 4 kB / 2.766 GB, free: 137.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.114e-06/6.251, allocations: 7.938 kB / 2.766 GB, free: 137.2 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.821e-05/6.251, allocations: 4 kB / 2.766 GB, free: 137.2 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002258/6.252, allocations: 48.16 kB / 2.766 GB, free: 137.1 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.027e-06/6.252, allocations: 4 kB / 2.766 GB, free: 137.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002718/6.252, allocations: 27.77 kB / 2.766 GB, free: 137.1 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.69e-05/6.252, allocations: 15.98 kB / 2.767 GB, free: 137.1 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 0.0001038/6.252, allocations: 112.9 kB / 2.767 GB, free: 137 MB / 0.6823 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0005992/6.253, allocations: 246.5 kB / 2.767 GB, free: 136.7 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.547e-05/6.253, allocations: 23.72 kB / 2.767 GB, free: 136.7 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000601/6.253, allocations: 279.5 kB / 2.767 GB, free: 136.4 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.011e-06/6.253, allocations: 7.984 kB / 2.767 GB, free: 136.4 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/6.253, allocations: 0 / 2.767 GB, free: 136.4 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/6.253, allocations: 0 / 2.767 GB, free: 136.4 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001913/6.255, allocations: 1.215 MB / 2.768 GB, free: 135.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.494e-06/6.255, allocations: 4 kB / 2.768 GB, free: 135 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001865/6.256, allocations: 39.92 kB / 2.768 GB, free: 135 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.698e-06/6.256, allocations: 7.953 kB / 2.768 GB, free: 135 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.301e-05/6.256, allocations: 11.98 kB / 2.768 GB, free: 135 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.119e-06/6.256, allocations: 4.344 kB / 2.768 GB, free: 135 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.164e-06/6.256, allocations: 8 kB / 2.768 GB, free: 135 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006634/6.256, allocations: 0.5128 MB / 2.769 GB, free: 134.3 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001531/6.256, allocations: 132.7 kB / 2.769 GB, free: 134.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.005e-05/6.257, allocations: 7.984 kB / 2.769 GB, free: 134.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002931/6.257, allocations: 27.94 kB / 2.769 GB, free: 134.2 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.087e-05/6.257, allocations: 15.92 kB / 2.769 GB, free: 134.1 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.203e-05/6.257, allocations: 15.98 kB / 2.769 GB, free: 134.1 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0001344/6.257, allocations: 150 kB / 2.769 GB, free: 134 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.41e-07/6.257, allocations: 4 kB / 2.769 GB, free: 134 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0009746/6.258, allocations: 207.5 kB / 2.769 GB, free: 133.8 MB / 0.6823 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.003158/6.261, allocations: 3.125 MB / 2.772 GB, free: 130.7 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.000362/6.262, allocations: 167.8 kB / 2.773 GB, free: 130.5 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/6.262, allocations: 0 / 2.773 GB, free: 130.5 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001338/6.262, allocations: 95.81 kB / 2.773 GB, free: 130.4 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000649/6.262, allocations: 98.02 kB / 2.773 GB, free: 130.3 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001253/6.264, allocations: 0.5064 MB / 2.773 GB, free: 129.8 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002953/6.264, allocations: 0.8029 MB / 2.774 GB, free: 128.9 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0003303/6.264, allocations: 65.97 kB / 2.774 GB, free: 128.9 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000148/6.265, allocations: 95.41 kB / 2.774 GB, free: 128.8 MB / 0.6823 GB Notification: Performance of SimCode: time 2.6e-07/6.265, allocations: 0 / 2.774 GB, free: 128.8 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04892/6.313, allocations: 16.59 MB / 2.79 GB, free: 112.2 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002245/6.314, allocations: 156.9 kB / 2.791 GB, free: 112 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.4/8.714, allocations: 0 / 2.791 GB, free: 112 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)