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.001121/0.001121, allocations: 180.9 kB / 7.65 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.7869/0.7869, allocations: 133.6 MB / 141.6 MB, free: 2.914 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.582/1.582, allocations: 221.5 MB / 395.4 MB, free: 10.78 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.0009689/0.0009687, allocations: 97.23 kB / 478.2 MB, free: 1.324 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 3.235e-05/3.218e-05, allocations: 8 kB / 0.5536 GB, free: 8.957 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4704/0.4704, allocations: 82.29 MB / 0.6339 GB, free: 40.82 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.762/5.232, allocations: 1.831 GB / 2.465 GB, free: 208.4 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003064/5.233, allocations: 87.95 kB / 2.465 GB, free: 208.4 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 1.158/6.391, allocations: 302.8 MB / 2.761 GB, free: 173 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.603e-06/6.391, allocations: 4 kB / 2.761 GB, free: 173 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 3.588e-05/6.391, allocations: 15.67 kB / 2.761 GB, free: 173 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.001562/6.393, allocations: 0.7107 MB / 2.762 GB, free: 172.3 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.087e-05/6.393, allocations: 8.031 kB / 2.762 GB, free: 172.3 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001056/6.394, allocations: 127.4 kB / 2.762 GB, free: 172.1 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005053/6.394, allocations: 341.7 kB / 2.762 GB, free: 171.8 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.763e-05/6.394, allocations: 46.2 kB / 2.762 GB, free: 171.7 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4e-05/6.394, allocations: 16 kB / 2.762 GB, free: 171.7 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003405/6.395, allocations: 205.1 kB / 2.762 GB, free: 171.5 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004177/6.395, allocations: 289.1 kB / 2.763 GB, free: 171.2 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.568e-05/6.395, allocations: 3.938 kB / 2.763 GB, free: 171.2 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.043e-05/6.395, allocations: 7.953 kB / 2.763 GB, free: 171.2 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.585e-06/6.395, allocations: 8 kB / 2.763 GB, free: 171.2 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.001405/6.397, allocations: 1.383 MB / 2.764 GB, free: 169.7 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002426/6.397, allocations: 166.6 kB / 2.764 GB, free: 169.5 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001067/6.397, allocations: 96.75 kB / 2.764 GB, free: 169.4 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007971/6.398, allocations: 0.4975 MB / 2.765 GB, free: 168.9 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.563e-05/6.398, allocations: 34.56 kB / 2.765 GB, free: 168.8 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=15): time 1.793e-06/6.398, allocations: 3.938 kB / 2.765 GB, free: 168.8 MB / 0.6823 GB Notification: Performance of matching and sorting (n=15): time 0.0008604/6.399, allocations: 271.2 kB / 2.765 GB, free: 168.5 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.08e-05/6.399, allocations: 55.41 kB / 2.765 GB, free: 168.5 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001672/6.399, allocations: 190.1 kB / 2.765 GB, free: 168.3 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.402e-05/6.399, allocations: 25.7 kB / 2.765 GB, free: 168.2 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 8.726e-05/6.399, allocations: 203.9 kB / 2.765 GB, free: 168 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 3.102e-05/6.399, allocations: 47.3 kB / 2.766 GB, free: 168 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.191e-05/6.399, allocations: 0 / 2.766 GB, free: 168 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 7.265e-05/6.399, allocations: 330.8 kB / 2.766 GB, free: 167.7 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.519e-05/6.399, allocations: 63.95 kB / 2.766 GB, free: 167.6 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001328/6.399, allocations: 137 kB / 2.766 GB, free: 167.4 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000387/6.4, allocations: 119.9 kB / 2.766 GB, free: 167.3 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.332e-06/6.4, allocations: 7.953 kB / 2.766 GB, free: 167.3 MB / 0.6823 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0006051/6.4, allocations: 272.2 kB / 2.766 GB, free: 167.1 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.975e-05/6.4, allocations: 12.19 kB / 2.766 GB, free: 167 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.314e-06/6.401, allocations: 0 / 2.766 GB, free: 167 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.722e-05/6.401, allocations: 4 kB / 2.766 GB, free: 167 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002488/6.401, allocations: 43.91 kB / 2.766 GB, free: 167 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.562e-06/6.401, allocations: 4 kB / 2.766 GB, free: 167 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000226/6.401, allocations: 43.77 kB / 2.767 GB, free: 166.9 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.021e-05/6.401, allocations: 12 kB / 2.767 GB, free: 166.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 8.742e-05/6.401, allocations: 109.3 kB / 2.767 GB, free: 166.8 MB / 0.6823 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0005834/6.402, allocations: 241.2 kB / 2.767 GB, free: 166.6 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.33e-05/6.402, allocations: 23.72 kB / 2.767 GB, free: 166.6 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005854/6.402, allocations: 275.6 kB / 2.767 GB, free: 166.3 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.577e-06/6.402, allocations: 3.938 kB / 2.767 GB, free: 166.3 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.641e-06/6.402, allocations: 4 kB / 2.767 GB, free: 166.3 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/6.402, allocations: 3.938 kB / 2.767 GB, free: 166.3 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001761/6.404, allocations: 1.218 MB / 2.768 GB, free: 164.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.647e-06/6.404, allocations: 0 / 2.768 GB, free: 164.9 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001874/6.404, allocations: 44.25 kB / 2.768 GB, free: 164.9 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.875e-06/6.404, allocations: 8 kB / 2.768 GB, free: 164.9 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.829e-05/6.405, allocations: 7.953 kB / 2.768 GB, free: 164.8 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.252e-06/6.405, allocations: 7.938 kB / 2.768 GB, free: 164.8 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.131e-06/6.405, allocations: 4 kB / 2.768 GB, free: 164.8 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006171/6.405, allocations: 0.5278 MB / 2.769 GB, free: 164.2 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001143/6.405, allocations: 124.7 kB / 2.769 GB, free: 164.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.856e-05/6.405, allocations: 11.98 kB / 2.769 GB, free: 164 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002587/6.406, allocations: 19.98 kB / 2.769 GB, free: 164 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.988e-05/6.406, allocations: 27.92 kB / 2.769 GB, free: 164 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.824e-05/6.406, allocations: 12 kB / 2.769 GB, free: 164 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0001209/6.406, allocations: 150 kB / 2.769 GB, free: 163.8 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.6e-07/6.406, allocations: 7.938 kB / 2.769 GB, free: 163.8 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0008685/6.407, allocations: 202.2 kB / 2.769 GB, free: 163.6 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.002743/6.409, allocations: 3.104 MB / 2.772 GB, free: 160.6 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0003287/6.41, allocations: 167.8 kB / 2.773 GB, free: 160.4 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/6.41, allocations: 0 / 2.773 GB, free: 160.4 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001226/6.41, allocations: 100.6 kB / 2.773 GB, free: 160.3 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006216/6.411, allocations: 88.67 kB / 2.773 GB, free: 160.2 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001011/6.412, allocations: 0.5219 MB / 2.773 GB, free: 159.6 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002595/6.412, allocations: 0.7951 MB / 2.774 GB, free: 158.8 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0002573/6.412, allocations: 70.11 kB / 2.774 GB, free: 158.7 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000137/6.412, allocations: 95.41 kB / 2.774 GB, free: 158.6 MB / 0.6823 GB Notification: Performance of SimCode: time 5.11e-07/6.412, allocations: 0 / 2.774 GB, free: 158.6 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0387/6.451, allocations: 16.6 MB / 2.79 GB, free: 142.1 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001871/6.451, allocations: 159.3 kB / 2.791 GB, free: 141.9 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.469/8.92, allocations: 3.938 kB / 2.791 GB, free: 141.9 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)