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/ModelicaServices trunk/package.mo", uses=false) 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) 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices trunk/package.mo): time 0.001228/0.001229, allocations: 118.2 kB / 17.78 MB, free: 5.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001252/0.001252, allocations: 205.2 kB / 18.74 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.36/1.36, allocations: 227.4 MB / 247 MB, free: 10.41 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001744/0.001744, allocations: 59.89 kB / 358.3 MB, free: 13.37 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2132/0.2149, allocations: 50.55 MB / 408.8 MB, free: 1.484 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.TraceSubstances.RoomCO2): time 0.4064/0.6213, allocations: 208.7 MB / 0.6031 GB, free: 15.74 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.01047/0.6318, allocations: 10.42 MB / 0.6132 GB, free: 15.22 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007641/0.6326, allocations: 20.72 kB / 0.6133 GB, free: 15.22 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001069/0.6337, allocations: 463.4 kB / 0.6137 GB, free: 15.09 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006897/0.6407, allocations: 3.216 MB / 0.6168 GB, free: 14.21 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005958/0.6466, allocations: 2.697 MB / 0.6195 GB, free: 12.89 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.002697/0.6493, allocations: 2.637 MB / 0.622 GB, free: 11.58 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009321/0.6503, allocations: 0.7873 MB / 0.6228 GB, free: 11.07 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005264/0.6556, allocations: 2.815 MB / 0.6256 GB, free: 9.617 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001534/0.6571, allocations: 1.072 MB / 0.6266 GB, free: 9.086 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002143/0.6573, allocations: 122.8 kB / 0.6267 GB, free: 9.02 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01092/0.6683, allocations: 6.225 MB / 0.6328 GB, free: 3.133 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006359/0.6689, allocations: 0.5375 MB / 0.6333 GB, free: 2.602 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008177/0.6698, allocations: 0.64 MB / 0.634 GB, free: 1.969 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008129/0.6779, allocations: 4.698 MB / 0.6385 GB, free: 13.51 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.045e-06/0.6779, allocations: 0 / 0.6385 GB, free: 13.51 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.6779, allocations: 0 / 0.6385 GB, free: 13.51 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.453e-05/0.6779, allocations: 0 / 0.6385 GB, free: 13.51 MB / 494.1 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.004489/0.6824, allocations: 2.13 MB / 0.6406 GB, free: 11.32 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.301e-05/0.6825, allocations: 12.03 kB / 0.6406 GB, free: 11.31 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002042/0.6827, allocations: 149.7 kB / 0.6408 GB, free: 11.16 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004462/0.6832, allocations: 135.3 kB / 0.6409 GB, free: 11.03 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00113/0.6843, allocations: 0.7197 MB / 0.6416 GB, free: 10.28 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00013/0.6844, allocations: 136.5 kB / 0.6417 GB, free: 10.14 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001563/0.6846, allocations: 87.69 kB / 0.6418 GB, free: 10.05 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002281/0.6869, allocations: 1.457 MB / 0.6433 GB, free: 8.539 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.425e-05/0.6869, allocations: 4 kB / 0.6433 GB, free: 8.535 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001155/0.687, allocations: 39.36 kB / 0.6433 GB, free: 8.5 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.752e-05/0.6871, allocations: 73.91 kB / 0.6434 GB, free: 8.43 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002382/0.6895, allocations: 1.46 MB / 0.6448 GB, free: 6.965 MB / 494.1 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.008395/0.6979, allocations: 6.341 MB / 0.651 GB, free: 264 kB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00191/0.6999, allocations: 0.9721 MB / 0.6519 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008176/0.7007, allocations: 0.523 MB / 0.6524 GB, free: 14.75 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001494/0.7022, allocations: 1.799 MB / 0.6542 GB, free: 12.57 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.138e-05/0.7023, allocations: 47.56 kB / 0.6542 GB, free: 12.52 MB / 0.4981 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0003128/0.7026, allocations: 103.2 kB / 0.6543 GB, free: 12.41 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=84): time 2.775e-06/0.7026, allocations: 0 / 0.6543 GB, free: 12.41 MB / 0.4981 GB Notification: Performance of matching and sorting (n=96): time 0.01606/0.7187, allocations: 4.799 MB / 0.659 GB, free: 7.574 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.267e-05/0.7187, allocations: 119.8 kB / 0.6591 GB, free: 7.434 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001006/0.7198, allocations: 0.7777 MB / 0.6599 GB, free: 6.648 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 9.782e-05/0.7199, allocations: 45.7 kB / 0.6599 GB, free: 6.598 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003512/0.7202, allocations: 457.9 kB / 0.6604 GB, free: 6.148 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002963/0.7205, allocations: 359.3 kB / 0.6607 GB, free: 5.801 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000429/0.721, allocations: 260.9 kB / 0.661 GB, free: 5.543 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0002122/0.7212, allocations: 398.7 kB / 0.6614 GB, free: 5.145 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001257/0.7225, allocations: 0.6189 MB / 0.662 GB, free: 4.523 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001548/0.724, allocations: 0.9576 MB / 0.6629 GB, free: 3.418 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002865/0.7269, allocations: 1.654 MB / 0.6645 GB, free: 1.605 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.716e-06/0.7269, allocations: 7.984 kB / 0.6645 GB, free: 1.598 MB / 0.4981 GB Notification: Performance of matching and sorting (n=155) (initialization): time 0.004026/0.7309, allocations: 1.93 MB / 0.6664 GB, free: 15.65 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 6.225e-05/0.731, allocations: 63.41 kB / 0.6665 GB, free: 15.57 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.572e-05/0.731, allocations: 16.03 kB / 0.6665 GB, free: 15.56 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001492/0.7325, allocations: 312.5 kB / 0.6668 GB, free: 15.25 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001039/0.7336, allocations: 263.6 kB / 0.667 GB, free: 14.99 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001661/0.7353, allocations: 0.9096 MB / 0.6679 GB, free: 14.06 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009435/0.7362, allocations: 68.02 kB / 0.668 GB, free: 13.99 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001455/0.7364, allocations: 67.92 kB / 0.668 GB, free: 13.93 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001586/0.738, allocations: 0.846 MB / 0.6689 GB, free: 13.08 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001545/0.7395, allocations: 0.9459 MB / 0.6698 GB, free: 11.98 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002774/0.7423, allocations: 1.631 MB / 0.6714 GB, free: 10.2 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.243e-06/0.7423, allocations: 4 kB / 0.6714 GB, free: 10.2 MB / 0.5137 GB Notification: Performance of matching and sorting (n=155) (initialization_lambda0): time 0.003963/0.7463, allocations: 1.91 MB / 0.6733 GB, free: 8.266 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 5.577e-05/0.7464, allocations: 71.34 kB / 0.6733 GB, free: 8.184 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.592e-05/0.7464, allocations: 15.98 kB / 0.6733 GB, free: 8.168 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001441/0.7478, allocations: 304.7 kB / 0.6736 GB, free: 7.867 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001043/0.7489, allocations: 271.5 kB / 0.6739 GB, free: 7.602 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001616/0.7505, allocations: 0.9065 MB / 0.6748 GB, free: 6.672 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009511/0.7515, allocations: 68.02 kB / 0.6748 GB, free: 6.605 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001435/0.7516, allocations: 75.97 kB / 0.6749 GB, free: 6.531 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 46 * 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 (148): * Single equations (assignments): 145 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,6)} Notification: Performance of prepare postOptimizeDAE: time 0.0003926/0.752, allocations: 267.8 kB / 0.6752 GB, free: 6.262 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000253/0.7523, allocations: 103.3 kB / 0.6753 GB, free: 6.16 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003979/0.7563, allocations: 1.967 MB / 0.6772 GB, free: 4.168 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.258e-05/0.7563, allocations: 12 kB / 0.6772 GB, free: 4.156 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.991e-06/0.7563, allocations: 0 / 0.6772 GB, free: 4.156 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.324e-05/0.7563, allocations: 3.984 kB / 0.6772 GB, free: 4.152 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005361/0.7617, allocations: 3.105 MB / 0.6802 GB, free: 0.9688 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.431e-06/0.7617, allocations: 0 / 0.6802 GB, free: 0.9688 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008334/0.7626, allocations: 183.7 kB / 0.6804 GB, free: 0.7891 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001758/0.7644, allocations: 376.6 kB / 0.6808 GB, free: 428 kB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.328e-05/0.7645, allocations: 39.92 kB / 0.6808 GB, free: 388 kB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001488/0.766, allocations: 0.8765 MB / 0.6817 GB, free: 15.48 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.058e-06/0.766, allocations: 4.031 kB / 0.6817 GB, free: 15.47 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004481/0.7705, allocations: 2.385 MB / 0.684 GB, free: 13.05 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005836/0.7711, allocations: 332.3 kB / 0.6843 GB, free: 12.71 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001826/0.7713, allocations: 31.94 kB / 0.6843 GB, free: 12.68 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008763/0.7721, allocations: 51.95 kB / 0.6844 GB, free: 12.62 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001712/0.7723, allocations: 76.84 kB / 0.6845 GB, free: 12.55 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001256/0.7725, allocations: 55.95 kB / 0.6845 GB, free: 12.49 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0007733/0.7732, allocations: 0.5693 MB / 0.6851 GB, free: 11.93 MB / 0.5294 GB Notification: Performance of sort global known variables: time 7.134e-06/0.7732, allocations: 0 / 0.6851 GB, free: 11.93 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.002881/0.7761, allocations: 1.165 MB / 0.6862 GB, free: 10.76 MB / 0.5294 GB 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.007433/0.7836, allocations: 3.921 MB / 0.69 GB, free: 6.863 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.005199/0.7888, allocations: 2.624 MB / 0.6926 GB, free: 4.199 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 8.626e-06/0.7888, allocations: 4.438 kB / 0.6926 GB, free: 4.195 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001533/0.7904, allocations: 0.736 MB / 0.6933 GB, free: 3.457 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00268/0.7931, allocations: 0.571 MB / 0.6939 GB, free: 2.895 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01958/0.8127, allocations: 11.21 MB / 0.7048 GB, free: 7.238 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007946/0.8135, allocations: 1.127 MB / 0.7059 GB, free: 6.082 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.001924/0.8154, allocations: 0.7031 MB / 0.7066 GB, free: 5.375 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006525/0.8161, allocations: 399.3 kB / 0.707 GB, free: 4.984 MB / 0.545 GB Notification: Performance of SimCode: time 8.02e-07/0.8161, allocations: 0 / 0.707 GB, free: 4.984 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09383/0.9099, allocations: 50.97 MB / 0.7568 GB, free: 2.223 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.65/15.56, allocations: 6.578 kB / 0.7568 GB, free: 2.223 MB / 0.5919 GB (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/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)