Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Sensors.Examples.SpecificEntropy.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.SpecificEntropy,fileNamePrefix="IDEAS_IDEAS_Fluid_Sensors_Examples_SpecificEntropy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sensors.Examples.SpecificEntropy,fileNamePrefix="IDEAS_IDEAS_Fluid_Sensors_Examples_SpecificEntropy",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.001661/0.001661, allocations: 174.3 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.7422/0.7422, 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.552/1.552, allocations: 221.3 MB / 400.4 MB, free: 5.805 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.000837/0.000837, allocations: 83.91 kB / 483.3 MB, free: 5.82 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 3.89e-05/3.899e-05, allocations: 4.312 kB / 0.5601 GB, free: 87.78 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1819/0.182, allocations: 82.31 MB / 0.6405 GB, free: 7.738 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.893/5.075, allocations: 1.83 GB / 2.47 GB, free: 102.3 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002621/5.075, allocations: 83.95 kB / 2.47 GB, free: 102.3 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.8791/5.954, allocations: 224.6 MB / 2.69 GB, free: 150.5 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.563e-06/5.954, allocations: 0 / 2.69 GB, free: 150.5 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 3.193e-05/5.954, allocations: 4 kB / 2.69 GB, free: 150.5 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: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.001243/5.956, allocations: 0.6161 MB / 2.69 GB, free: 149.8 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.102e-05/5.956, allocations: 15.95 kB / 2.69 GB, free: 149.8 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.501e-05/5.956, allocations: 54.55 kB / 2.69 GB, free: 149.8 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007236/5.957, allocations: 71.66 kB / 2.691 GB, free: 149.7 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004522/5.957, allocations: 293.1 kB / 2.691 GB, free: 149.4 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.031e-05/5.957, allocations: 13.44 kB / 2.691 GB, free: 149.3 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.194e-05/5.957, allocations: 28.86 kB / 2.691 GB, free: 149.3 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003993/5.958, allocations: 261 kB / 2.691 GB, free: 149 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.243e-05/5.958, allocations: 3.953 kB / 2.691 GB, free: 149 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.359e-05/5.958, allocations: 8 kB / 2.691 GB, free: 149 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.664e-06/5.958, allocations: 4 kB / 2.691 GB, free: 149 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002609/5.958, allocations: 167.8 kB / 2.691 GB, free: 148.9 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001421/5.959, allocations: 1.234 MB / 2.692 GB, free: 147.5 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000189/5.959, allocations: 161 kB / 2.693 GB, free: 147.3 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001188/5.96, allocations: 96.2 kB / 2.693 GB, free: 147.2 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006567/5.96, allocations: 327.2 kB / 2.693 GB, free: 146.9 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.731e-05/5.96, allocations: 38.69 kB / 2.693 GB, free: 146.8 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=13): time 1.903e-06/5.96, allocations: 0 / 2.693 GB, free: 146.8 MB / 0.6823 GB Notification: Performance of matching and sorting (n=13): time 0.0004898/5.961, allocations: 181.2 kB / 2.693 GB, free: 146.6 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.866e-05/5.961, allocations: 162.3 kB / 2.693 GB, free: 146.4 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002289/5.961, allocations: 247.5 kB / 2.694 GB, free: 146.2 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.546e-05/5.961, allocations: 33.7 kB / 2.694 GB, free: 146.1 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 8.316e-05/5.961, allocations: 152.1 kB / 2.694 GB, free: 146 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 3.484e-05/5.961, allocations: 43.34 kB / 2.694 GB, free: 145.9 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.085e-05/5.961, allocations: 4 kB / 2.694 GB, free: 145.9 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 6.962e-05/5.961, allocations: 342.8 kB / 2.694 GB, free: 145.6 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.022e-05/5.961, allocations: 47.97 kB / 2.694 GB, free: 145.5 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00013/5.962, allocations: 147.1 kB / 2.694 GB, free: 145.4 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000101/5.962, allocations: 67.97 kB / 2.694 GB, free: 145.3 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/5.962, allocations: 0 / 2.694 GB, free: 145.3 MB / 0.6823 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.00033/5.962, allocations: 209.1 kB / 2.695 GB, free: 145.1 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.955e-05/5.962, allocations: 8.25 kB / 2.695 GB, free: 145.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.133e-06/5.962, allocations: 4 kB / 2.695 GB, free: 145.1 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.818e-05/5.962, allocations: 4 kB / 2.695 GB, free: 145.1 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001918/5.962, allocations: 43.91 kB / 2.695 GB, free: 145 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.688e-06/5.962, allocations: 4 kB / 2.695 GB, free: 145 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002155/5.963, allocations: 35.67 kB / 2.695 GB, free: 145 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.006e-05/5.963, allocations: 15.98 kB / 2.695 GB, free: 145 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 18 * 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 6.847e-05/5.963, allocations: 120.9 kB / 2.695 GB, free: 144.9 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001441/5.963, allocations: 23.72 kB / 2.695 GB, free: 144.8 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003124/5.963, allocations: 170 kB / 2.695 GB, free: 144.6 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.438e-06/5.963, allocations: 4 kB / 2.695 GB, free: 144.6 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/5.963, allocations: 0 / 2.695 GB, free: 144.6 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.498e-06/5.963, allocations: 0 / 2.695 GB, free: 144.6 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006703/5.964, allocations: 0.8159 MB / 2.696 GB, free: 143.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.737e-06/5.964, allocations: 4 kB / 2.696 GB, free: 143.7 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001208/5.964, allocations: 27.92 kB / 2.696 GB, free: 143.7 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.23e-06/5.964, allocations: 3.984 kB / 2.696 GB, free: 143.7 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.278e-05/5.964, allocations: 4 kB / 2.696 GB, free: 143.7 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.454e-06/5.964, allocations: 0 / 2.696 GB, free: 143.7 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/5.964, allocations: 12.11 kB / 2.696 GB, free: 143.7 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003902/5.964, allocations: 348 kB / 2.696 GB, free: 143.3 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001053/5.965, allocations: 124.7 kB / 2.696 GB, free: 143.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.851e-05/5.965, allocations: 8 kB / 2.696 GB, free: 143.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001705/5.965, allocations: 11.98 kB / 2.696 GB, free: 143.1 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.647e-05/5.965, allocations: 16 kB / 2.696 GB, free: 143.1 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.935e-06/5.965, allocations: 8 kB / 2.696 GB, free: 143.1 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0001923/5.965, allocations: 227.1 kB / 2.697 GB, free: 142.9 MB / 0.6823 GB Notification: Performance of sort global known variables: time 9.52e-07/5.965, allocations: 0 / 2.697 GB, free: 142.9 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0007966/5.966, allocations: 187.8 kB / 2.697 GB, free: 142.7 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 1 (senStr.s) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 10 * 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.002125/5.968, allocations: 2.166 MB / 2.699 GB, free: 140.5 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0003153/5.968, allocations: 115.8 kB / 2.699 GB, free: 140.4 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.427e-06/5.968, allocations: 0.5 kB / 2.699 GB, free: 140.4 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 6.616e-05/5.968, allocations: 43.94 kB / 2.699 GB, free: 140.3 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000647/5.969, allocations: 125.7 kB / 2.699 GB, free: 140.2 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008974/5.97, allocations: 465.6 kB / 2.7 GB, free: 139.7 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001813/5.97, allocations: 0.7638 MB / 2.7 GB, free: 138.9 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0002177/5.97, allocations: 67.14 kB / 2.7 GB, free: 138.9 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.834e-05/5.971, allocations: 75.41 kB / 2.7 GB, free: 138.8 MB / 0.6823 GB Notification: Performance of SimCode: time 6.81e-07/5.971, allocations: 0 / 2.7 GB, free: 138.8 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04925/6.02, allocations: 25.96 MB / 2.726 GB, free: 112.9 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002053/6.02, allocations: 178.9 kB / 2.726 GB, free: 112.7 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.624/8.644, allocations: 0 / 2.726 GB, free: 112.7 MB / 0.6823 GB (rm -f IDEAS_IDEAS.Fluid.Sensors.Examples.SpecificEntropy.pipe ; mkfifo IDEAS_IDEAS.Fluid.Sensors.Examples.SpecificEntropy.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Sensors.Examples.SpecificEntropy.pipe >> ../files/IDEAS_IDEAS.Fluid.Sensors.Examples.SpecificEntropy.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Sensors_Examples_SpecificEntropy_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Sensors_Examples_SpecificEntropy.fmu > IDEAS_IDEAS.Fluid.Sensors.Examples.SpecificEntropy.pipe 2>&1)