Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Fluid.Examples.TraceSubstances.RoomCO2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(Modelica.Fluid.Examples.TraceSubstances.RoomCO2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Fluid.Examples.TraceSubstances.RoomCO2") translateModel(Modelica.Fluid.Examples.TraceSubstances.RoomCO2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Fluid.Examples.TraceSubstances.RoomCO2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001012/0.001012, allocations: 187.8 kB / 8.353 MB, free: 0.707 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.394/1.394, allocations: 194.3 MB / 203.1 MB, free: 9.312 MB / 171.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.00164/0.00164, allocations: 115.9 kB / 248.1 MB, free: 6.352 MB / 203.1 MB Notification: Performance of FrontEnd - loaded program: time 1.337e-05/1.331e-05, allocations: 0 / 298.1 MB, free: 8.234 MB / 251.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07887/0.0789, allocations: 44.5 MB / 342.6 MB, free: 11.64 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.632/8.711, allocations: 3.665 GB / 4 GB, free: 121.1 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003026/8.711, allocations: 84.42 kB / 4 GB, free: 121.1 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.358/11.07, allocations: 0.5446 GB / 4.544 GB, free: 31.62 MB / 411.1 MB Notification: Performance of FrontEnd: time 2.244e-06/11.07, allocations: 3.812 kB / 4.544 GB, free: 31.62 MB / 411.1 MB Notification: Performance of Transformations before backend: time 0.0001842/11.07, allocations: 22.97 kB / 4.544 GB, free: 31.61 MB / 411.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.01738/11.09, allocations: 2.973 MB / 4.547 GB, free: 29.68 MB / 411.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.292e-05/11.09, allocations: 9.734 kB / 4.547 GB, free: 29.68 MB / 411.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00128/11.09, allocations: 129.5 kB / 4.547 GB, free: 29.62 MB / 411.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001959/11.09, allocations: 0.7376 MB / 4.548 GB, free: 29.18 MB / 411.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001143/11.09, allocations: 105.4 kB / 4.548 GB, free: 29.11 MB / 411.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001458/11.09, allocations: 51.47 kB / 4.548 GB, free: 29.11 MB / 411.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001987/11.09, allocations: 1.286 MB / 4.549 GB, free: 28.68 MB / 411.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001885/11.09, allocations: 1.284 MB / 4.551 GB, free: 28.11 MB / 411.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.159e-05/11.09, allocations: 3.812 kB / 4.551 GB, free: 28.11 MB / 411.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001089/11.09, allocations: 0 / 4.551 GB, free: 28.11 MB / 411.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.313e-05/11.09, allocations: 78.52 kB / 4.551 GB, free: 28.09 MB / 411.1 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.007994/11.1, allocations: 6.359 MB / 4.557 GB, free: 22.82 MB / 411.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00132/11.1, allocations: 0.7858 MB / 4.558 GB, free: 22.11 MB / 411.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005344/11.1, allocations: 444.8 kB / 4.558 GB, free: 21.72 MB / 411.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008865/11.11, allocations: 1.235 MB / 4.559 GB, free: 20.28 MB / 411.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.369e-05/11.11, allocations: 39.34 kB / 4.559 GB, free: 20.23 MB / 411.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.000487/11.11, allocations: 82.81 kB / 4.56 GB, free: 20.16 MB / 411.1 MB Notification: Performance of pre-optimization done (n=76): time 3.767e-06/11.11, allocations: 0 / 4.56 GB, free: 20.16 MB / 411.1 MB Notification: Performance of matching and sorting (n=88): time 0.0137/11.12, allocations: 4.129 MB / 4.564 GB, free: 16.77 MB / 411.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.075e-05/11.12, allocations: 111.6 kB / 4.564 GB, free: 16.64 MB / 411.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007117/11.12, allocations: 0.5609 MB / 4.564 GB, free: 16.14 MB / 411.1 MB Notification: Performance of collectPreVariables (initialization): time 9.104e-05/11.12, allocations: 37.64 kB / 4.564 GB, free: 16.09 MB / 411.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002317/11.12, allocations: 499.2 kB / 4.565 GB, free: 15.64 MB / 411.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002106/11.12, allocations: 302.4 kB / 4.565 GB, free: 15.37 MB / 411.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.305e-05/11.12, allocations: 0 / 4.565 GB, free: 15.37 MB / 411.1 MB Notification: Performance of setup shared object (initialization): time 0.0001235/11.12, allocations: 401.7 kB / 4.565 GB, free: 15 MB / 411.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000657/11.12, allocations: 0.5137 MB / 4.566 GB, free: 14.53 MB / 411.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000919/11.12, allocations: 0.8965 MB / 4.567 GB, free: 13.52 MB / 411.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004656/11.13, allocations: 1.333 MB / 4.568 GB, free: 12.51 MB / 411.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.796e-05/11.13, allocations: 7.938 kB / 4.568 GB, free: 12.5 MB / 411.1 MB Notification: Performance of matching and sorting (n=160) (initialization): time 0.006278/11.13, allocations: 2.275 MB / 4.57 GB, free: 10.62 MB / 411.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0008688/11.13, allocations: 4.759 MB / 4.575 GB, free: 5.488 MB / 411.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.778e-05/11.13, allocations: 12 kB / 4.575 GB, free: 5.477 MB / 411.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009326/11.14, allocations: 245.4 kB / 4.575 GB, free: 5.258 MB / 411.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009972/11.14, allocations: 287.5 kB / 4.575 GB, free: 4.977 MB / 411.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007309/11.14, allocations: 0.8372 MB / 4.576 GB, free: 4.113 MB / 411.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001282/11.14, allocations: 95.81 kB / 4.576 GB, free: 4.02 MB / 411.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000139/11.14, allocations: 79.97 kB / 4.576 GB, free: 3.941 MB / 411.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.729e-06/11.14, allocations: 4 kB / 4.576 GB, free: 3.938 MB / 411.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005562/11.14, allocations: 2.124 MB / 4.579 GB, free: 1.812 MB / 411.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.271e-05/11.14, allocations: 12 kB / 4.579 GB, free: 1.801 MB / 411.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008485/11.15, allocations: 248.4 kB / 4.579 GB, free: 1.559 MB / 411.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009507/11.15, allocations: 283.5 kB / 4.579 GB, free: 1.281 MB / 411.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006664/11.15, allocations: 0.8435 MB / 4.58 GB, free: 424 kB / 411.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001102/11.15, allocations: 83.89 kB / 4.58 GB, free: 340 kB / 411.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001265/11.15, allocations: 83.97 kB / 4.58 GB, free: 256 kB / 411.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 54 * 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 (153): * Single equations (assignments): 150 * 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.0003411/11.15, allocations: 140.5 kB / 4.58 GB, free: 108 kB / 411.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001633/11.15, allocations: 86.97 kB / 4.58 GB, free: 20 kB / 411.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004018/11.15, allocations: 1.699 MB / 4.582 GB, free: 14.31 MB / 427.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.316e-05/11.15, allocations: 11.83 kB / 4.582 GB, free: 14.3 MB / 427.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.761e-06/11.15, allocations: 0 / 4.582 GB, free: 14.3 MB / 427.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.445e-05/11.15, allocations: 11.97 kB / 4.582 GB, free: 14.29 MB / 427.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005952/11.16, allocations: 3.242 MB / 4.585 GB, free: 10.91 MB / 427.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.793e-06/11.16, allocations: 0 / 4.585 GB, free: 10.91 MB / 427.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007598/11.16, allocations: 171.7 kB / 4.585 GB, free: 10.75 MB / 427.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001309/11.16, allocations: 312.6 kB / 4.586 GB, free: 10.44 MB / 427.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.243e-05/11.16, allocations: 31.92 kB / 4.586 GB, free: 10.41 MB / 427.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000815/11.16, allocations: 0.8086 MB / 4.586 GB, free: 9.578 MB / 427.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.943e-06/11.16, allocations: 9.969 kB / 4.586 GB, free: 9.57 MB / 427.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004204/11.17, allocations: 2.33 MB / 4.589 GB, free: 7.109 MB / 427.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006304/11.17, allocations: 319.7 kB / 4.589 GB, free: 6.777 MB / 427.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001543/11.17, allocations: 12 kB / 4.589 GB, free: 6.766 MB / 427.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008391/11.17, allocations: 55.94 kB / 4.589 GB, free: 6.711 MB / 427.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001099/11.17, allocations: 76.58 kB / 4.589 GB, free: 6.637 MB / 427.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001116/11.17, allocations: 55.95 kB / 4.589 GB, free: 6.582 MB / 427.1 MB Notification: Performance of sorting global known variables: time 0.0005929/11.17, allocations: 431.1 kB / 4.59 GB, free: 6.168 MB / 427.1 MB Notification: Performance of sort global known variables: time 1.322e-06/11.17, allocations: 0 / 4.59 GB, free: 6.168 MB / 427.1 MB Notification: Performance of remove unused functions: time 0.005095/11.17, allocations: 1.251 MB / 4.591 GB, free: 4.918 MB / 427.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * 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 (92): * Single equations (assignments): 89 * 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.005522/11.18, allocations: 2.18 MB / 4.593 GB, free: 2.98 MB / 427.1 MB Notification: Performance of simCode: created initialization part: time 0.004017/11.18, allocations: 2.324 MB / 4.595 GB, free: 0.6094 MB / 427.1 MB Notification: Performance of simCode: created event and clocks part: time 9.778e-06/11.18, allocations: 8.062 kB / 4.595 GB, free: 0.6016 MB / 427.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001012/11.18, allocations: 0.604 MB / 4.596 GB, free: 0 / 427.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.3289/11.51, allocations: 380.2 kB / 4.596 GB, free: 46.55 MB / 427.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004106/11.52, allocations: 1.925 MB / 4.598 GB, free: 46.21 MB / 427.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005816/11.52, allocations: 1.141 MB / 4.599 GB, free: 45.51 MB / 427.1 MB Notification: Performance of simCode: alias equations: time 0.002024/11.52, allocations: 0.597 MB / 4.6 GB, free: 45.5 MB / 427.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003236/11.52, allocations: 117.5 kB / 4.6 GB, free: 45.5 MB / 427.1 MB Notification: Performance of SimCode: time 1.092e-06/11.52, allocations: 0.5625 kB / 4.6 GB, free: 45.5 MB / 427.1 MB Notification: Performance of Templates: time 0.06156/11.58, allocations: 38.73 MB / 4.638 GB, free: 43.73 MB / 427.1 MB make -j1 -f Modelica_3.2.2_Modelica.Fluid.Examples.TraceSubstances.RoomCO2.makefile (rm -f Modelica_3.2.2_Modelica.Fluid.Examples.TraceSubstances.RoomCO2.pipe ; mkfifo Modelica_3.2.2_Modelica.Fluid.Examples.TraceSubstances.RoomCO2.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Fluid.Examples.TraceSubstances.RoomCO2.pipe >> ../files/Modelica_3.2.2_Modelica.Fluid.Examples.TraceSubstances.RoomCO2.sim & ./Modelica_3.2.2_Modelica.Fluid.Examples.TraceSubstances.RoomCO2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Fluid.Examples.TraceSubstances.RoomCO2.pipe 2>&1)