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.001236/0.001236, allocations: 175.1 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.7629/0.7629, allocations: 133.4 MB / 146.7 MB, free: 10.74 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.726/1.726, allocations: 221.3 MB / 400.4 MB, free: 5.766 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.0009469/0.0009468, allocations: 87.91 kB / 483.3 MB, free: 5.824 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 5.077e-05/5.108e-05, allocations: 7.906 kB / 0.5601 GB, free: 87.8 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1627/0.1628, allocations: 82.31 MB / 0.6405 GB, free: 7.684 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.524/5.686, allocations: 1.936 GB / 2.576 GB, free: 199.7 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002895/5.687, allocations: 89.84 kB / 2.576 GB, free: 199.7 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 2.225/7.912, allocations: 0.6647 GB / 3.241 GB, free: 65.34 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.104e-06/7.912, allocations: 3.938 kB / 3.241 GB, free: 65.34 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 7.859e-05/7.912, allocations: 31.98 kB / 3.241 GB, free: 65.3 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.002505/7.915, allocations: 1.33 MB / 3.242 GB, free: 63.93 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.579e-05/7.915, allocations: 12.03 kB / 3.242 GB, free: 63.91 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001543/7.915, allocations: 139.6 kB / 3.242 GB, free: 63.77 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001275/7.916, allocations: 256.7 kB / 3.243 GB, free: 63.52 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002117/7.919, allocations: 1.109 MB / 3.244 GB, free: 62.37 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.371e-05/7.919, allocations: 74 kB / 3.244 GB, free: 62.3 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001256/7.919, allocations: 104 kB / 3.244 GB, free: 62.2 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001409/7.92, allocations: 1.096 MB / 3.245 GB, free: 61.03 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.365e-05/7.92, allocations: 4 kB / 3.245 GB, free: 61.02 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.695e-05/7.92, allocations: 39.94 kB / 3.245 GB, free: 60.98 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.373e-05/7.92, allocations: 34 kB / 3.245 GB, free: 60.95 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001048/7.921, allocations: 0.8237 MB / 3.246 GB, free: 60.13 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.004598/7.926, allocations: 5.698 MB / 3.251 GB, free: 53.98 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006234/7.927, allocations: 0.5366 MB / 3.252 GB, free: 53.43 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003431/7.927, allocations: 298.6 kB / 3.252 GB, free: 53.14 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004642/7.927, allocations: 307.7 kB / 3.252 GB, free: 52.79 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.675e-05/7.927, allocations: 39 kB / 3.252 GB, free: 52.73 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=49): time 2.504e-06/7.927, allocations: 0 / 3.252 GB, free: 52.73 MB / 0.6823 GB Notification: Performance of matching and sorting (n=49): time 0.001041/7.929, allocations: 0.5809 MB / 3.253 GB, free: 52.14 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.925e-05/7.929, allocations: 55.84 kB / 3.253 GB, free: 52.08 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006521/7.929, allocations: 0.6449 MB / 3.254 GB, free: 51.43 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 4.495e-05/7.929, allocations: 41.7 kB / 3.254 GB, free: 51.38 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002213/7.93, allocations: 0.5027 MB / 3.254 GB, free: 50.87 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001076/7.93, allocations: 185.3 kB / 3.254 GB, free: 50.68 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.62e-05/7.93, allocations: 12 kB / 3.254 GB, free: 50.67 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 6.749e-05/7.93, allocations: 334 kB / 3.255 GB, free: 50.34 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003006/7.93, allocations: 237.5 kB / 3.255 GB, free: 50.11 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004491/7.93, allocations: 0.5672 MB / 3.256 GB, free: 49.39 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004104/7.931, allocations: 355.6 kB / 3.256 GB, free: 49.04 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.059e-06/7.931, allocations: 4 kB / 3.256 GB, free: 49.04 MB / 0.6823 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001005/7.932, allocations: 0.8233 MB / 3.257 GB, free: 48.21 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.056e-05/7.932, allocations: 11.95 kB / 3.257 GB, free: 48.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.047e-05/7.932, allocations: 8 kB / 3.257 GB, free: 48.19 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.525e-05/7.932, allocations: 12 kB / 3.257 GB, free: 48.18 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005315/7.933, allocations: 159.7 kB / 3.257 GB, free: 48.02 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.7e-05/7.933, allocations: 15.94 kB / 3.257 GB, free: 48.01 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009213/7.934, allocations: 139.2 kB / 3.257 GB, free: 47.87 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.254e-05/7.934, allocations: 36 kB / 3.257 GB, free: 47.84 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.0001231/7.934, allocations: 148.8 kB / 3.257 GB, free: 47.68 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000104/7.934, allocations: 90.81 kB / 3.257 GB, free: 47.59 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008912/7.935, allocations: 0.6059 MB / 3.258 GB, free: 46.98 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.35e-06/7.935, allocations: 4 kB / 3.258 GB, free: 46.97 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.53e-06/7.935, allocations: 4 kB / 3.258 GB, free: 46.97 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000635/7.935, allocations: 0.5016 MB / 3.258 GB, free: 46.46 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002153/7.938, allocations: 1.644 MB / 3.26 GB, free: 44.73 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.506e-06/7.938, allocations: 0 / 3.26 GB, free: 44.73 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004895/7.938, allocations: 107.9 kB / 3.26 GB, free: 44.63 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.317e-06/7.938, allocations: 4 kB / 3.26 GB, free: 44.62 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.654e-05/7.938, allocations: 19.98 kB / 3.26 GB, free: 44.61 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.69e-06/7.938, allocations: 7.938 kB / 3.26 GB, free: 44.6 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.375e-06/7.938, allocations: 0 / 3.26 GB, free: 44.6 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001099/7.939, allocations: 1.113 MB / 3.261 GB, free: 43.4 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003359/7.94, allocations: 216 kB / 3.261 GB, free: 43.17 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.367e-05/7.94, allocations: 19.98 kB / 3.261 GB, free: 43.15 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005589/7.94, allocations: 67.72 kB / 3.261 GB, free: 43.08 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.279e-05/7.94, allocations: 35.92 kB / 3.262 GB, free: 43.05 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.06e-05/7.94, allocations: 19.98 kB / 3.262 GB, free: 43.03 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0005066/7.941, allocations: 0.4952 MB / 3.262 GB, free: 42.54 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.91e-07/7.941, allocations: 0 / 3.262 GB, free: 42.54 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001633/7.943, allocations: 479.3 kB / 3.262 GB, free: 42.07 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.004149/7.947, allocations: 3.945 MB / 3.266 GB, free: 37.98 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0009281/7.948, allocations: 0.5848 MB / 3.267 GB, free: 37.39 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/7.948, allocations: 0 / 3.267 GB, free: 37.39 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0002776/7.948, allocations: 267.5 kB / 3.267 GB, free: 37.13 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002004/7.95, allocations: 425.8 kB / 3.268 GB, free: 36.72 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002872/7.953, allocations: 1.793 MB / 3.269 GB, free: 34.87 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004551/7.953, allocations: 1.139 MB / 3.27 GB, free: 33.71 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0007773/7.954, allocations: 271.1 kB / 3.271 GB, free: 33.44 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003697/7.954, allocations: 367.2 kB / 3.271 GB, free: 33.08 MB / 0.6823 GB Notification: Performance of SimCode: time 8.72e-07/7.954, allocations: 0 / 3.271 GB, free: 33.08 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5169/8.471, allocations: 56.25 MB / 3.326 GB, free: 123.3 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000171/8.472, allocations: 187.8 kB / 3.326 GB, free: 123 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.903/12.37, allocations: 1.891 kB / 3.326 GB, free: 123 MB / 0.698 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)