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.001611/0.001611, allocations: 115.3 kB / 15.34 MB, free: 0.5117 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002486/0.002486, allocations: 192.3 kB / 16.25 MB, free: 6.582 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.714/1.714, allocations: 205.1 MB / 222.1 MB, free: 4.688 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.783/1.783, allocations: 292.3 MB / 0.5485 GB, free: 13.62 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.001386/0.001386, allocations: 68.12 kB / 0.671 GB, free: 26.17 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2909/0.2923, allocations: 114.6 MB / 0.7829 GB, free: 13.87 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TraceSubstances): time 0.8573/1.15, allocations: 192.6 MB / 0.9709 GB, free: 5.613 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.02381/1.174, allocations: 14.2 MB / 0.9848 GB, free: 5.27 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00265/1.176, allocations: 30.69 kB / 0.9848 GB, free: 5.27 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.002388/1.179, allocations: 432.6 kB / 0.9852 GB, free: 5.266 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.007129/1.186, allocations: 1.768 MB / 0.9869 GB, free: 5.168 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.00319/1.189, allocations: 0.783 MB / 0.9877 GB, free: 5.141 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.004652/1.194, allocations: 2.562 MB / 0.9902 GB, free: 5.094 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002064/1.196, allocations: 1.058 MB / 0.9912 GB, free: 4.926 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007079/1.203, allocations: 1.593 MB / 0.9928 GB, free: 4.801 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003175/1.206, allocations: 0.9881 MB / 0.9938 GB, free: 4.523 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.000671/1.207, allocations: 108.8 kB / 0.9939 GB, free: 4.52 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004175/1.211, allocations: 1.146 MB / 0.995 GB, free: 4.328 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0008913/1.212, allocations: 0.5011 MB / 0.9955 GB, free: 4.137 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.002193/1.214, allocations: 0.6328 MB / 0.9961 GB, free: 3.777 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.004629/1.219, allocations: 1.96 MB / 0.998 GB, free: 3.191 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 7.644e-06/1.219, allocations: 0 / 0.998 GB, free: 3.191 MB / 0.7325 GB Notification: Performance of FrontEnd: time 3.115e-06/1.219, allocations: 3.406 kB / 0.998 GB, free: 3.191 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 2.339e-05/1.219, allocations: 2.531 kB / 0.998 GB, free: 3.191 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.003456/1.222, allocations: 1.443 MB / 0.9994 GB, free: 18.23 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 8.091e-05/1.222, allocations: 11 kB / 0.9994 GB, free: 18.23 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001773/1.224, allocations: 253.3 kB / 0.9997 GB, free: 18.16 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00144/1.226, allocations: 0.7533 MB / 1 GB, free: 17.71 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.735e-05/1.226, allocations: 76.59 kB / 1 GB, free: 17.68 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001469/1.226, allocations: 91.84 kB / 1.001 GB, free: 17.65 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001739/1.228, allocations: 1.171 MB / 1.002 GB, free: 17.09 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.845e-05/1.228, allocations: 2.531 kB / 1.002 GB, free: 17.09 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.544e-05/1.228, allocations: 42.12 kB / 1.002 GB, free: 17.06 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.176e-05/1.228, allocations: 31.97 kB / 1.002 GB, free: 17.06 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001205/1.229, allocations: 0.9042 MB / 1.003 GB, free: 16.78 MB / 0.7481 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.006417/1.235, allocations: 5.725 MB / 1.008 GB, free: 12.25 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008767/1.236, allocations: 0.5257 MB / 1.009 GB, free: 12.04 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004466/1.237, allocations: 321.5 kB / 1.009 GB, free: 11.92 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006368/1.237, allocations: 309.3 kB / 1.009 GB, free: 11.64 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.423e-05/1.237, allocations: 42.25 kB / 1.009 GB, free: 11.59 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=49): time 2.605e-06/1.237, allocations: 4 kB / 1.009 GB, free: 11.59 MB / 0.7481 GB Notification: Performance of matching and sorting (n=49): time 0.001649/1.239, allocations: 0.7973 MB / 1.01 GB, free: 11.29 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.878e-05/1.239, allocations: 56.16 kB / 1.01 GB, free: 11.22 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001034/1.24, allocations: 0.7386 MB / 1.011 GB, free: 10.92 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 6.551e-05/1.24, allocations: 40.92 kB / 1.011 GB, free: 10.88 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004436/1.241, allocations: 0.5061 MB / 1.012 GB, free: 10.47 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002139/1.241, allocations: 173.9 kB / 1.012 GB, free: 10.34 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002575/1.241, allocations: 149.2 kB / 1.012 GB, free: 10.27 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.000152/1.241, allocations: 335.3 kB / 1.012 GB, free: 9.949 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000354/1.242, allocations: 248 kB / 1.012 GB, free: 9.867 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006301/1.242, allocations: 0.5581 MB / 1.013 GB, free: 9.395 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001002/1.243, allocations: 0.8014 MB / 1.014 GB, free: 8.871 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.909e-06/1.243, allocations: 0 / 1.014 GB, free: 8.871 MB / 0.7481 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001311/1.245, allocations: 0.8419 MB / 1.015 GB, free: 8.57 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.595e-05/1.245, allocations: 8.469 kB / 1.015 GB, free: 8.57 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.523e-05/1.245, allocations: 9.031 kB / 1.015 GB, free: 8.57 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.009e-05/1.245, allocations: 13.25 kB / 1.015 GB, free: 8.57 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005965/1.245, allocations: 154.5 kB / 1.015 GB, free: 8.566 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.822e-05/1.245, allocations: 20.42 kB / 1.015 GB, free: 8.562 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001037/1.247, allocations: 138.6 kB / 1.015 GB, free: 8.496 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.229e-05/1.247, allocations: 47.02 kB / 1.015 GB, free: 8.48 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.0005172/1.247, allocations: 323.2 kB / 1.015 GB, free: 8.285 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001483/1.247, allocations: 90.34 kB / 1.015 GB, free: 8.238 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009663/1.248, allocations: 0.6143 MB / 1.016 GB, free: 7.973 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.187e-06/1.248, allocations: 4.969 kB / 1.016 GB, free: 7.973 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.852e-06/1.248, allocations: 6.562 kB / 1.016 GB, free: 7.969 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007166/1.249, allocations: 0.5133 MB / 1.016 GB, free: 7.746 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002886/1.252, allocations: 1.663 MB / 1.018 GB, free: 6.922 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.819e-06/1.252, allocations: 6.688 kB / 1.018 GB, free: 6.918 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005551/1.252, allocations: 114.5 kB / 1.018 GB, free: 6.914 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.454e-06/1.252, allocations: 2.688 kB / 1.018 GB, free: 6.914 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.38e-05/1.253, allocations: 15.41 kB / 1.018 GB, free: 6.906 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.024e-06/1.253, allocations: 8.531 kB / 1.018 GB, free: 6.902 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.138e-06/1.253, allocations: 3.375 kB / 1.018 GB, free: 6.902 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001441/1.254, allocations: 1.052 MB / 1.019 GB, free: 6.289 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004887/1.255, allocations: 228.2 kB / 1.019 GB, free: 6.098 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001091/1.255, allocations: 13.06 kB / 1.019 GB, free: 6.09 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005991/1.255, allocations: 68.09 kB / 1.019 GB, free: 6.055 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.418e-05/1.255, allocations: 27.38 kB / 1.02 GB, free: 6.043 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.669e-05/1.255, allocations: 21.23 kB / 1.02 GB, free: 6.035 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0008371/1.256, allocations: 0.5117 MB / 1.02 GB, free: 5.742 MB / 0.7481 GB Notification: Performance of sort global known variables: time 6.61e-07/1.256, allocations: 2.625 kB / 1.02 GB, free: 5.742 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.001541/1.258, allocations: 296.1 kB / 1.02 GB, free: 5.684 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.0006261/1.258, allocations: 207.2 kB / 1.021 GB, free: 5.547 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.001428/1.26, allocations: 0.705 MB / 1.021 GB, free: 5.293 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 9.508e-06/1.26, allocations: 2.469 kB / 1.021 GB, free: 5.293 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0004044/1.26, allocations: 270.7 kB / 1.021 GB, free: 5.184 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002177/1.262, allocations: 444.2 kB / 1.022 GB, free: 4.965 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004115/1.267, allocations: 2.303 MB / 1.024 GB, free: 3.379 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007654/1.267, allocations: 1.126 MB / 1.025 GB, free: 2.473 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.001035/1.268, allocations: 274.1 kB / 1.026 GB, free: 2.352 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002035/1.269, allocations: 69.39 kB / 1.026 GB, free: 2.34 MB / 0.7481 GB Notification: Performance of SimCode: time 2.264e-06/1.269, allocations: 0 / 1.026 GB, free: 2.34 MB / 0.7481 GB Notification: Performance of Templates: time 0.03352/1.302, allocations: 15.37 MB / 1.041 GB, free: 8.91 MB / 0.7637 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)