Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TraceSubstances.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Fluid.Sensors.Examples.TraceSubstances,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TraceSubstances") translateModel(BuildingSystems.Fluid.Sensors.Examples.TraceSubstances,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TraceSubstances") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7796/0.7796, allocations: 143.8 MB / 159.1 MB, free: 6.516 MB / 122.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001046/0.001046, allocations: 178.5 kB / 192 MB, free: 6.715 MB / 154.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.406/1.406, allocations: 225.7 MB / 450.4 MB, free: 4.938 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007701/0.0007701, allocations: 103.6 kB / 0.5211 GB, free: 1.602 MB / 410.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001658/0.001658, allocations: 279.7 kB / 0.6025 GB, free: 49.29 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004416/0.0004416, allocations: 14.81 kB / 0.6948 GB, free: 59.2 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1656/0.1661, allocations: 82.46 MB / 0.7753 GB, free: 14.36 MB / 458.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.TraceSubstances): time 0.5872/0.7533, allocations: 186.8 MB / 0.9578 GB, free: 2.773 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.02186/0.7753, allocations: 17.47 MB / 0.9748 GB, free: 10.01 MB / 0.573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002007/0.7773, allocations: 28.53 kB / 0.9748 GB, free: 9.996 MB / 0.573 GB Notification: Performance of NFTyping.typeComponents: time 0.002212/0.7796, allocations: 419.6 kB / 0.9752 GB, free: 9.75 MB / 0.573 GB Notification: Performance of NFTyping.typeBindings: time 0.006491/0.7861, allocations: 1.774 MB / 0.977 GB, free: 8.68 MB / 0.573 GB Notification: Performance of NFTyping.typeClassSections: time 0.003066/0.7892, allocations: 0.7694 MB / 0.9777 GB, free: 8.371 MB / 0.573 GB Notification: Performance of NFFlatten.flatten: time 0.004845/0.794, allocations: 3.602 MB / 0.9812 GB, free: 7.199 MB / 0.573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001934/0.796, allocations: 0.9205 MB / 0.9821 GB, free: 6.84 MB / 0.573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004841/0.8009, allocations: 1.35 MB / 0.9835 GB, free: 6.328 MB / 0.573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003357/0.8043, allocations: 0.9296 MB / 0.9844 GB, free: 5.977 MB / 0.573 GB Notification: Performance of NFPackage.collectConstants: time 0.0005169/0.8048, allocations: 46.72 kB / 0.9844 GB, free: 5.977 MB / 0.573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003694/0.8085, allocations: 1.224 MB / 0.9856 GB, free: 5.484 MB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 0.000874/0.8094, allocations: 443.7 kB / 0.986 GB, free: 5.297 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 0.001421/0.8109, allocations: 0.5871 MB / 0.9866 GB, free: 5.051 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.003846/0.8148, allocations: 1.909 MB / 0.9885 GB, free: 4.027 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 6.753e-06/0.8148, allocations: 2.344 kB / 0.9885 GB, free: 4.027 MB / 0.573 GB Notification: Performance of FrontEnd: time 2.304e-06/0.8148, allocations: 0 / 0.9885 GB, free: 4.027 MB / 0.573 GB Notification: Performance of Transformations before backend: time 8.324e-05/0.8149, allocations: 0 / 0.9885 GB, free: 4.027 MB / 0.573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 226 * Number of variables: 226 Notification: Performance of Generate backend data structure: time 0.002854/0.8178, allocations: 1.238 MB / 0.9897 GB, free: 3.133 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 4.851e-05/0.8178, allocations: 8.188 kB / 0.9897 GB, free: 3.133 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001598/0.8194, allocations: 250.6 kB / 0.9899 GB, free: 3.027 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001987/0.8214, allocations: 0.8428 MB / 0.9908 GB, free: 2.535 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.135e-05/0.8215, allocations: 68.47 kB / 0.9908 GB, free: 2.531 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001985/0.8217, allocations: 104.8 kB / 0.9909 GB, free: 2.523 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002022/0.8238, allocations: 1.16 MB / 0.992 GB, free: 2.082 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.169e-05/0.8238, allocations: 10.83 kB / 0.9921 GB, free: 2.074 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.898e-05/0.8239, allocations: 42.69 kB / 0.9921 GB, free: 2.07 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.745e-05/0.824, allocations: 32.47 kB / 0.9921 GB, free: 2.066 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001367/0.8253, allocations: 0.8958 MB / 0.993 GB, free: 1.902 MB / 0.573 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.008067/0.8334, allocations: 5.745 MB / 0.9986 GB, free: 13.41 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009655/0.8344, allocations: 0.5563 MB / 0.9992 GB, free: 13.29 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004491/0.8349, allocations: 325 kB / 0.9995 GB, free: 13.23 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006215/0.8355, allocations: 327.1 kB / 0.9998 GB, free: 12.91 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.639e-05/0.8356, allocations: 47.44 kB / 0.9998 GB, free: 12.87 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=51): time 3.076e-06/0.8356, allocations: 0 / 0.9998 GB, free: 12.87 MB / 0.5886 GB Notification: Performance of matching and sorting (n=51): time 0.001595/0.8372, allocations: 0.8133 MB / 1.001 GB, free: 12.69 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.866e-05/0.8373, allocations: 86.08 kB / 1.001 GB, free: 12.59 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001044/0.8383, allocations: 0.7486 MB / 1.001 GB, free: 12.33 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 9.065e-05/0.8384, allocations: 45.05 kB / 1.001 GB, free: 12.29 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003999/0.8388, allocations: 0.5018 MB / 1.002 GB, free: 12 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002127/0.8391, allocations: 186.6 kB / 1.002 GB, free: 11.86 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.318e-05/0.8391, allocations: 14.41 kB / 1.002 GB, free: 11.86 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001324/0.8392, allocations: 338.6 kB / 1.002 GB, free: 11.54 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003736/0.8396, allocations: 253.3 kB / 1.003 GB, free: 11.5 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006185/0.8402, allocations: 0.5745 MB / 1.003 GB, free: 11.05 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009418/0.8412, allocations: 0.8071 MB / 1.004 GB, free: 10.67 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.796e-06/0.8412, allocations: 2.844 kB / 1.004 GB, free: 10.67 MB / 0.5886 GB Notification: Performance of matching and sorting (n=89) (initialization): time 0.001418/0.8426, allocations: 0.859 MB / 1.005 GB, free: 10.45 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 2.687e-05/0.8427, allocations: 8.125 kB / 1.005 GB, free: 10.45 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.949e-05/0.8427, allocations: 13.5 kB / 1.005 GB, free: 10.44 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.714e-05/0.8427, allocations: 10.88 kB / 1.005 GB, free: 10.44 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006682/0.8434, allocations: 161.9 kB / 1.005 GB, free: 10.41 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.513e-05/0.8435, allocations: 18.8 kB / 1.005 GB, free: 10.4 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001092/0.8446, allocations: 137.2 kB / 1.005 GB, free: 10.34 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.279e-05/0.8446, allocations: 36.02 kB / 1.005 GB, free: 10.34 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 35 * 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 (89): * Single equations (assignments): 89 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000588/0.8452, allocations: 340.6 kB / 1.006 GB, free: 10.17 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002283/0.8455, allocations: 82.62 kB / 1.006 GB, free: 10.12 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001043/0.8465, allocations: 0.6254 MB / 1.006 GB, free: 9.691 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.666e-06/0.8466, allocations: 4 kB / 1.006 GB, free: 9.688 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.482e-06/0.8466, allocations: 4 kB / 1.006 GB, free: 9.684 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007028/0.8473, allocations: 0.5208 MB / 1.007 GB, free: 9.305 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002878/0.8502, allocations: 1.764 MB / 1.009 GB, free: 7.906 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.023e-06/0.8502, allocations: 7.938 kB / 1.009 GB, free: 7.898 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005582/0.8507, allocations: 119.3 kB / 1.009 GB, free: 7.785 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.176e-05/0.8508, allocations: 8 kB / 1.009 GB, free: 7.777 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.734e-05/0.8508, allocations: 14.23 kB / 1.009 GB, free: 7.77 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.268e-06/0.8508, allocations: 7.938 kB / 1.009 GB, free: 7.762 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.627e-06/0.8509, allocations: 4 kB / 1.009 GB, free: 7.758 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001376/0.8522, allocations: 1.075 MB / 1.01 GB, free: 6.941 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004505/0.8527, allocations: 236.4 kB / 1.01 GB, free: 6.723 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001577/0.8529, allocations: 14.48 kB / 1.01 GB, free: 6.715 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006424/0.8535, allocations: 67.02 kB / 1.01 GB, free: 6.656 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.879e-05/0.8536, allocations: 34.33 kB / 1.01 GB, free: 6.629 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.771e-05/0.8536, allocations: 14.12 kB / 1.01 GB, free: 6.617 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.0007007/0.8544, allocations: 0.5084 MB / 1.011 GB, free: 6.23 MB / 0.5886 GB Notification: Performance of sort global known variables: time 3.11e-07/0.8544, allocations: 0 / 1.011 GB, free: 6.23 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.001107/0.8555, allocations: 301.8 kB / 1.011 GB, free: 5.957 MB / 0.5886 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 (51): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005837/0.8561, allocations: 246 kB / 1.011 GB, free: 5.738 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.001107/0.8572, allocations: 0.6197 MB / 1.012 GB, free: 5.281 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 5.2e-06/0.8572, allocations: 0.625 kB / 1.012 GB, free: 5.281 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0003775/0.8576, allocations: 287.5 kB / 1.012 GB, free: 5.078 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002285/0.8599, allocations: 431.1 kB / 1.012 GB, free: 4.73 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003696/0.8636, allocations: 2.432 MB / 1.015 GB, free: 2.441 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008725/0.8645, allocations: 1.125 MB / 1.016 GB, free: 1.332 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.0009821/0.8655, allocations: 275.2 kB / 1.016 GB, free: 1.059 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000231/0.8657, allocations: 79.41 kB / 1.016 GB, free: 0.9805 MB / 0.5886 GB Notification: Performance of SimCode: time 7.21e-07/0.8657, allocations: 0 / 1.016 GB, free: 0.9805 MB / 0.5886 GB Notification: Performance of Templates: time 0.02741/0.8931, allocations: 15.36 MB / 1.031 GB, free: 1.84 MB / 0.6042 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TraceSubstances.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TraceSubstances.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TraceSubstances.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TraceSubstances.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TraceSubstances.sim & ./BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TraceSubstances -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TraceSubstances.pipe 2>&1)