Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Sources.Examples.TraceSubstancesFlowSource.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(IBPSA.Fluid.Sources.Examples.TraceSubstancesFlowSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Sources.Examples.TraceSubstancesFlowSource") translateModel(IBPSA.Fluid.Sources.Examples.TraceSubstancesFlowSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Sources.Examples.TraceSubstancesFlowSource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001795/0.001795, allocations: 103.9 kB / 16.94 MB, free: 6.191 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.00185/0.00185, allocations: 191.4 kB / 17.86 MB, free: 5.293 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.319/1.319, allocations: 222.9 MB / 241.6 MB, free: 15.24 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.735/0.735, allocations: 122.9 MB / 414.6 MB, free: 15.88 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001499/0.001499, allocations: 67.89 kB / 0.4917 GB, free: 7.465 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3878/0.3893, allocations: 77.91 MB / 0.5678 GB, free: 32.67 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sources.Examples.TraceSubstancesFlowSource): time 0.6848/1.074, allocations: 305.1 MB / 0.8658 GB, free: 13.29 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.04151/1.116, allocations: 25.82 MB / 0.891 GB, free: 10.44 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0075/1.123, allocations: 128.1 kB / 0.8911 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.007371/1.131, allocations: 1.802 MB / 0.8929 GB, free: 9.086 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.02162/1.152, allocations: 5.971 MB / 0.8987 GB, free: 3.812 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.01091/1.163, allocations: 2.595 MB / 0.9013 GB, free: 1.234 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.01885/1.182, allocations: 8.895 MB / 0.9099 GB, free: 8.32 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009407/1.192, allocations: 3.624 MB / 0.9135 GB, free: 4.613 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01462/1.206, allocations: 4.136 MB / 0.9175 GB, free: 0.5117 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007654/1.214, allocations: 2.96 MB / 0.9204 GB, free: 13.55 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.002323/1.216, allocations: 360 kB / 0.9208 GB, free: 13.2 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0132/1.23, allocations: 4.607 MB / 0.9253 GB, free: 8.586 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.00382/1.234, allocations: 1.637 MB / 0.9269 GB, free: 6.945 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.006853/1.24, allocations: 2.131 MB / 0.9289 GB, free: 4.805 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.01843/1.259, allocations: 6.669 MB / 0.9355 GB, free: 14.12 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 1.452e-05/1.259, allocations: 0 / 0.9355 GB, free: 14.12 MB / 0.6544 GB Notification: Performance of FrontEnd: time 4.739e-06/1.259, allocations: 7.938 kB / 0.9355 GB, free: 14.11 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 0.0003445/1.259, allocations: 0 / 0.9355 GB, free: 14.11 MB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 693 * Number of variables: 693 Notification: Performance of Generate backend data structure: time 0.01427/1.274, allocations: 4.173 MB / 0.9395 GB, free: 9.867 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 5.68e-05/1.274, allocations: 8.625 kB / 0.9395 GB, free: 9.859 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007666/1.281, allocations: 0.9361 MB / 0.9405 GB, free: 8.918 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006912/1.288, allocations: 2.271 MB / 0.9427 GB, free: 6.57 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003912/1.289, allocations: 269.3 kB / 0.9429 GB, free: 6.293 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001242/1.29, allocations: 291.9 kB / 0.9432 GB, free: 6.008 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01055/1.301, allocations: 3.363 MB / 0.9465 GB, free: 2.559 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001372/1.301, allocations: 0 / 0.9465 GB, free: 2.559 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008112/1.302, allocations: 112 kB / 0.9466 GB, free: 2.449 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001692/1.302, allocations: 105.3 kB / 0.9467 GB, free: 2.344 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007155/1.309, allocations: 2.812 MB / 0.9494 GB, free: 15.52 MB / 0.67 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.02402/1.333, allocations: 13.35 MB / 0.9625 GB, free: 0.9844 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003627/1.337, allocations: 1.696 MB / 0.9641 GB, free: 15.27 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002048/1.339, allocations: 1.102 MB / 0.9652 GB, free: 14.17 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006424/1.34, allocations: 337.2 kB / 0.9655 GB, free: 13.79 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.593e-05/1.34, allocations: 56.56 kB / 0.9656 GB, free: 13.72 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=182): time 4.138e-06/1.34, allocations: 0 / 0.9656 GB, free: 13.72 MB / 0.6856 GB Notification: Performance of matching and sorting (n=182): time 0.006776/1.347, allocations: 2.731 MB / 0.9683 GB, free: 10.98 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.47e-05/1.347, allocations: 69.41 kB / 0.9683 GB, free: 10.91 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004127/1.351, allocations: 1.998 MB / 0.9703 GB, free: 8.891 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0005585/1.351, allocations: 65.7 kB / 0.9703 GB, free: 8.82 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.001465/1.353, allocations: 1.406 MB / 0.9717 GB, free: 7.398 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.001157/1.354, allocations: 0.6509 MB / 0.9723 GB, free: 6.738 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001192/1.355, allocations: 387.2 kB / 0.9727 GB, free: 6.352 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001357/1.355, allocations: 305.1 kB / 0.973 GB, free: 6.051 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001739/1.357, allocations: 0.813 MB / 0.9738 GB, free: 5.227 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002273/1.359, allocations: 1.406 MB / 0.9752 GB, free: 3.566 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003953/1.363, allocations: 2.256 MB / 0.9774 GB, free: 1.129 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.767e-05/1.363, allocations: 4 kB / 0.9774 GB, free: 1.125 MB / 0.6856 GB Notification: Performance of matching and sorting (n=257) (initialization): time 0.00579/1.369, allocations: 2.498 MB / 0.9798 GB, free: 14.62 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 3.631e-05/1.369, allocations: 12 kB / 0.9798 GB, free: 14.61 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.324e-05/1.369, allocations: 15.98 kB / 0.9799 GB, free: 14.59 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.069e-05/1.369, allocations: 24 kB / 0.9799 GB, free: 14.57 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002904/1.372, allocations: 0.5544 MB / 0.9804 GB, free: 14.01 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002827/1.375, allocations: 4.153 MB / 0.9845 GB, free: 9.695 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003377/1.379, allocations: 218.2 kB / 0.9847 GB, free: 9.48 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005008/1.379, allocations: 87.98 kB / 0.9848 GB, free: 9.395 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003642/1.383, allocations: 1.461 MB / 0.9862 GB, free: 7.926 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00232/1.385, allocations: 1.406 MB / 0.9876 GB, free: 6.262 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00385/1.389, allocations: 2.236 MB / 0.9897 GB, free: 3.848 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.215e-05/1.389, allocations: 4 kB / 0.9897 GB, free: 3.844 MB / 0.7012 GB Notification: Performance of matching and sorting (n=257) (initialization_lambda0): time 0.005827/1.395, allocations: 2.486 MB / 0.9922 GB, free: 1.348 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 3.495e-05/1.395, allocations: 12 kB / 0.9922 GB, free: 1.336 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.429e-05/1.395, allocations: 12 kB / 0.9922 GB, free: 1.324 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.389e-05/1.395, allocations: 24 kB / 0.9922 GB, free: 1.301 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002006/1.397, allocations: 471.3 kB / 0.9927 GB, free: 0.8398 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.646e-05/1.397, allocations: 35.86 kB / 0.9927 GB, free: 0.8047 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003308/1.401, allocations: 186.8 kB / 0.9929 GB, free: 0.6211 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000357/1.401, allocations: 88 kB / 0.993 GB, free: 0.5352 MB / 0.7012 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 59 * 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 (257): * Single equations (assignments): 250 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 7 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 7 systems {1, 1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0008823/1.402, allocations: 310.1 kB / 0.9933 GB, free: 232 kB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001089/1.403, allocations: 268.9 kB / 0.9935 GB, free: 15.96 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004556/1.408, allocations: 2.115 MB / 0.9956 GB, free: 13.83 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.62e-05/1.408, allocations: 16 kB / 0.9956 GB, free: 13.81 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.357e-05/1.408, allocations: 7.984 kB / 0.9956 GB, free: 13.8 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002993/1.411, allocations: 1.882 MB / 0.9974 GB, free: 11.88 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01113/1.422, allocations: 5.185 MB / 1.003 GB, free: 6.586 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-05/1.422, allocations: 7.938 kB / 1.003 GB, free: 6.578 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002596/1.424, allocations: 499.8 kB / 1.003 GB, free: 6.09 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.124e-05/1.425, allocations: 8 kB / 1.003 GB, free: 6.082 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002514/1.425, allocations: 55.97 kB / 1.003 GB, free: 6.027 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002262/1.427, allocations: 4.122 MB / 1.007 GB, free: 1.742 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.99e-06/1.427, allocations: 4 kB / 1.007 GB, free: 1.738 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006018/1.433, allocations: 3.227 MB / 1.01 GB, free: 14.46 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001666/1.435, allocations: 0.5677 MB / 1.011 GB, free: 13.87 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007199/1.436, allocations: 43.98 kB / 1.011 GB, free: 13.82 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002447/1.438, allocations: 82.19 kB / 1.011 GB, free: 13.75 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002721/1.438, allocations: 121.7 kB / 1.011 GB, free: 13.63 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001977/1.439, allocations: 67.95 kB / 1.011 GB, free: 13.56 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.002846/1.441, allocations: 1.334 MB / 1.012 GB, free: 12.22 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.91e-07/1.441, allocations: 0 / 1.012 GB, free: 12.22 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.006167/1.448, allocations: 1.725 MB / 1.014 GB, free: 10.49 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 20 (vol.dynBal.medium.Xi[1],vol.dynBal.U,vol.dynBal.m,vol.dynBal.mC[1],vol1.dynBal.medium.Xi[1],vol1.dynBal.U,vol1.dynBal.m,vol1.dynBal.mC[1],vol2.dynBal.medium.Xi[1],vol2.dynBal.U,vol2.dynBal.m,vol2.dynBal.mC[1],vol3.dynBal.medium.Xi[1],vol3.dynBal.U,vol3.dynBal.m,vol3.dynBal.mC[1],vol4.dynBal.medium.Xi[1],vol4.dynBal.U,vol4.dynBal.m,vol4.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 (182): * Single equations (assignments): 175 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 7 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 7 systems {1, 1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001136/1.449, allocations: 356.5 kB / 1.014 GB, free: 10.14 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.01114/1.46, allocations: 4.638 MB / 1.019 GB, free: 5.512 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.501e-05/1.46, allocations: 7.938 kB / 1.019 GB, free: 5.504 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.002294/1.462, allocations: 1.027 MB / 1.02 GB, free: 4.477 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009519/1.472, allocations: 1.525 MB / 1.021 GB, free: 3.02 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3376/1.809, allocations: 6.798 MB / 1.028 GB, free: 312.5 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003872/1.813, allocations: 2.196 MB / 1.03 GB, free: 311.7 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001586/1.815, allocations: 229.2 kB / 1.03 GB, free: 311.7 MB / 0.7325 GB Notification: Performance of SimCode: time 2.565e-06/1.815, allocations: 0 / 1.03 GB, free: 311.7 MB / 0.7325 GB Notification: Performance of Templates: time 0.1532/1.968, allocations: 140.5 MB / 1.168 GB, free: 192.2 MB / 0.7325 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Sources.Examples.TraceSubstancesFlowSource.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Sources.Examples.TraceSubstancesFlowSource.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Sources.Examples.TraceSubstancesFlowSource.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Sources.Examples.TraceSubstancesFlowSource.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Sources.Examples.TraceSubstancesFlowSource.sim & ./IBPSA_latest_IBPSA.Fluid.Sources.Examples.TraceSubstancesFlowSource -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Sources.Examples.TraceSubstancesFlowSource.pipe 2>&1)