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.RoomCO2.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.RoomCO2,fileNamePrefix="Modelica_3_2_2_Modelica_Fluid_Examples_TraceSubstances_RoomCO2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.065/2.065, allocations: 194.9 MB / 211.1 MB, free: 7.582 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003619/0.000362, allocations: 8 kB / 264.1 MB, free: 2.512 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.361/0.3614, allocations: 44.5 MB / 308.6 MB, free: 12.64 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.TraceSubstances.RoomCO2): time 0.5735/0.9349, allocations: 165.8 MB / 474.3 MB, free: 8.82 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.02391/0.9589, allocations: 13.3 MB / 487.6 MB, free: 6.535 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001303/0.9602, allocations: 30.64 kB / 487.6 MB, free: 6.52 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001561/0.9618, allocations: 363.6 kB / 488 MB, free: 6.355 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01152/0.9733, allocations: 2.713 MB / 490.7 MB, free: 5.641 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.007916/0.9813, allocations: 1.906 MB / 492.6 MB, free: 5.105 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.003332/0.9846, allocations: 1.572 MB / 494.2 MB, free: 4.793 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001448/0.9861, allocations: 0.6421 MB / 494.8 MB, free: 4.52 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007607/0.9937, allocations: 2.099 MB / 496.9 MB, free: 3.676 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00237/0.9961, allocations: 0.752 MB / 497.7 MB, free: 3.078 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003311/0.9965, allocations: 60 kB / 497.7 MB, free: 3.02 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01547/1.012, allocations: 5.399 MB / 0.4913 GB, free: 14.8 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001116/1.013, allocations: 446.3 kB / 0.4918 GB, free: 14.47 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005861/1.014, allocations: 238.6 kB / 0.492 GB, free: 14.29 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009219/1.023, allocations: 2.98 MB / 0.4949 GB, free: 11.73 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.497e-06/1.023, allocations: 0 / 0.4949 GB, free: 11.73 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.216e-06/1.023, allocations: 4 kB / 0.4949 GB, free: 11.72 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.385e-05/1.023, allocations: 0 / 0.4949 GB, free: 11.72 MB / 378.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.006879/1.03, allocations: 1.837 MB / 0.4967 GB, free: 9.926 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.255e-05/1.03, allocations: 15.97 kB / 0.4967 GB, free: 9.91 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003952/1.03, allocations: 150.6 kB / 0.4969 GB, free: 9.812 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006235/1.031, allocations: 126.7 kB / 0.497 GB, free: 9.688 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001822/1.033, allocations: 0.6758 MB / 0.4976 GB, free: 9.102 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001906/1.033, allocations: 135.2 kB / 0.4978 GB, free: 8.988 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000266/1.033, allocations: 91.53 kB / 0.4979 GB, free: 8.93 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003566/1.037, allocations: 1.44 MB / 0.4993 GB, free: 7.844 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.884e-05/1.037, allocations: 4 kB / 0.4993 GB, free: 7.84 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002103/1.037, allocations: 41.62 kB / 0.4993 GB, free: 7.828 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001619/1.037, allocations: 73.7 kB / 0.4994 GB, free: 7.762 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00388/1.041, allocations: 1.46 MB / 0.5008 GB, free: 6.746 MB / 378.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.01422/1.056, allocations: 6.359 MB / 0.507 GB, free: 1.109 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002921/1.059, allocations: 0.9219 MB / 0.5079 GB, free: 492 kB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002053/1.061, allocations: 1.73 MB / 0.5096 GB, free: 14.43 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.081e-05/1.061, allocations: 42.97 kB / 0.5096 GB, free: 14.38 MB / 394.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007799/1.062, allocations: 104.3 kB / 0.5097 GB, free: 14.3 MB / 394.7 MB Notification: Performance of pre-optimization done (n=82): time 3.987e-06/1.062, allocations: 0 / 0.5097 GB, free: 14.3 MB / 394.7 MB Notification: Performance of matching and sorting (n=94): time 0.02974/1.091, allocations: 4.908 MB / 0.5145 GB, free: 10.37 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.212e-05/1.091, allocations: 119.8 kB / 0.5147 GB, free: 10.22 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001425/1.093, allocations: 0.7333 MB / 0.5154 GB, free: 9.656 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002573/1.093, allocations: 53.36 kB / 0.5154 GB, free: 9.613 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004891/1.094, allocations: 471.8 kB / 0.5159 GB, free: 9.172 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004554/1.094, allocations: 335.7 kB / 0.5162 GB, free: 8.848 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001388/1.094, allocations: 28 kB / 0.5162 GB, free: 8.82 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002536/1.095, allocations: 402.7 kB / 0.5166 GB, free: 8.418 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002102/1.097, allocations: 0.5881 MB / 0.5172 GB, free: 7.828 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002469/1.099, allocations: 0.9852 MB / 0.5181 GB, free: 6.672 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002509/1.102, allocations: 0.791 MB / 0.5189 GB, free: 5.871 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.426e-06/1.102, allocations: 0 / 0.5189 GB, free: 5.871 MB / 394.7 MB Notification: Performance of matching and sorting (n=161) (initialization): time 0.006607/1.108, allocations: 1.922 MB / 0.5208 GB, free: 3.922 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004941/1.109, allocations: 0.4993 MB / 0.5213 GB, free: 3.242 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.59e-05/1.109, allocations: 16 kB / 0.5213 GB, free: 3.227 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002948/1.112, allocations: 332.5 kB / 0.5216 GB, free: 2.898 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002276/1.114, allocations: 291.5 kB / 0.5219 GB, free: 2.613 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002799/1.117, allocations: 0.9218 MB / 0.5228 GB, free: 1.668 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002079/1.119, allocations: 119.8 kB / 0.5229 GB, free: 1.551 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002484/1.119, allocations: 79.97 kB / 0.523 GB, free: 1.473 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.614e-05/1.119, allocations: 4 kB / 0.523 GB, free: 1.469 MB / 394.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006196/1.126, allocations: 1.818 MB / 0.5248 GB, free: 15.64 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.982e-05/1.126, allocations: 12 kB / 0.5248 GB, free: 15.62 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002887/1.129, allocations: 327.6 kB / 0.5251 GB, free: 15.3 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002192/1.131, allocations: 287.5 kB / 0.5254 GB, free: 15.02 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00275/1.134, allocations: 0.9296 MB / 0.5263 GB, free: 14.07 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00192/1.135, allocations: 111.8 kB / 0.5264 GB, free: 13.96 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002348/1.136, allocations: 79.97 kB / 0.5264 GB, free: 13.88 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 55 * 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 (154): * Single equations (assignments): 151 * 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.0009862/1.137, allocations: 424.6 kB / 0.5268 GB, free: 13.46 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000296/1.137, allocations: 94.95 kB / 0.5269 GB, free: 13.36 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00677/1.144, allocations: 1.906 MB / 0.5288 GB, free: 11.43 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.897e-05/1.144, allocations: 15.94 kB / 0.5288 GB, free: 11.41 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.845e-06/1.144, allocations: 0 / 0.5288 GB, free: 11.41 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.017e-05/1.144, allocations: 7.984 kB / 0.5288 GB, free: 11.4 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01269/1.157, allocations: 3.262 MB / 0.532 GB, free: 8.09 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.47e-05/1.157, allocations: 4 kB / 0.532 GB, free: 8.086 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001635/1.158, allocations: 179.8 kB / 0.5322 GB, free: 7.91 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003552/1.162, allocations: 400.5 kB / 0.5326 GB, free: 7.516 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001726/1.162, allocations: 41.83 kB / 0.5326 GB, free: 7.477 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002441/1.165, allocations: 0.8833 MB / 0.5335 GB, free: 6.57 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.682e-06/1.165, allocations: 4 kB / 0.5335 GB, free: 6.566 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007278/1.172, allocations: 2.297 MB / 0.5357 GB, free: 4.23 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009523/1.173, allocations: 327.8 kB / 0.536 GB, free: 3.891 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002956/1.173, allocations: 24 kB / 0.5361 GB, free: 3.867 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001601/1.175, allocations: 91.72 kB / 0.5361 GB, free: 3.777 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002481/1.175, allocations: 76.84 kB / 0.5362 GB, free: 3.703 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001979/1.175, allocations: 59.95 kB / 0.5363 GB, free: 3.645 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001085/1.176, allocations: 0.5146 MB / 0.5368 GB, free: 3.137 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.274e-06/1.176, allocations: 0 / 0.5368 GB, free: 3.137 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.004675/1.181, allocations: 1.15 MB / 0.5379 GB, free: 1.988 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (97): * Single equations (assignments): 94 * 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.01196/1.193, allocations: 3.87 MB / 0.5417 GB, free: 14.17 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.008424/1.202, allocations: 2.594 MB / 0.5442 GB, free: 11.53 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.28e-05/1.202, allocations: 7.75 kB / 0.5442 GB, free: 11.52 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002425/1.204, allocations: 0.7047 MB / 0.5449 GB, free: 10.82 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00379/1.208, allocations: 456.4 kB / 0.5453 GB, free: 10.38 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01219/1.22, allocations: 4.183 MB / 0.5494 GB, free: 5.965 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001113/1.221, allocations: 1.139 MB / 0.5505 GB, free: 4.797 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.003738/1.225, allocations: 0.6093 MB / 0.5511 GB, free: 4.184 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001107/1.226, allocations: 411.3 kB / 0.5515 GB, free: 3.781 MB / 426.7 MB Notification: Performance of SimCode: time 1.202e-06/1.226, allocations: 0 / 0.5515 GB, free: 3.781 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3666/1.593, allocations: 46.78 MB / 0.5972 GB, free: 170.1 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000253/1.593, allocations: 252.2 kB / 0.5974 GB, free: 169.8 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.795/6.388, allocations: 0 / 0.5974 GB, free: 169.8 MB / 442.7 MB