Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Fluid.Examples.TraceSubstances.RoomCO2WithControls.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Running command: translateModel(Modelica.Fluid.Examples.TraceSubstances.RoomCO2WithControls,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|PID.I.y|ductIn.mediums.1..T|ductIn.mediums.1..Xi.1.|ductIn.mediums.1..p|ductIn.mediums.2..T|ductIn.mediums.2..Xi.1.|ductIn.mediums.2..p|ductOut.mediums.1..T|ductOut.mediums.1..Xi.1.|ductOut.mediums.1..p|ductOut.mediums.2..T|ductOut.mediums.2..Xi.1.|ductOut.mediums.2..p|volume.medium.T|volume.medium.Xi.1.|volume.medium.p",fileNamePrefix="Modelica_3.2.2_Modelica.Fluid.Examples.TraceSubstances.RoomCO2WithControls") Notification: Performance of loadModel(Modelica): time 1.844/1.844, allocations: 194.9 MB / 211.7 MB, free: 3.012 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003406/0.0003406, allocations: 16 kB / 264.6 MB, free: 12.95 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08778/0.08814, allocations: 44.52 MB / 309.1 MB, free: 376 kB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.TraceSubstances.RoomCO2WithControls): time 0.5857/0.6739, allocations: 206.3 MB / 0.5032 GB, free: 12.44 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.03722/0.7112, allocations: 17.87 MB / 0.5207 GB, free: 10.53 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002781/0.714, allocations: 71.44 kB / 0.5208 GB, free: 10.46 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00397/0.718, allocations: 0.9372 MB / 0.5217 GB, free: 9.52 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01734/0.7354, allocations: 4.361 MB / 0.5259 GB, free: 5.148 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01675/0.7522, allocations: 4.315 MB / 0.5302 GB, free: 0.8242 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.3529/1.105, allocations: 5.203 MB / 0.5352 GB, free: 5.891 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00461/1.11, allocations: 1.792 MB / 0.537 GB, free: 5.75 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01441/1.124, allocations: 4.196 MB / 0.5411 GB, free: 5.711 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006045/1.13, allocations: 2.188 MB / 0.5432 GB, free: 5.703 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001677/1.132, allocations: 171.2 kB / 0.5434 GB, free: 5.703 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02259/1.155, allocations: 8.227 MB / 0.5514 GB, free: 5.695 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003389/1.158, allocations: 1.518 MB / 0.5529 GB, free: 5.695 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002306/1.16, allocations: 0.7057 MB / 0.5536 GB, free: 5.664 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01574/1.176, allocations: 6.721 MB / 0.5602 GB, free: 5.051 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.097e-06/1.176, allocations: 0 / 0.5602 GB, free: 5.051 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.765e-06/1.176, allocations: 0 / 0.5602 GB, free: 5.051 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0001837/1.176, allocations: 0 / 0.5602 GB, free: 5.051 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 822 * Number of variables: 822 Notification: Performance of Generate backend data structure: time 0.01927/1.196, allocations: 4.636 MB / 0.5647 GB, free: 18.27 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.748e-05/1.196, allocations: 6.688 kB / 0.5647 GB, free: 18.27 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002847/1.199, allocations: 413 kB / 0.5651 GB, free: 18.07 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006846/1.206, allocations: 1.975 MB / 0.567 GB, free: 17.25 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004833/1.206, allocations: 344.2 kB / 0.5673 GB, free: 17.11 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001414/1.208, allocations: 294.3 kB / 0.5676 GB, free: 17.11 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01493/1.222, allocations: 5.341 MB / 0.5728 GB, free: 15.59 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001256/1.223, allocations: 10.78 kB / 0.5728 GB, free: 15.59 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007936/1.223, allocations: 121.4 kB / 0.573 GB, free: 15.59 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007548/1.224, allocations: 414.5 kB / 0.5734 GB, free: 15.51 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01688/1.241, allocations: 5.662 MB / 0.5789 GB, free: 14.52 MB / 442.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.05376/1.295, allocations: 21.96 MB / 0.6003 GB, free: 12.15 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01136/1.306, allocations: 3.624 MB / 0.6039 GB, free: 9.715 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003856/1.31, allocations: 3.2 MB / 0.607 GB, free: 5.953 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007914/1.318, allocations: 2.581 MB / 0.6095 GB, free: 4.043 MB / 458.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002472/1.321, allocations: 270.5 kB / 0.6098 GB, free: 3.82 MB / 458.7 MB Notification: Performance of pre-optimization done (n=316): time 1.381e-05/1.321, allocations: 0 / 0.6098 GB, free: 3.82 MB / 458.7 MB Notification: Performance of matching and sorting (n=376): time 0.2314/1.552, allocations: 33.47 MB / 0.6425 GB, free: 7.348 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000198/1.552, allocations: 321.7 kB / 0.6428 GB, free: 6.965 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004616/1.557, allocations: 2.092 MB / 0.6448 GB, free: 5.359 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001228/1.558, allocations: 99.2 kB / 0.6449 GB, free: 5.309 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00174/1.56, allocations: 1.322 MB / 0.6462 GB, free: 4.395 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002461/1.563, allocations: 1.32 MB / 0.6475 GB, free: 3.262 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006237/1.563, allocations: 88.25 kB / 0.6476 GB, free: 3.242 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0004052/1.564, allocations: 479.5 kB / 0.648 GB, free: 2.832 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01061/1.574, allocations: 2.925 MB / 0.6509 GB, free: 0.7852 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01199/1.586, allocations: 3.959 MB / 0.6547 GB, free: 13.39 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01186/1.598, allocations: 3.491 MB / 0.6582 GB, free: 11.03 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.9e-05/1.598, allocations: 8 kB / 0.6582 GB, free: 11.02 MB / 0.4948 GB Notification: Performance of matching and sorting (n=550) (initialization): time 0.03304/1.631, allocations: 8.627 MB / 0.6666 GB, free: 4.828 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008892/1.632, allocations: 1.042 MB / 0.6676 GB, free: 3.477 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.403e-05/1.632, allocations: 33.36 kB / 0.6676 GB, free: 3.445 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01921/1.652, allocations: 2.741 MB / 0.6703 GB, free: 1.062 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008437/1.66, allocations: 0.95 MB / 0.6712 GB, free: 204 kB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01773/1.678, allocations: 6.692 MB / 0.6778 GB, free: 10.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008328/1.686, allocations: 0.5383 MB / 0.6783 GB, free: 9.828 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001528/1.688, allocations: 244.9 kB / 0.6785 GB, free: 9.625 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.464e-05/1.688, allocations: 4 kB / 0.6785 GB, free: 9.621 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03137/1.719, allocations: 8.227 MB / 0.6866 GB, free: 3.855 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001144/1.719, allocations: 28 kB / 0.6866 GB, free: 3.828 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01765/1.737, allocations: 2.568 MB / 0.6891 GB, free: 1.598 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008433/1.746, allocations: 0.9503 MB / 0.69 GB, free: 0.7383 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01714/1.763, allocations: 6.56 MB / 0.6964 GB, free: 10.92 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007999/1.771, allocations: 0.5265 MB / 0.697 GB, free: 10.46 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001523/1.772, allocations: 241.8 kB / 0.6972 GB, free: 10.27 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 128 * Number of states: 0 () * Number of discrete variables: 16 (traceVolume.ind,traceDuctIn.ind,traceDuctOut.ind,$whenCondition1,$PRE.NumberOfPeople.nextTimeEvent,volume.regularFlow[1],volume.regularFlow[2],volume.regularFlow[3],volume.regularFlow[4],volume.inFlow[4],volume.inFlow[3],volume.inFlow[2],volume.inFlow[1],NumberOfPeople.nextTimeEvent,$PRE.NumberOfPeople.nextTimeEventScaled,NumberOfPeople.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (505): * Single equations (assignments): 495 * Array equations: 0 * Algorithm blocks: 4 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 6 {2 6,2 6,1 6,2 6,2 6,2 6} Notification: Performance of prepare postOptimizeDAE: time 0.003988/1.776, allocations: 1.116 MB / 0.6983 GB, free: 9.535 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001224/1.778, allocations: 296.4 kB / 0.6986 GB, free: 9.242 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03263/1.81, allocations: 8.722 MB / 0.7071 GB, free: 3.016 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02499/1.835, allocations: 6.809 MB / 0.7137 GB, free: 14.05 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.613e-05/1.835, allocations: 0 / 0.7137 GB, free: 14.05 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00435/1.84, allocations: 1.065 MB / 0.7148 GB, free: 13.23 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001832/1.842, allocations: 134.1 kB / 0.7149 GB, free: 13.17 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007092/1.849, allocations: 408.6 kB / 0.7153 GB, free: 12.82 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001377/1.85, allocations: 266.3 kB / 0.7155 GB, free: 12.59 MB / 0.5417 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.04827/1.899, allocations: 9.615 MB / 0.7249 GB, free: 5.047 MB / 0.5417 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.3054/2.204, allocations: 10.46 MB / 0.7351 GB, free: 275.3 MB / 0.5417 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.009905/2.214, allocations: 3.28 MB / 0.7384 GB, free: 275 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.002905/2.217, allocations: 1.398 MB / 0.7397 GB, free: 274.5 MB / 0.5417 GB Notification: Performance of Backend: time 1.022e-06/2.217, allocations: 4.578 kB / 0.7397 GB, free: 274.5 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.04004/2.257, allocations: 11.22 MB / 0.7507 GB, free: 271.2 MB / 0.5417 GB Notification: Performance of SimCode: time 0.01984/2.277, allocations: 9.348 MB / 0.7598 GB, free: 266.5 MB / 0.5417 GB Notification: Performance of Templates: time 0.2632/2.54, allocations: 128.1 MB / 0.8849 GB, free: 147.2 MB / 0.5417 GB