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.001866/0.001866, allocations: 196 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.47/1.47, allocations: 225.4 MB / 240.1 MB, free: 15.05 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001139/0.001139, allocations: 87.78 kB / 292.1 MB, free: 5.941 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.976e-05/2.986e-05, allocations: 4 kB / 350.6 MB, free: 2.422 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1114/0.1115, allocations: 51.48 MB / 402.1 MB, free: 14.9 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 9.279/9.391, allocations: 3.546 GB / 3.938 GB, free: 62.7 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000261/9.391, allocations: 83.95 kB / 3.938 GB, free: 62.62 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.676/12.07, allocations: 0.5283 GB / 4.467 GB, free: 29.5 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.262e-06/12.07, allocations: 0 / 4.467 GB, free: 29.5 MB / 458.7 MB Notification: Performance of Transformations before backend: time 7.659e-05/12.07, allocations: 29.45 kB / 4.467 GB, free: 29.5 MB / 458.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.01274/12.08, allocations: 2.893 MB / 4.47 GB, free: 27.61 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.8e-05/12.08, allocations: 14.25 kB / 4.47 GB, free: 27.6 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002501/12.08, allocations: 150.9 kB / 4.47 GB, free: 27.5 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006953/12.08, allocations: 124.7 kB / 4.47 GB, free: 27.45 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001595/12.08, allocations: 0.7272 MB / 4.471 GB, free: 26.99 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001265/12.08, allocations: 135.2 kB / 4.471 GB, free: 26.9 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001626/12.08, allocations: 91.2 kB / 4.471 GB, free: 26.87 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002449/12.09, allocations: 1.415 MB / 4.472 GB, free: 26.2 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.269e-05/12.09, allocations: 7.438 kB / 4.472 GB, free: 26.2 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001229/12.09, allocations: 42.92 kB / 4.472 GB, free: 26.16 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.119e-05/12.09, allocations: 65.53 kB / 4.472 GB, free: 26.16 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002244/12.09, allocations: 1.411 MB / 4.474 GB, free: 25.69 MB / 458.7 MB 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.008601/12.1, allocations: 6.05 MB / 4.48 GB, free: 21.51 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001956/12.1, allocations: 0.9619 MB / 4.481 GB, free: 21.14 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006999/12.1, allocations: 0.4988 MB / 4.481 GB, free: 20.95 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001399/12.1, allocations: 1.807 MB / 4.483 GB, free: 18.93 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001175/12.1, allocations: 45.34 kB / 4.483 GB, free: 18.88 MB / 458.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006558/12.1, allocations: 112 kB / 4.483 GB, free: 18.81 MB / 458.7 MB Notification: Performance of pre-optimization done (n=84): time 3.046e-06/12.1, allocations: 0 / 4.483 GB, free: 18.81 MB / 458.7 MB Notification: Performance of matching and sorting (n=96): time 0.01462/12.12, allocations: 4.403 MB / 4.487 GB, free: 15.71 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.255e-05/12.12, allocations: 119.6 kB / 4.487 GB, free: 15.57 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001147/12.12, allocations: 0.6814 MB / 4.488 GB, free: 14.95 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000117/12.12, allocations: 45.7 kB / 4.488 GB, free: 14.89 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002978/12.12, allocations: 452.2 kB / 4.488 GB, free: 14.48 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002755/12.12, allocations: 339.3 kB / 4.489 GB, free: 14.18 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.815e-05/12.12, allocations: 24 kB / 4.489 GB, free: 14.15 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001586/12.12, allocations: 403 kB / 4.489 GB, free: 13.78 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008156/12.12, allocations: 0.5533 MB / 4.49 GB, free: 13.27 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001148/12.12, allocations: 0.8945 MB / 4.491 GB, free: 12.3 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001086/12.12, allocations: 0.7364 MB / 4.491 GB, free: 11.65 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.7e-06/12.12, allocations: 0 / 4.491 GB, free: 11.65 MB / 458.7 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.003039/12.12, allocations: 1.769 MB / 4.493 GB, free: 10.05 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001159/12.13, allocations: 3.975 MB / 4.497 GB, free: 5.766 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.08e-05/12.13, allocations: 8 kB / 4.497 GB, free: 5.758 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001148/12.13, allocations: 253.8 kB / 4.497 GB, free: 5.562 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001031/12.13, allocations: 273 kB / 4.497 GB, free: 5.332 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001175/12.13, allocations: 0.8135 MB / 4.498 GB, free: 20.53 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00135/12.13, allocations: 110.9 kB / 4.498 GB, free: 20.44 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001571/12.13, allocations: 71.44 kB / 4.498 GB, free: 20.38 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.418e-05/12.13, allocations: 4 kB / 4.498 GB, free: 20.38 MB / 474.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002688/12.13, allocations: 1.653 MB / 4.5 GB, free: 18.89 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.261e-05/12.13, allocations: 11.84 kB / 4.5 GB, free: 18.88 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009808/12.13, allocations: 243.8 kB / 4.5 GB, free: 18.69 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001018/12.14, allocations: 279.2 kB / 4.501 GB, free: 18.46 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008497/12.14, allocations: 0.8095 MB / 4.501 GB, free: 17.66 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001433/12.14, allocations: 109.3 kB / 4.501 GB, free: 17.57 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001467/12.14, allocations: 73.42 kB / 4.502 GB, free: 17.51 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 () * 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.0005304/12.14, allocations: 182.4 kB / 4.502 GB, free: 17.32 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002283/12.14, allocations: 98.88 kB / 4.502 GB, free: 17.23 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00337/12.14, allocations: 1.841 MB / 4.504 GB, free: 15.68 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.654e-05/12.14, allocations: 11.33 kB / 4.504 GB, free: 15.68 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.767e-06/12.14, allocations: 0 / 4.504 GB, free: 15.68 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.425e-05/12.14, allocations: 3.891 kB / 4.504 GB, free: 15.68 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005584/12.15, allocations: 2.97 MB / 4.506 GB, free: 13.12 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.301e-05/12.15, allocations: 7.797 kB / 4.506 GB, free: 13.12 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008796/12.15, allocations: 187.9 kB / 4.507 GB, free: 12.93 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001454/12.15, allocations: 308.5 kB / 4.507 GB, free: 12.63 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.433e-05/12.15, allocations: 35.92 kB / 4.507 GB, free: 12.59 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009354/12.15, allocations: 0.7865 MB / 4.508 GB, free: 11.78 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.909e-06/12.15, allocations: 4.031 kB / 4.508 GB, free: 11.78 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003822/12.15, allocations: 2.276 MB / 4.51 GB, free: 9.418 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009593/12.16, allocations: 339.7 kB / 4.51 GB, free: 9.066 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001594/12.16, allocations: 24 kB / 4.51 GB, free: 9.043 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009801/12.16, allocations: 87.83 kB / 4.51 GB, free: 8.957 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001586/12.16, allocations: 72.8 kB / 4.51 GB, free: 8.887 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001377/12.16, allocations: 55.95 kB / 4.511 GB, free: 8.832 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0008529/12.16, allocations: 0.5382 MB / 4.511 GB, free: 8.297 MB / 474.7 MB Notification: Performance of sort global known variables: time 3.7e-07/12.16, allocations: 4 kB / 4.511 GB, free: 8.293 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.006058/12.16, allocations: 1.331 MB / 4.512 GB, free: 6.961 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 () * 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.01149/12.18, allocations: 5.126 MB / 4.517 GB, free: 1.801 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.4571/12.63, allocations: 2.479 MB / 4.52 GB, free: 46.58 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.797e-05/12.63, allocations: 3.656 kB / 4.52 GB, free: 46.58 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001443/12.63, allocations: 0.6754 MB / 4.52 GB, free: 46.58 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002992/12.64, allocations: 497.1 kB / 4.521 GB, free: 46.58 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008836/12.65, allocations: 2.656 MB / 4.524 GB, free: 46.23 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006793/12.65, allocations: 1.142 MB / 4.525 GB, free: 45.53 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.00248/12.65, allocations: 0.7419 MB / 4.525 GB, free: 45.52 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006553/12.65, allocations: 404 kB / 4.526 GB, free: 45.52 MB / 474.7 MB Notification: Performance of SimCode: time 2.265e-06/12.65, allocations: 0 / 4.526 GB, free: 45.52 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1542/12.8, allocations: 64.9 MB / 4.589 GB, free: 43.43 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002286/12.8, allocations: 223.3 kB / 4.589 GB, free: 43.2 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.816/17.62, allocations: 0 / 4.589 GB, free: 43.2 MB / 474.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