Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Sensors.Examples.TraceSubstances.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.TraceSubstances,fileNamePrefix="IDEAS_IDEAS_Fluid_Sensors_Examples_TraceSubstances",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sensors.Examples.TraceSubstances,fileNamePrefix="IDEAS_IDEAS_Fluid_Sensors_Examples_TraceSubstances",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.001784/0.001784, 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.9167/0.9167, 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.624/1.624, allocations: 221.5 MB / 395.5 MB, free: 10.8 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.001017/0.001017, allocations: 97.38 kB / 478.2 MB, free: 1.293 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.764e-05/2.768e-05, allocations: 8 kB / 0.5536 GB, free: 8.938 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4864/0.4865, allocations: 82.29 MB / 0.6339 GB, free: 40.8 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.213/5.699, allocations: 1.935 GB / 2.569 GB, free: 101.5 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003372/5.699, allocations: 87.95 kB / 2.569 GB, free: 101.4 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 2.798/8.497, allocations: 0.6572 GB / 3.226 GB, free: 109.1 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.745e-06/8.497, allocations: 3.375 kB / 3.226 GB, free: 109.1 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001421/8.497, allocations: 34.06 kB / 3.226 GB, free: 109.1 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: 226 * Number of variables: 226 Notification: Performance of Generate backend data structure: time 0.004017/8.501, allocations: 1.335 MB / 3.227 GB, free: 108.6 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.039e-05/8.501, allocations: 10.5 kB / 3.227 GB, free: 108.6 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002039/8.503, allocations: 245.2 kB / 3.228 GB, free: 108.6 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003934/8.507, allocations: 1.107 MB / 3.229 GB, free: 108.3 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.609e-05/8.508, allocations: 29.47 kB / 3.229 GB, free: 108.3 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000334/8.508, allocations: 59.72 kB / 3.229 GB, free: 108.3 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001844/8.51, allocations: 0.7518 MB / 3.23 GB, free: 108.3 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001989/8.512, allocations: 0.9806 MB / 3.231 GB, free: 108.1 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.689e-05/8.512, allocations: 10.5 kB / 3.231 GB, free: 108.1 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.903e-05/8.512, allocations: 3.688 kB / 3.231 GB, free: 108.1 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.511e-05/8.512, allocations: 31.47 kB / 3.231 GB, free: 108.1 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.006243/8.518, allocations: 5.501 MB / 3.236 GB, free: 104.4 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008046/8.519, allocations: 0.5038 MB / 3.236 GB, free: 104.4 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003619/8.519, allocations: 285 kB / 3.237 GB, free: 104.4 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005392/8.52, allocations: 313.9 kB / 3.237 GB, free: 104.1 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.773e-05/8.52, allocations: 36.75 kB / 3.237 GB, free: 104.1 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=49): time 3.516e-06/8.52, allocations: 0 / 3.237 GB, free: 104.1 MB / 0.6823 GB Notification: Performance of matching and sorting (n=49): time 0.001462/8.521, allocations: 0.5768 MB / 3.238 GB, free: 104 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.709e-05/8.522, allocations: 55.03 kB / 3.238 GB, free: 103.9 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007568/8.522, allocations: 0.5219 MB / 3.238 GB, free: 103.8 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 7.685e-05/8.522, allocations: 29.39 kB / 3.238 GB, free: 103.8 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003335/8.523, allocations: 0.508 MB / 3.239 GB, free: 103.6 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001692/8.523, allocations: 175.5 kB / 3.239 GB, free: 103.5 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.091e-05/8.523, allocations: 0 / 3.239 GB, free: 103.5 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001192/8.523, allocations: 384 kB / 3.239 GB, free: 103.2 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003109/8.523, allocations: 222.9 kB / 3.239 GB, free: 103.2 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005187/8.524, allocations: 0.5527 MB / 3.24 GB, free: 102.8 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005787/8.524, allocations: 352.6 kB / 3.24 GB, free: 102.8 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.488e-06/8.525, allocations: 9.828 kB / 3.24 GB, free: 102.8 MB / 0.6823 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001333/8.526, allocations: 0.7658 MB / 3.241 GB, free: 102.7 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.398e-05/8.526, allocations: 7.5 kB / 3.241 GB, free: 102.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.707e-05/8.526, allocations: 11.34 kB / 3.241 GB, free: 102.7 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.113e-05/8.526, allocations: 11.53 kB / 3.241 GB, free: 102.7 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005908/8.527, allocations: 156.9 kB / 3.241 GB, free: 102.7 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.779e-05/8.527, allocations: 18.36 kB / 3.241 GB, free: 102.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00111/8.528, allocations: 109.7 kB / 3.241 GB, free: 102.7 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.832e-05/8.528, allocations: 35.52 kB / 3.241 GB, free: 102.7 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 36 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (86): * Single equations (assignments): 86 * 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.0001839/8.528, allocations: 133.5 kB / 3.242 GB, free: 102.6 MB / 0.6823 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0008753/8.529, allocations: 0.5449 MB / 3.242 GB, free: 102.5 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001572/8.529, allocations: 77.53 kB / 3.242 GB, free: 102.4 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001001/8.53, allocations: 0.5825 MB / 3.243 GB, free: 102.4 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.641e-06/8.53, allocations: 3.906 kB / 3.243 GB, free: 102.4 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.162e-05/8.53, allocations: 3.75 kB / 3.243 GB, free: 102.4 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007115/8.531, allocations: 0.5057 MB / 3.243 GB, free: 102.3 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00259/8.533, allocations: 1.523 MB / 3.245 GB, free: 102 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.441e-06/8.533, allocations: 3.906 kB / 3.245 GB, free: 102 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005224/8.534, allocations: 115 kB / 3.245 GB, free: 102 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.257e-05/8.534, allocations: 7.578 kB / 3.245 GB, free: 102 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.929e-05/8.534, allocations: 5.719 kB / 3.245 GB, free: 102 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.317e-06/8.534, allocations: 3.938 kB / 3.245 GB, free: 102 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.687e-06/8.534, allocations: 11.44 kB / 3.245 GB, free: 102 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001334/8.535, allocations: 1.093 MB / 3.246 GB, free: 101.6 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004626/8.536, allocations: 219.3 kB / 3.246 GB, free: 101.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001665/8.536, allocations: 3.594 kB / 3.246 GB, free: 101.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007299/8.537, allocations: 62.25 kB / 3.246 GB, free: 101.5 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.473e-05/8.537, allocations: 30.73 kB / 3.246 GB, free: 101.5 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.861e-05/8.537, allocations: 17.66 kB / 3.246 GB, free: 101.5 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0005278/8.538, allocations: 402.6 kB / 3.247 GB, free: 101.4 MB / 0.6823 GB Notification: Performance of sort global known variables: time 2.61e-07/8.538, allocations: 0 / 3.247 GB, free: 101.4 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001576/8.539, allocations: 410.9 kB / 3.247 GB, free: 101.4 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 4 (vol.dynBal.U,vol.dynBal.m,vol.dynBal.mXi[1],vol.dynBal.mC[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (49): * Single equations (assignments): 49 * 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.004565/8.544, allocations: 4.15 MB / 3.251 GB, free: 99.52 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.000903/8.545, allocations: 0.5519 MB / 3.252 GB, free: 99.51 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 4.729e-06/8.545, allocations: 2.781 kB / 3.252 GB, free: 99.51 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0002993/8.545, allocations: 251.5 kB / 3.252 GB, free: 99.51 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001974/8.547, allocations: 375 kB / 3.252 GB, free: 99.5 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003909/8.551, allocations: 1.717 MB / 3.254 GB, free: 99.04 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007086/8.552, allocations: 1.142 MB / 3.255 GB, free: 98.34 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0009489/8.553, allocations: 255.9 kB / 3.255 GB, free: 98.33 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000505/8.553, allocations: 361.7 kB / 3.256 GB, free: 98.32 MB / 0.6823 GB Notification: Performance of SimCode: time 2.354e-06/8.553, allocations: 0 / 3.256 GB, free: 98.32 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06232/8.615, allocations: 34.46 MB / 3.289 GB, free: 97.34 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001466/8.616, allocations: 154.3 kB / 3.289 GB, free: 97.14 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.155/11.77, allocations: 3.844 kB / 3.289 GB, free: 97.14 MB / 0.6823 GB (rm -f IDEAS_IDEAS.Fluid.Sensors.Examples.TraceSubstances.pipe ; mkfifo IDEAS_IDEAS.Fluid.Sensors.Examples.TraceSubstances.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Sensors.Examples.TraceSubstances.pipe >> ../files/IDEAS_IDEAS.Fluid.Sensors.Examples.TraceSubstances.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Sensors_Examples_TraceSubstances_fmu --startTime=0 --stopTime=7200 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Sensors_Examples_TraceSubstances.fmu > IDEAS_IDEAS.Fluid.Sensors.Examples.TraceSubstances.pipe 2>&1)