Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Sensors.Examples.TraceSubstances.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Sensors.Examples.TraceSubstances,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Sensors.Examples.TraceSubstances") translateModel(Buildings.Fluid.Sensors.Examples.TraceSubstances,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Sensors.Examples.TraceSubstances") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00132/0.00132, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001518/0.001518, allocations: 194.6 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.503/1.503, allocations: 205.1 MB / 222.4 MB, free: 4.598 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.771/1.771, allocations: 292.3 MB / 0.5489 GB, free: 12.84 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001501/0.001501, allocations: 73.27 kB / 0.6715 GB, free: 26.28 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2762/0.2777, allocations: 114.5 MB / 0.7834 GB, free: 13.52 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TraceSubstances): time 0.8591/1.137, allocations: 195.1 MB / 0.9739 GB, free: 15.5 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.02165/1.159, allocations: 14.28 MB / 0.9878 GB, free: 13.01 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002471/1.161, allocations: 42.81 kB / 0.9879 GB, free: 12.99 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.002635/1.164, allocations: 0.4891 MB / 0.9883 GB, free: 12.72 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.007459/1.171, allocations: 1.889 MB / 0.9902 GB, free: 11.68 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.003478/1.175, allocations: 0.855 MB / 0.991 GB, free: 11.11 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.005206/1.18, allocations: 2.563 MB / 0.9935 GB, free: 9.77 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002537/1.183, allocations: 1.108 MB / 0.9946 GB, free: 9.137 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006151/1.189, allocations: 1.598 MB / 0.9962 GB, free: 8.316 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002681/1.191, allocations: 0.9242 MB / 0.9971 GB, free: 7.855 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0006277/1.192, allocations: 109.8 kB / 0.9972 GB, free: 7.852 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004664/1.197, allocations: 1.093 MB / 0.9982 GB, free: 7.422 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.001482/1.198, allocations: 0.4992 MB / 0.9987 GB, free: 7.094 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.002157/1.2, allocations: 0.6278 MB / 0.9993 GB, free: 6.699 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.005423/1.206, allocations: 1.884 MB / 1.001 GB, free: 5.559 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 9.027e-06/1.206, allocations: 0 / 1.001 GB, free: 5.559 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.966e-06/1.206, allocations: 0 / 1.001 GB, free: 5.559 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 9.482e-05/1.206, allocations: 0 / 1.001 GB, free: 5.559 MB / 0.7325 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.004316/1.21, allocations: 1.457 MB / 1.003 GB, free: 4.461 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.322e-05/1.21, allocations: 7.438 kB / 1.003 GB, free: 4.461 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001712/1.212, allocations: 250.3 kB / 1.003 GB, free: 4.348 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00134/1.213, allocations: 0.7484 MB / 1.004 GB, free: 3.781 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.302e-05/1.214, allocations: 74.41 kB / 1.004 GB, free: 3.746 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001295/1.214, allocations: 97.97 kB / 1.004 GB, free: 3.715 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001827/1.215, allocations: 1.171 MB / 1.005 GB, free: 2.945 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.009e-05/1.216, allocations: 0 / 1.005 GB, free: 2.945 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.375e-05/1.216, allocations: 42.03 kB / 1.005 GB, free: 2.914 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.283e-05/1.216, allocations: 38.42 kB / 1.005 GB, free: 2.906 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001372/1.217, allocations: 0.9037 MB / 1.006 GB, free: 2.465 MB / 0.7325 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.006613/1.224, allocations: 5.766 MB / 1.011 GB, free: 13.27 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009222/1.225, allocations: 0.5285 MB / 1.012 GB, free: 12.99 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005104/1.225, allocations: 319.7 kB / 1.012 GB, free: 12.84 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007074/1.226, allocations: 315.8 kB / 1.013 GB, free: 12.53 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.553e-05/1.226, allocations: 41.72 kB / 1.013 GB, free: 12.48 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=49): time 2.334e-06/1.226, allocations: 0 / 1.013 GB, free: 12.48 MB / 0.7481 GB Notification: Performance of matching and sorting (n=49): time 0.001606/1.228, allocations: 0.792 MB / 1.013 GB, free: 12.09 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.603e-05/1.228, allocations: 57.09 kB / 1.013 GB, free: 12.03 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009107/1.229, allocations: 0.7467 MB / 1.014 GB, free: 11.61 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 5.062e-05/1.229, allocations: 38.52 kB / 1.014 GB, free: 11.57 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003861/1.229, allocations: 0.4972 MB / 1.015 GB, free: 11.12 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001642/1.229, allocations: 185.6 kB / 1.015 GB, free: 10.96 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002023/1.229, allocations: 145.4 kB / 1.015 GB, free: 10.88 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001287/1.23, allocations: 340 kB / 1.015 GB, free: 10.55 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003778/1.23, allocations: 247.4 kB / 1.016 GB, free: 10.43 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006647/1.231, allocations: 0.5562 MB / 1.016 GB, free: 9.902 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001095/1.232, allocations: 0.7956 MB / 1.017 GB, free: 9.297 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.913e-06/1.232, allocations: 4 kB / 1.017 GB, free: 9.293 MB / 0.7481 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001393/1.233, allocations: 0.844 MB / 1.018 GB, free: 8.859 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.472e-05/1.233, allocations: 9.719 kB / 1.018 GB, free: 8.859 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.45e-05/1.233, allocations: 9.656 kB / 1.018 GB, free: 8.859 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.409e-05/1.233, allocations: 12.66 kB / 1.018 GB, free: 8.859 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005526/1.234, allocations: 164.2 kB / 1.018 GB, free: 8.816 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.711e-05/1.234, allocations: 14.02 kB / 1.018 GB, free: 8.812 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007941/1.235, allocations: 92.95 kB / 1.018 GB, free: 8.75 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.605e-05/1.235, allocations: 35.59 kB / 1.018 GB, free: 8.742 MB / 0.7481 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 36 * 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 (86): * Single equations (assignments): 86 * 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.0005348/1.235, allocations: 326.8 kB / 1.018 GB, free: 8.504 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001379/1.235, allocations: 85.69 kB / 1.018 GB, free: 8.461 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009799/1.236, allocations: 0.6144 MB / 1.019 GB, free: 8.105 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.167e-06/1.236, allocations: 9.062 kB / 1.019 GB, free: 8.102 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.165e-06/1.236, allocations: 2.781 kB / 1.019 GB, free: 8.102 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007112/1.237, allocations: 0.516 MB / 1.02 GB, free: 7.82 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002529/1.24, allocations: 1.667 MB / 1.021 GB, free: 6.688 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.931e-06/1.24, allocations: 3.938 kB / 1.021 GB, free: 6.684 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005168/1.24, allocations: 111.8 kB / 1.021 GB, free: 6.66 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.308e-06/1.24, allocations: 4.812 kB / 1.021 GB, free: 6.66 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.633e-05/1.24, allocations: 11.34 kB / 1.021 GB, free: 6.656 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.127e-06/1.24, allocations: 6.938 kB / 1.021 GB, free: 6.652 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.977e-06/1.24, allocations: 6.531 kB / 1.021 GB, free: 6.648 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001543/1.242, allocations: 1.049 MB / 1.022 GB, free: 6.004 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003432/1.242, allocations: 230 kB / 1.023 GB, free: 5.809 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001005/1.242, allocations: 9.375 kB / 1.023 GB, free: 5.805 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004398/1.243, allocations: 22.77 kB / 1.023 GB, free: 5.789 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.616e-05/1.243, allocations: 31.52 kB / 1.023 GB, free: 5.773 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.732e-05/1.243, allocations: 16.84 kB / 1.023 GB, free: 5.77 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0006399/1.244, allocations: 0.5105 MB / 1.023 GB, free: 5.48 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.3e-07/1.244, allocations: 4 kB / 1.023 GB, free: 5.477 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0009942/1.245, allocations: 299.3 kB / 1.023 GB, free: 5.414 MB / 0.7481 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (49): * Single equations (assignments): 49 * 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.0005132/1.245, allocations: 202.7 kB / 1.024 GB, free: 5.277 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.00118/1.246, allocations: 0.7188 MB / 1.024 GB, free: 4.98 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 4.769e-06/1.246, allocations: 0 / 1.024 GB, free: 4.98 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0003652/1.247, allocations: 272 kB / 1.025 GB, free: 4.859 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001936/1.249, allocations: 447.6 kB / 1.025 GB, free: 4.633 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003689/1.252, allocations: 1.942 MB / 1.027 GB, free: 3.402 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00115/1.253, allocations: 1.119 MB / 1.028 GB, free: 2.504 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.001724/1.255, allocations: 262.3 kB / 1.028 GB, free: 2.391 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002961/1.256, allocations: 72.95 kB / 1.028 GB, free: 2.375 MB / 0.7481 GB Notification: Performance of SimCode: time 2.364e-06/1.256, allocations: 2.75 kB / 1.028 GB, free: 2.375 MB / 0.7481 GB Notification: Performance of Templates: time 0.0326/1.288, allocations: 15.44 MB / 1.043 GB, free: 4.086 MB / 0.7638 GB make -j1 -f Buildings_8_Buildings.Fluid.Sensors.Examples.TraceSubstances.makefile (rm -f Buildings_8_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe ; mkfifo Buildings_8_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe >> ../files/Buildings_8_Buildings.Fluid.Sensors.Examples.TraceSubstances.sim & ./Buildings_8_Buildings.Fluid.Sensors.Examples.TraceSubstances -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe 2>&1)