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: "" <> buildModelFMU(Modelica.Fluid.Examples.TraceSubstances.RoomCO2WithControls,fileNamePrefix="Modelica_3_2_2_Modelica_Fluid_Examples_TraceSubstances_RoomCO2WithControls",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.245/2.245, allocations: 194.9 MB / 211.1 MB, free: 7.582 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003753/0.0003754, allocations: 12 kB / 264.1 MB, free: 2.504 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3242/0.3246, allocations: 44.5 MB / 308.6 MB, free: 12.67 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 11.15/11.47, allocations: 3.686 GB / 3.987 GB, free: 5.426 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002538/11.48, allocations: 90.14 kB / 3.987 GB, free: 5.379 MB / 410.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Blocks/Sources.mo:2346:7-2347:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$NumberOfPeople.getDerTableValue. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Blocks/Sources.mo:2312:7-2313:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$NumberOfPeople.getTableValue. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Blocks/Sources.mo:2358:7-2359:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$NumberOfPeople.getTableTimeTmin. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Blocks/Sources.mo:2369:7-2370:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$NumberOfPeople.getTableTimeTmax. Notification: Performance of FrontEnd - DAE generated: time 5.438/16.91, allocations: 0.8997 GB / 4.887 GB, free: 24.23 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.916e-06/16.91, allocations: 0 / 4.887 GB, free: 24.23 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0003225/16.91, allocations: 75.78 kB / 4.887 GB, free: 24.22 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: 822 * Number of variables: 822 Notification: Performance of Generate backend data structure: time 0.02913/16.94, allocations: 6.317 MB / 4.893 GB, free: 21.18 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.996e-05/16.94, allocations: 12.66 kB / 4.893 GB, free: 21.18 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002488/16.95, allocations: 462.9 kB / 4.893 GB, free: 21.12 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003113/16.95, allocations: 408.5 kB / 4.894 GB, free: 20.94 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01035/16.96, allocations: 2.415 MB / 4.896 GB, free: 20.45 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005102/16.96, allocations: 357 kB / 4.896 GB, free: 20.31 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00178/16.96, allocations: 305.7 kB / 4.897 GB, free: 20.31 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01633/16.98, allocations: 5.279 MB / 4.902 GB, free: 19.75 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001535/16.98, allocations: 9.844 kB / 4.902 GB, free: 19.75 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001058/16.98, allocations: 131.7 kB / 4.902 GB, free: 19.75 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004077/16.98, allocations: 257.9 kB / 4.902 GB, free: 19.74 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01714/17, allocations: 5.62 MB / 4.908 GB, free: 19.7 MB / 458.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.05324/17.05, allocations: 20.45 MB / 4.928 GB, free: 10.75 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01095/17.06, allocations: 3.567 MB / 4.931 GB, free: 10.7 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003823/17.06, allocations: 3.219 MB / 4.934 GB, free: 23.32 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.008052/17.07, allocations: 2.568 MB / 4.937 GB, free: 23.14 MB / 474.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002714/17.08, allocations: 277.8 kB / 4.937 GB, free: 22.99 MB / 474.7 MB Notification: Performance of pre-optimization done (n=316): time 1.399e-05/17.08, allocations: 0 / 4.937 GB, free: 22.99 MB / 474.7 MB Notification: Performance of matching and sorting (n=376): time 0.224/17.3, allocations: 33.78 MB / 4.97 GB, free: 14.85 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002111/17.3, allocations: 331.2 kB / 4.97 GB, free: 14.46 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004418/17.3, allocations: 1.858 MB / 4.972 GB, free: 12.86 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001391/17.31, allocations: 97.7 kB / 4.972 GB, free: 12.75 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001802/17.31, allocations: 1.309 MB / 4.974 GB, free: 11.57 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002641/17.31, allocations: 1.319 MB / 4.975 GB, free: 10.38 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007791/17.31, allocations: 84 kB / 4.975 GB, free: 10.3 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.000446/17.31, allocations: 499.2 kB / 4.975 GB, free: 9.859 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0105/17.32, allocations: 2.895 MB / 4.978 GB, free: 7.488 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.012/17.33, allocations: 3.904 MB / 4.982 GB, free: 3.762 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01219/17.35, allocations: 3.461 MB / 4.985 GB, free: 0.7266 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.811e-05/17.35, allocations: 8 kB / 4.985 GB, free: 0.7188 MB / 474.7 MB Notification: Performance of matching and sorting (n=544) (initialization): time 0.4512/17.8, allocations: 10.69 MB / 4.996 GB, free: 38.01 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.002628/17.8, allocations: 11.12 MB / 5.007 GB, free: 26.35 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001072/17.8, allocations: 25.66 kB / 5.007 GB, free: 26.35 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01823/17.82, allocations: 2.75 MB / 5.009 GB, free: 26.3 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008364/17.83, allocations: 0.9389 MB / 5.01 GB, free: 26.3 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01593/17.84, allocations: 6.709 MB / 5.017 GB, free: 23.2 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008564/17.85, allocations: 0.5314 MB / 5.017 GB, free: 23.2 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001682/17.85, allocations: 248.4 kB / 5.018 GB, free: 23.2 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.623e-05/17.85, allocations: 6.281 kB / 5.018 GB, free: 23.2 MB / 474.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0376/17.89, allocations: 8.786 MB / 5.026 GB, free: 22.93 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001433/17.89, allocations: 36.48 kB / 5.026 GB, free: 22.93 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01691/17.91, allocations: 2.576 MB / 5.029 GB, free: 22.88 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008582/17.92, allocations: 0.957 MB / 5.03 GB, free: 22.88 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01961/17.94, allocations: 6.565 MB / 5.036 GB, free: 19.78 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01244/17.95, allocations: 0.5198 MB / 5.037 GB, free: 19.78 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00243/17.95, allocations: 242.1 kB / 5.037 GB, free: 19.78 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 122 * 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 (499): * Single equations (assignments): 489 * 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.006759/17.96, allocations: 1.108 MB / 5.038 GB, free: 19.59 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002546/17.96, allocations: 298.8 kB / 5.038 GB, free: 19.59 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04882/18.01, allocations: 8.666 MB / 5.047 GB, free: 19.3 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001442/18.01, allocations: 42.25 kB / 5.047 GB, free: 19.3 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.956e-05/18.01, allocations: 0 / 5.047 GB, free: 19.3 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.03946/18.05, allocations: 6.754 MB / 5.053 GB, free: 18.92 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05798/18.11, allocations: 13.33 MB / 5.066 GB, free: 18.28 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.106e-05/18.11, allocations: 0 / 5.066 GB, free: 18.28 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006978/18.11, allocations: 0.7038 MB / 5.067 GB, free: 18.28 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02149/18.14, allocations: 3.124 MB / 5.07 GB, free: 18.23 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001389/18.14, allocations: 176.2 kB / 5.07 GB, free: 18.23 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01338/18.15, allocations: 6.323 MB / 5.076 GB, free: 15.13 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.871e-06/18.15, allocations: 0.8438 kB / 5.076 GB, free: 15.13 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03623/18.19, allocations: 10.93 MB / 5.087 GB, free: 14.46 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004402/18.19, allocations: 1.051 MB / 5.088 GB, free: 14.2 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001533/18.19, allocations: 133.2 kB / 5.088 GB, free: 14.2 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007011/18.2, allocations: 417.5 kB / 5.089 GB, free: 14.2 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001256/18.2, allocations: 255.2 kB / 5.089 GB, free: 14.19 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007352/18.2, allocations: 194.5 kB / 5.089 GB, free: 14.19 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.00325/18.21, allocations: 1.404 MB / 5.091 GB, free: 14.05 MB / 474.7 MB Notification: Performance of sort global known variables: time 8.11e-07/18.21, allocations: 0 / 5.091 GB, free: 14.05 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.01633/18.22, allocations: 3.264 MB / 5.094 GB, free: 14.04 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 21 (volume.medium.p,volume.medium.Xi[1],volume.medium.T,volume.mC_scaled[1],ductOut.mCs_scaled[1,1],ductOut.mCs_scaled[2,1],ductOut.mediums[1].p,ductOut.mediums[1].Xi[1],ductOut.mediums[1].T,ductOut.mediums[2].p,ductOut.mediums[2].Xi[1],ductOut.mediums[2].T,PID.I.y,ductIn.mCs_scaled[1,1],ductIn.mCs_scaled[2,1],ductIn.mediums[1].p,ductIn.mediums[1].Xi[1],ductIn.mediums[1].T,ductIn.mediums[2].p,ductIn.mediums[2].Xi[1],ductIn.mediums[2].T) * Number of discrete variables: 3 ($whenCondition1,NumberOfPeople.nextTimeEvent,NumberOfPeople.nextTimeEventScaled) * Number of discrete states: 2 (NumberOfPeople.nextTimeEvent,NumberOfPeople.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (373): * Single equations (assignments): 361 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 2 * 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 7,2 6,2 6,2 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.05115/18.27, allocations: 15.03 MB / 5.108 GB, free: 12.21 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0391/18.31, allocations: 11.42 MB / 5.12 GB, free: 8.988 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.602e-05/18.31, allocations: 4.656 kB / 5.12 GB, free: 8.988 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0128/18.33, allocations: 3.455 MB / 5.123 GB, free: 8.031 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01197/18.34, allocations: 1.332 MB / 5.124 GB, free: 7.738 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0528/18.39, allocations: 33.52 MB / 5.157 GB, free: 9.344 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00466/18.39, allocations: 2.469 MB / 5.159 GB, free: 7.414 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.01585/18.41, allocations: 2.538 MB / 5.162 GB, free: 5.699 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005214/18.42, allocations: 1.451 MB / 5.163 GB, free: 4.379 MB / 0.4948 GB Notification: Performance of SimCode: time 2.164e-06/18.42, allocations: 0 / 5.163 GB, free: 4.379 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7393/19.16, allocations: 156.5 MB / 5.316 GB, free: 22.89 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003008/19.16, allocations: 259.8 kB / 5.316 GB, free: 22.54 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.14/30.3, allocations: 0 / 5.316 GB, free: 22.54 MB / 0.4948 GB