Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Fluid.Sensors.Examples.TraceSubstances.conf.json Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.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) 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 ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.TraceSubstances,fileNamePrefix="Buildings_6_0_0_Buildings_Fluid_Sensors_Examples_TraceSubstances",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01418/0.01418, allocations: 108.5 kB / 15.06 MB, free: 6.031 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.001388/0.001388, allocations: 179.4 kB / 15.95 MB, free: 5.957 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 2.158/2.158, allocations: 194.6 MB / 211.3 MB, free: 11.08 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 2.65/2.65, allocations: 236.1 MB / 492.6 MB, free: 11.33 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007085/0.0007088, allocations: 16 kB / 0.587 GB, free: 2.051 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7581/0.7589, allocations: 98.71 MB / 0.6834 GB, free: 16.8 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TraceSubstances): time 0.3236/1.083, allocations: 161.7 MB / 0.8413 GB, free: 12.3 MB / 0.6667 GB Notification: Performance of NFInst.instExpressions: time 0.02927/1.112, allocations: 12.19 MB / 0.8532 GB, free: 88 kB / 0.6667 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001641/1.114, allocations: 23.81 kB / 0.8533 GB, free: 64 kB / 0.6667 GB Notification: Performance of NFTyping.typeComponents: time 0.002983/1.117, allocations: 0.5016 MB / 0.8537 GB, free: 15.56 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.007462/1.124, allocations: 1.542 MB / 0.8553 GB, free: 14.01 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.00518/1.129, allocations: 0.9939 MB / 0.8562 GB, free: 13.02 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.004543/1.134, allocations: 1.524 MB / 0.8577 GB, free: 11.49 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002475/1.137, allocations: 0.8281 MB / 0.8585 GB, free: 10.65 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004399/1.141, allocations: 1.133 MB / 0.8596 GB, free: 9.516 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002159/1.143, allocations: 0.6306 MB / 0.8602 GB, free: 8.883 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0003346/1.144, allocations: 48 kB / 0.8603 GB, free: 8.836 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002705/1.146, allocations: 0.5421 MB / 0.8608 GB, free: 8.293 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0009892/1.147, allocations: 411 kB / 0.8612 GB, free: 7.891 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0007208/1.148, allocations: 253.1 kB / 0.8615 GB, free: 7.637 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.00329/1.151, allocations: 1.321 MB / 0.8627 GB, free: 6.312 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 5.09e-06/1.151, allocations: 4 kB / 0.8627 GB, free: 6.309 MB / 0.6823 GB Notification: Performance of FrontEnd: time 3.136e-06/1.151, allocations: 0 / 0.8627 GB, free: 6.309 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 6.244e-05/1.152, allocations: 0 / 0.8627 GB, free: 6.309 MB / 0.6823 GB 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.00381/1.155, allocations: 1.26 MB / 0.864 GB, free: 4.988 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.808e-05/1.155, allocations: 12.03 kB / 0.864 GB, free: 4.977 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005615/1.156, allocations: 147.6 kB / 0.8641 GB, free: 4.824 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002255/1.158, allocations: 246.4 kB / 0.8644 GB, free: 4.582 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002511/1.161, allocations: 0.7225 MB / 0.8651 GB, free: 3.816 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001028/1.161, allocations: 70 kB / 0.8651 GB, free: 3.746 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002903/1.161, allocations: 96 kB / 0.8652 GB, free: 3.652 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0034/1.165, allocations: 1.164 MB / 0.8664 GB, free: 2.422 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.605e-05/1.165, allocations: 0 / 0.8664 GB, free: 2.422 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000159/1.165, allocations: 48 kB / 0.8664 GB, free: 2.375 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.756e-05/1.165, allocations: 37.94 kB / 0.8664 GB, free: 2.336 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002879/1.168, allocations: 0.9132 MB / 0.8673 GB, free: 1.426 MB / 0.6823 GB 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.0108/1.179, allocations: 5.653 MB / 0.8729 GB, free: 11.32 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001598/1.181, allocations: 0.5581 MB / 0.8734 GB, free: 10.74 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007671/1.181, allocations: 145.5 kB / 0.8735 GB, free: 10.58 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.849e-05/1.181, allocations: 46.94 kB / 0.8736 GB, free: 10.52 MB / 0.698 GB Notification: Performance of pre-optimization done (n=52): time 4.518e-06/1.181, allocations: 0 / 0.8736 GB, free: 10.52 MB / 0.698 GB Notification: Performance of matching and sorting (n=52): time 0.003569/1.185, allocations: 0.8221 MB / 0.8744 GB, free: 9.699 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.214e-05/1.185, allocations: 89.67 kB / 0.8745 GB, free: 9.594 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001776/1.187, allocations: 0.7313 MB / 0.8752 GB, free: 8.852 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0002231/1.187, allocations: 41.7 kB / 0.8752 GB, free: 8.805 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006027/1.188, allocations: 498.8 kB / 0.8757 GB, free: 8.309 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004427/1.188, allocations: 181.4 kB / 0.8759 GB, free: 8.129 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.613e-05/1.188, allocations: 16 kB / 0.8759 GB, free: 8.113 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0002539/1.189, allocations: 386.8 kB / 0.8763 GB, free: 7.727 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007642/1.19, allocations: 269.8 kB / 0.8765 GB, free: 7.461 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001085/1.191, allocations: 0.5609 MB / 0.8771 GB, free: 6.766 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001001/1.192, allocations: 383.6 kB / 0.8774 GB, free: 6.387 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.256e-05/1.192, allocations: 4 kB / 0.8774 GB, free: 6.383 MB / 0.698 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.002626/1.194, allocations: 0.9099 MB / 0.8783 GB, free: 5.457 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 8.609e-05/1.194, allocations: 45.64 kB / 0.8784 GB, free: 5.406 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.969e-05/1.194, allocations: 8 kB / 0.8784 GB, free: 5.398 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.563e-05/1.195, allocations: 12 kB / 0.8784 GB, free: 5.387 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0012/1.196, allocations: 155.8 kB / 0.8785 GB, free: 5.234 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.071e-05/1.196, allocations: 15.98 kB / 0.8786 GB, free: 5.219 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00184/1.198, allocations: 141.5 kB / 0.8787 GB, free: 5.082 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001602/1.198, allocations: 39.98 kB / 0.8787 GB, free: 5.043 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 34 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (90): * Single equations (assignments): 89 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0008682/1.199, allocations: 337.5 kB / 0.879 GB, free: 4.703 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003212/1.199, allocations: 82.97 kB / 0.8791 GB, free: 4.621 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00178/1.201, allocations: 0.6254 MB / 0.8797 GB, free: 3.988 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.316e-05/1.201, allocations: 4 kB / 0.8797 GB, free: 3.984 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.055e-06/1.201, allocations: 8 kB / 0.8797 GB, free: 3.977 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001263/1.202, allocations: 0.525 MB / 0.8803 GB, free: 3.441 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004839/1.207, allocations: 1.671 MB / 0.8819 GB, free: 1.688 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-05/1.207, allocations: 7.922 kB / 0.8819 GB, free: 1.68 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001158/1.208, allocations: 111.9 kB / 0.882 GB, free: 1.57 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.687e-05/1.208, allocations: 7.984 kB / 0.882 GB, free: 1.562 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.158e-05/1.208, allocations: 16 kB / 0.882 GB, free: 1.547 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.191e-05/1.209, allocations: 7.938 kB / 0.882 GB, free: 1.539 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.512e-06/1.209, allocations: 4 kB / 0.882 GB, free: 1.535 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002698/1.211, allocations: 1.248 MB / 0.8833 GB, free: 208 kB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008194/1.212, allocations: 235.9 kB / 0.8835 GB, free: 15.95 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001905/1.212, allocations: 16 kB / 0.8835 GB, free: 15.94 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001148/1.213, allocations: 66.89 kB / 0.8836 GB, free: 15.88 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001318/1.214, allocations: 39.91 kB / 0.8836 GB, free: 15.84 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.513e-05/1.214, allocations: 19.94 kB / 0.8836 GB, free: 15.82 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.001073/1.215, allocations: 0.499 MB / 0.8841 GB, free: 15.32 MB / 0.7136 GB Notification: Performance of sort global known variables: time 3.41e-07/1.215, allocations: 0 / 0.8841 GB, free: 15.32 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001655/1.216, allocations: 307.4 kB / 0.8844 GB, free: 15.02 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 4 (vol.dynBal.U,vol.dynBal.m,vol.dynBal.mXi[1],vol.dynBal.mC[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 (52): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003915/1.22, allocations: 2.462 MB / 0.8868 GB, free: 12.5 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.001942/1.222, allocations: 0.69 MB / 0.8875 GB, free: 11.79 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 9.638e-06/1.223, allocations: 4 kB / 0.8875 GB, free: 11.79 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0007277/1.223, allocations: 280.6 kB / 0.8878 GB, free: 11.51 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003973/1.227, allocations: 423.9 kB / 0.8882 GB, free: 11.1 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01025/1.238, allocations: 7.99 MB / 0.896 GB, free: 2.883 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001086/1.239, allocations: 1.145 MB / 0.8971 GB, free: 1.711 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.001668/1.24, allocations: 259.1 kB / 0.8973 GB, free: 1.453 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009305/1.241, allocations: 355.3 kB / 0.8977 GB, free: 1.105 MB / 0.7136 GB Notification: Performance of SimCode: time 1.593e-06/1.241, allocations: 0 / 0.8977 GB, free: 1.105 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7398/1.981, allocations: 22.72 MB / 0.9198 GB, free: 212.7 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001987/1.981, allocations: 221.3 kB / 0.9201 GB, free: 212.4 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.524/5.505, allocations: 0 / 0.9201 GB, free: 212.4 MB / 0.7292 GB