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.001379/0.001379, allocations: 174.6 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.7333/0.7333, 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.567/1.567, allocations: 221.3 MB / 400.4 MB, free: 5.871 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.0009177/0.0009178, allocations: 101.4 kB / 483.3 MB, free: 5.875 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 4.639e-05/4.645e-05, allocations: 3.625 kB / 0.5601 GB, free: 87.86 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1378/0.1378, allocations: 82.32 MB / 0.6405 GB, free: 7.734 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.392/5.53, allocations: 1.936 GB / 2.576 GB, free: 202.2 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002461/5.53, allocations: 87.98 kB / 2.576 GB, free: 202.2 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 2.415/7.944, allocations: 0.6647 GB / 3.241 GB, free: 76.99 MB / 0.6823 GB Notification: Performance of FrontEnd: time 3.136e-06/7.945, allocations: 0 / 3.241 GB, free: 76.99 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001029/7.945, allocations: 30.67 kB / 3.241 GB, free: 76.96 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.004153/7.949, allocations: 1.333 MB / 3.242 GB, free: 75.57 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 6.065e-05/7.949, allocations: 12.03 kB / 3.242 GB, free: 75.56 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002608/7.949, allocations: 143.6 kB / 3.242 GB, free: 75.41 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002199/7.951, allocations: 248.8 kB / 3.243 GB, free: 75.17 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003808/7.955, allocations: 1.104 MB / 3.244 GB, free: 74.03 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.254e-05/7.955, allocations: 74 kB / 3.244 GB, free: 73.96 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002148/7.956, allocations: 99.89 kB / 3.244 GB, free: 73.86 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002425/7.958, allocations: 1.111 MB / 3.245 GB, free: 72.68 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.207e-05/7.958, allocations: 0 / 3.245 GB, free: 72.68 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001107/7.958, allocations: 40 kB / 3.245 GB, free: 72.64 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.63e-05/7.958, allocations: 33.98 kB / 3.245 GB, free: 72.61 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00173/7.96, allocations: 0.8275 MB / 3.246 GB, free: 71.78 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.007203/7.967, allocations: 5.705 MB / 3.251 GB, free: 65.62 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001076/7.968, allocations: 0.5249 MB / 3.252 GB, free: 65.09 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005593/7.969, allocations: 298.6 kB / 3.252 GB, free: 64.79 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006929/7.97, allocations: 315.8 kB / 3.252 GB, free: 64.43 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.531e-05/7.97, allocations: 42.95 kB / 3.252 GB, free: 64.38 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=49): time 4.569e-06/7.97, allocations: 0 / 3.252 GB, free: 64.38 MB / 0.6823 GB Notification: Performance of matching and sorting (n=49): time 0.001721/7.971, allocations: 0.5732 MB / 3.253 GB, free: 63.8 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.283e-05/7.971, allocations: 59.84 kB / 3.253 GB, free: 63.72 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001083/7.973, allocations: 0.6449 MB / 3.254 GB, free: 63.07 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 6.684e-05/7.973, allocations: 37.7 kB / 3.254 GB, free: 63.03 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003641/7.973, allocations: 0.4988 MB / 3.254 GB, free: 62.52 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001747/7.973, allocations: 189.3 kB / 3.254 GB, free: 62.33 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.164e-05/7.973, allocations: 12 kB / 3.254 GB, free: 62.32 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 8.856e-05/7.973, allocations: 338 kB / 3.255 GB, free: 61.98 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004943/7.974, allocations: 240.9 kB / 3.255 GB, free: 61.75 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007291/7.975, allocations: 0.5633 MB / 3.256 GB, free: 61.04 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006673/7.975, allocations: 343.3 kB / 3.256 GB, free: 60.7 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.625e-06/7.975, allocations: 4 kB / 3.256 GB, free: 60.7 MB / 0.6823 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001557/7.977, allocations: 0.8188 MB / 3.257 GB, free: 59.87 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.569e-05/7.977, allocations: 8 kB / 3.257 GB, free: 59.86 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.694e-05/7.977, allocations: 11.95 kB / 3.257 GB, free: 59.85 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.357e-05/7.977, allocations: 12.75 kB / 3.257 GB, free: 59.84 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007963/7.978, allocations: 151.8 kB / 3.257 GB, free: 59.69 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.639e-05/7.978, allocations: 23.92 kB / 3.257 GB, free: 59.67 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001402/7.979, allocations: 135 kB / 3.257 GB, free: 59.54 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.69e-05/7.979, allocations: 43.98 kB / 3.257 GB, free: 59.49 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.0001642/7.979, allocations: 148.7 kB / 3.257 GB, free: 59.34 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001429/7.98, allocations: 86.97 kB / 3.257 GB, free: 59.25 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001262/7.981, allocations: 0.602 MB / 3.258 GB, free: 58.64 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.045e-05/7.981, allocations: 11.94 kB / 3.258 GB, free: 58.63 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.925e-06/7.981, allocations: 0 / 3.258 GB, free: 58.63 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001007/7.982, allocations: 0.4939 MB / 3.258 GB, free: 58.13 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003808/7.986, allocations: 1.643 MB / 3.26 GB, free: 56.41 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.03e-05/7.986, allocations: 4 kB / 3.26 GB, free: 56.4 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009278/7.987, allocations: 111.9 kB / 3.26 GB, free: 56.29 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-05/7.987, allocations: 4 kB / 3.26 GB, free: 56.29 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.281e-05/7.987, allocations: 12.22 kB / 3.26 GB, free: 56.28 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-05/7.987, allocations: 12 kB / 3.26 GB, free: 56.27 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.038e-05/7.987, allocations: 11.92 kB / 3.26 GB, free: 56.25 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002252/7.989, allocations: 1.097 MB / 3.261 GB, free: 55.07 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000729/7.99, allocations: 224.2 kB / 3.261 GB, free: 54.83 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001649/7.99, allocations: 16.14 kB / 3.261 GB, free: 54.82 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001036/7.991, allocations: 67.81 kB / 3.261 GB, free: 54.75 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001023/7.991, allocations: 43.83 kB / 3.262 GB, free: 54.71 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.829e-05/7.991, allocations: 16 kB / 3.262 GB, free: 54.69 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001001/7.992, allocations: 0.4991 MB / 3.262 GB, free: 54.2 MB / 0.6823 GB Notification: Performance of sort global known variables: time 2.61e-07/7.992, allocations: 4 kB / 3.262 GB, free: 54.19 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002736/7.995, allocations: 491.2 kB / 3.262 GB, free: 53.71 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.005842/8.001, allocations: 3.923 MB / 3.266 GB, free: 49.65 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001448/8.002, allocations: 0.5849 MB / 3.267 GB, free: 49.07 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 5.891e-06/8.003, allocations: 0 / 3.267 GB, free: 49.07 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0005079/8.003, allocations: 268 kB / 3.267 GB, free: 48.81 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003301/8.006, allocations: 442.8 kB / 3.268 GB, free: 48.39 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004785/8.011, allocations: 1.786 MB / 3.269 GB, free: 46.54 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000746/8.012, allocations: 1.139 MB / 3.27 GB, free: 45.37 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001469/8.013, allocations: 283 kB / 3.271 GB, free: 45.09 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00065/8.014, allocations: 355.3 kB / 3.271 GB, free: 44.74 MB / 0.6823 GB Notification: Performance of SimCode: time 1.313e-06/8.014, allocations: 4 kB / 3.271 GB, free: 44.74 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1157/8.13, allocations: 56.27 MB / 3.326 GB, free: 4.742 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002885/8.13, allocations: 184.1 kB / 3.326 GB, free: 4.516 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.978/12.11, allocations: 3.938 kB / 3.326 GB, free: 4.512 MB / 0.698 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)