Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Fluid.Examples.TraceSubstances.RoomCO2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Fluid.Examples.TraceSubstances.RoomCO2,fileNamePrefix="Modelica_trunk_Modelica_Fluid_Examples_TraceSubstances_RoomCO2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Fluid.Examples.TraceSubstances.RoomCO2,fileNamePrefix="Modelica_trunk_Modelica_Fluid_Examples_TraceSubstances_RoomCO2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00146/0.00146, allocations: 201.5 kB / 17.08 MB, free: 5.062 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.312/1.312, allocations: 227.2 MB / 245 MB, free: 5.777 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009261/0.000926, allocations: 94.66 kB / 297.3 MB, free: 5.961 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002717/0.0002719, allocations: 4 kB / 358 MB, free: 9.219 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2522/0.2525, allocations: 51.48 MB / 409.5 MB, free: 26.71 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.654/7.906, allocations: 3.546 GB / 3.946 GB, free: 117.4 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002338/7.907, allocations: 92.17 kB / 3.946 GB, free: 117.4 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.042/9.949, allocations: 0.5293 GB / 4.475 GB, free: 41.22 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.683e-06/9.949, allocations: 0 / 4.475 GB, free: 41.22 MB / 474.7 MB Notification: Performance of Transformations before backend: time 9.662e-05/9.949, allocations: 33.78 kB / 4.475 GB, free: 41.22 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 228 * Number of variables: 228 Notification: Performance of Generate backend data structure: time 0.01109/9.96, allocations: 2.986 MB / 4.478 GB, free: 39.96 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.68e-05/9.96, allocations: 10.22 kB / 4.478 GB, free: 39.96 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005345/9.961, allocations: 149.2 kB / 4.478 GB, free: 39.92 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004448/9.961, allocations: 132 kB / 4.478 GB, free: 39.86 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001499/9.963, allocations: 0.7185 MB / 4.479 GB, free: 39.63 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.958e-05/9.963, allocations: 137.7 kB / 4.479 GB, free: 39.57 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001364/9.963, allocations: 90.08 kB / 4.479 GB, free: 39.57 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001896/9.965, allocations: 1.448 MB / 4.481 GB, free: 39.33 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.49e-05/9.965, allocations: 0 / 4.481 GB, free: 39.33 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000111/9.965, allocations: 42.08 kB / 4.481 GB, free: 39.33 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.425e-05/9.965, allocations: 64.69 kB / 4.481 GB, free: 39.33 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001824/9.967, allocations: 1.437 MB / 4.482 GB, free: 39.32 MB / 474.7 MB Warning: The model contains alias variables with redundant start and/or conflicting 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.007458/9.974, allocations: 6.054 MB / 4.488 GB, free: 36.37 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001549/9.976, allocations: 0.9679 MB / 4.489 GB, free: 36.34 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001082/9.977, allocations: 1.811 MB / 4.491 GB, free: 34.37 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.229e-05/9.977, allocations: 50.38 kB / 4.491 GB, free: 34.33 MB / 474.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005843/9.978, allocations: 109.3 kB / 4.491 GB, free: 34.3 MB / 474.7 MB Notification: Performance of pre-optimization done (n=84): time 3.086e-06/9.978, allocations: 0 / 4.491 GB, free: 34.3 MB / 474.7 MB Notification: Performance of matching and sorting (n=96): time 0.01651/9.994, allocations: 5.141 MB / 4.496 GB, free: 33.73 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.78e-05/9.994, allocations: 113.8 kB / 4.496 GB, free: 33.61 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009023/9.995, allocations: 0.686 MB / 4.497 GB, free: 33.48 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001324/9.995, allocations: 48.83 kB / 4.497 GB, free: 33.45 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002501/9.996, allocations: 452.3 kB / 4.497 GB, free: 33.24 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002359/9.996, allocations: 335.6 kB / 4.497 GB, free: 33.03 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.632e-05/9.996, allocations: 30.66 kB / 4.497 GB, free: 33.03 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001255/9.996, allocations: 399.2 kB / 4.498 GB, free: 32.72 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001023/9.997, allocations: 0.6035 MB / 4.498 GB, free: 32.71 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001173/9.998, allocations: 0.9393 MB / 4.499 GB, free: 32.33 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001195/10, allocations: 0.7883 MB / 4.5 GB, free: 32.25 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.604e-06/10, allocations: 10.16 kB / 4.5 GB, free: 32.25 MB / 474.7 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.003329/10, allocations: 1.899 MB / 4.502 GB, free: 32.08 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0008404/10, allocations: 3.975 MB / 4.506 GB, free: 27.94 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.583e-05/10, allocations: 10.03 kB / 4.506 GB, free: 27.94 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001637/10.01, allocations: 334.2 kB / 4.506 GB, free: 27.93 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001072/10.01, allocations: 269.5 kB / 4.506 GB, free: 27.93 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001432/10.01, allocations: 0.9315 MB / 4.507 GB, free: 27.41 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001375/10.01, allocations: 117.3 kB / 4.507 GB, free: 27.4 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001505/10.01, allocations: 67.89 kB / 4.507 GB, free: 27.4 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.198e-05/10.01, allocations: 4.938 kB / 4.507 GB, free: 27.4 MB / 474.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003172/10.01, allocations: 1.788 MB / 4.509 GB, free: 27.31 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.315e-05/10.01, allocations: 7.562 kB / 4.509 GB, free: 27.31 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001512/10.01, allocations: 339.6 kB / 4.51 GB, free: 27.3 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009826/10.02, allocations: 265.4 kB / 4.51 GB, free: 27.3 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001321/10.02, allocations: 0.9341 MB / 4.511 GB, free: 26.78 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001309/10.02, allocations: 110.1 kB / 4.511 GB, free: 26.77 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001319/10.02, allocations: 66.75 kB / 4.511 GB, free: 26.77 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * Number of states: 0 () * Number of discrete variables: 6 (traceVolume.ind,traceSource.ind,volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (147): * Single equations (assignments): 144 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 6} Notification: Performance of prepare postOptimizeDAE: time 0.000936/10.02, allocations: 418.4 kB / 4.511 GB, free: 26.58 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001977/10.02, allocations: 98.38 kB / 4.511 GB, free: 26.53 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003394/10.02, allocations: 1.98 MB / 4.513 GB, free: 26.39 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.638e-05/10.02, allocations: 17.12 kB / 4.513 GB, free: 26.39 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.014e-06/10.02, allocations: 0 / 4.513 GB, free: 26.39 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.171e-05/10.02, allocations: 3.75 kB / 4.513 GB, free: 26.39 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004901/10.03, allocations: 3.093 MB / 4.516 GB, free: 25.9 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.544e-06/10.03, allocations: 0 / 4.516 GB, free: 25.9 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008124/10.03, allocations: 186.1 kB / 4.517 GB, free: 25.9 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001849/10.03, allocations: 397.8 kB / 4.517 GB, free: 25.88 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.402e-05/10.03, allocations: 38.98 kB / 4.517 GB, free: 25.88 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001162/10.03, allocations: 0.8919 MB / 4.518 GB, free: 25.36 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.95e-06/10.03, allocations: 6.734 kB / 4.518 GB, free: 25.36 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003776/10.04, allocations: 2.46 MB / 4.52 GB, free: 24.96 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008264/10.04, allocations: 334.8 kB / 4.521 GB, free: 24.81 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001607/10.04, allocations: 27.42 kB / 4.521 GB, free: 24.81 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009504/10.04, allocations: 84.41 kB / 4.521 GB, free: 24.81 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001199/10.04, allocations: 70.55 kB / 4.521 GB, free: 24.8 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001095/10.04, allocations: 60.41 kB / 4.521 GB, free: 24.8 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0006977/10.04, allocations: 0.5441 MB / 4.521 GB, free: 24.71 MB / 474.7 MB Notification: Performance of sort global known variables: time 3.01e-07/10.04, allocations: 0 / 4.521 GB, free: 24.71 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.004936/10.04, allocations: 1.326 MB / 4.523 GB, free: 24.49 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 4 (volume.medium.p,volume.medium.Xi[1],volume.medium.T,volume.mC_scaled[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (99): * Single equations (assignments): 96 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.009574/10.05, allocations: 5.31 MB / 4.528 GB, free: 22.76 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.004955/10.06, allocations: 2.608 MB / 4.53 GB, free: 22.49 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.057e-05/10.06, allocations: 4.125 kB / 4.53 GB, free: 22.49 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001304/10.06, allocations: 0.7312 MB / 4.531 GB, free: 22.47 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002562/10.06, allocations: 0.4941 MB / 4.532 GB, free: 22.46 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01083/10.07, allocations: 10.82 MB / 4.542 GB, free: 29.97 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008292/10.07, allocations: 1.142 MB / 4.543 GB, free: 29.27 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.002176/10.08, allocations: 0.6657 MB / 4.544 GB, free: 29.25 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005781/10.08, allocations: 402.2 kB / 4.544 GB, free: 29.24 MB / 490.7 MB Notification: Performance of SimCode: time 1.503e-06/10.08, allocations: 0 / 4.544 GB, free: 29.24 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09281/10.17, allocations: 60.68 MB / 4.604 GB, free: 23.43 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001876/10.17, allocations: 248.3 kB / 4.604 GB, free: 23.15 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.084/14.25, allocations: 4 kB / 4.604 GB, free: 23.15 MB / 490.7 MB (rm -f Modelica_trunk_Modelica.Fluid.Examples.TraceSubstances.RoomCO2.pipe ; mkfifo Modelica_trunk_Modelica.Fluid.Examples.TraceSubstances.RoomCO2.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Fluid.Examples.TraceSubstances.RoomCO2.pipe >> ../files/Modelica_trunk_Modelica.Fluid.Examples.TraceSubstances.RoomCO2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Fluid.Examples.TraceSubstances.RoomCO2_res.mat --tempDir=temp_Modelica_trunk_Modelica_Fluid_Examples_TraceSubstances_RoomCO2_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Fluid_Examples_TraceSubstances_RoomCO2.fmu > Modelica_trunk_Modelica.Fluid.Examples.TraceSubstances.RoomCO2.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Fluid.Examples.TraceSubstances.RoomCO2_res.mat does not exist to compare? outputFormat=mat