Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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_dev_IDEAS_Fluid_Sensors_Examples_TraceSubstances",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sensors.Examples.TraceSubstances,fileNamePrefix="IDEAS_dev_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.002007/0.002007, allocations: 180.9 kB / 7.651 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.7831/0.7831, allocations: 133.6 MB / 141.6 MB, free: 2.84 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.455/1.455, allocations: 221.5 MB / 395.5 MB, free: 10.75 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.000913/0.0009129, allocations: 100.8 kB / 478.2 MB, free: 1.293 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.057e-05/2.073e-05, allocations: 8 kB / 0.5535 GB, free: 8.949 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4753/0.4754, allocations: 82.31 MB / 0.6339 GB, free: 40.76 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.992/5.467, allocations: 1.935 GB / 2.569 GB, free: 63.05 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000288/5.467, allocations: 92.81 kB / 2.569 GB, free: 63 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 2.818/8.286, allocations: 0.6572 GB / 3.226 GB, free: 115.2 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.394e-06/8.286, allocations: 0 / 3.226 GB, free: 115.2 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001314/8.286, allocations: 35.25 kB / 3.226 GB, free: 115.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: 226 * Number of variables: 226 Notification: Performance of Generate backend data structure: time 0.003881/8.29, allocations: 1.332 MB / 3.227 GB, free: 114.6 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.279e-05/8.29, allocations: 10.41 kB / 3.227 GB, free: 114.6 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001913/8.292, allocations: 250.4 kB / 3.228 GB, free: 114.5 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003081/8.295, allocations: 1.109 MB / 3.229 GB, free: 114.3 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.644e-05/8.295, allocations: 30.19 kB / 3.229 GB, free: 114.3 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002366/8.295, allocations: 59.19 kB / 3.229 GB, free: 114.3 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001361/8.296, allocations: 0.7495 MB / 3.23 GB, free: 114.3 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001362/8.298, allocations: 0.9769 MB / 3.231 GB, free: 114.1 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.834e-05/8.298, allocations: 0 / 3.231 GB, free: 114.1 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.899e-05/8.298, allocations: 7.781 kB / 3.231 GB, free: 114.1 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.019e-05/8.298, allocations: 35.72 kB / 3.231 GB, free: 114.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.004729/8.303, allocations: 5.512 MB / 3.236 GB, free: 110.4 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006284/8.303, allocations: 0.5083 MB / 3.236 GB, free: 110.4 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003372/8.304, allocations: 286.9 kB / 3.237 GB, free: 110.4 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000499/8.304, allocations: 307.8 kB / 3.237 GB, free: 110.1 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.574e-05/8.304, allocations: 43.03 kB / 3.237 GB, free: 110.1 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=49): time 1.973e-06/8.304, allocations: 0 / 3.237 GB, free: 110.1 MB / 0.6823 GB Notification: Performance of matching and sorting (n=49): time 0.00127/8.306, allocations: 0.573 MB / 3.238 GB, free: 110 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.767e-05/8.306, allocations: 59 kB / 3.238 GB, free: 109.9 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006439/8.306, allocations: 0.5174 MB / 3.238 GB, free: 109.8 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 5.135e-05/8.306, allocations: 29.61 kB / 3.238 GB, free: 109.8 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003472/8.307, allocations: 0.5061 MB / 3.239 GB, free: 109.6 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001656/8.307, allocations: 173.5 kB / 3.239 GB, free: 109.5 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.593e-05/8.307, allocations: 0 / 3.239 GB, free: 109.5 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.000134/8.307, allocations: 387 kB / 3.239 GB, free: 109.1 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002984/8.307, allocations: 222.2 kB / 3.239 GB, free: 109.1 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005281/8.308, allocations: 0.5526 MB / 3.24 GB, free: 108.7 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005567/8.308, allocations: 354.6 kB / 3.24 GB, free: 108.7 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.792e-06/8.308, allocations: 3.969 kB / 3.24 GB, free: 108.7 MB / 0.6823 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001164/8.31, allocations: 0.7684 MB / 3.241 GB, free: 108.7 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.49e-05/8.31, allocations: 5.812 kB / 3.241 GB, free: 108.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.244e-05/8.31, allocations: 11.94 kB / 3.241 GB, free: 108.7 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.268e-05/8.31, allocations: 13.94 kB / 3.241 GB, free: 108.7 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006223/8.31, allocations: 161.4 kB / 3.241 GB, free: 108.7 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.618e-05/8.31, allocations: 13.19 kB / 3.241 GB, free: 108.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001019/8.311, allocations: 106.7 kB / 3.241 GB, free: 108.6 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.433e-05/8.311, allocations: 34.78 kB / 3.241 GB, free: 108.6 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.0001818/8.312, allocations: 135.6 kB / 3.242 GB, free: 108.5 MB / 0.6823 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0009279/8.313, allocations: 0.5446 MB / 3.242 GB, free: 108.5 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001036/8.313, allocations: 77.53 kB / 3.242 GB, free: 108.4 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001078/8.314, allocations: 0.5739 MB / 3.243 GB, free: 108.4 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.073e-05/8.314, allocations: 8.781 kB / 3.243 GB, free: 108.4 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.917e-06/8.314, allocations: 0 / 3.243 GB, free: 108.4 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000732/8.315, allocations: 0.5013 MB / 3.243 GB, free: 108.3 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002767/8.317, allocations: 1.529 MB / 3.245 GB, free: 107.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.169e-06/8.317, allocations: 3.906 kB / 3.245 GB, free: 107.9 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005243/8.318, allocations: 115.4 kB / 3.245 GB, free: 107.9 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.788e-06/8.318, allocations: 6.5 kB / 3.245 GB, free: 107.9 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.64e-05/8.318, allocations: 7.469 kB / 3.245 GB, free: 107.9 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.962e-06/8.318, allocations: 7.734 kB / 3.245 GB, free: 107.9 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.208e-06/8.318, allocations: 6.688 kB / 3.245 GB, free: 107.9 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001238/8.319, allocations: 1.087 MB / 3.246 GB, free: 107.6 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004042/8.32, allocations: 217.8 kB / 3.246 GB, free: 107.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.721e-05/8.32, allocations: 7.578 kB / 3.246 GB, free: 107.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005824/8.32, allocations: 60.22 kB / 3.246 GB, free: 107.4 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.208e-05/8.32, allocations: 32.39 kB / 3.246 GB, free: 107.4 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.723e-05/8.32, allocations: 21.31 kB / 3.246 GB, free: 107.4 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0004678/8.321, allocations: 398.2 kB / 3.247 GB, free: 107.4 MB / 0.6823 GB Notification: Performance of sort global known variables: time 4.91e-07/8.321, allocations: 0 / 3.247 GB, free: 107.4 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001433/8.322, allocations: 417 kB / 3.247 GB, free: 107.3 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.004227/8.327, allocations: 4.154 MB / 3.251 GB, free: 105.5 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0009511/8.328, allocations: 0.5447 MB / 3.252 GB, free: 105.5 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 6.152e-06/8.328, allocations: 2.75 kB / 3.252 GB, free: 105.5 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0002851/8.328, allocations: 256.6 kB / 3.252 GB, free: 105.5 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001906/8.33, allocations: 356.9 kB / 3.252 GB, free: 105.5 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003446/8.333, allocations: 1.728 MB / 3.254 GB, free: 105 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005685/8.334, allocations: 1.148 MB / 3.255 GB, free: 104.3 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0009846/8.335, allocations: 255.3 kB / 3.255 GB, free: 104.3 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004766/8.335, allocations: 356.3 kB / 3.256 GB, free: 104.3 MB / 0.6823 GB Notification: Performance of SimCode: time 1.863e-06/8.335, allocations: 0 / 3.256 GB, free: 104.3 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06213/8.398, allocations: 34.46 MB / 3.289 GB, free: 102.7 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001543/8.398, allocations: 162.4 kB / 3.289 GB, free: 102.5 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.12/11.52, allocations: 2.625 kB / 3.289 GB, free: 102.5 MB / 0.6823 GB (rm -f IDEAS_dev_IDEAS.Fluid.Sensors.Examples.TraceSubstances.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Sensors.Examples.TraceSubstances.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Sensors.Examples.TraceSubstances.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Sensors.Examples.TraceSubstances.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Sensors_Examples_TraceSubstances_fmu --startTime=0 --stopTime=7200 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Sensors_Examples_TraceSubstances.fmu > IDEAS_dev_IDEAS.Fluid.Sensors.Examples.TraceSubstances.pipe 2>&1)