Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/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(Annex60.Fluid.Sources.Examples.TraceSubstancesFlowSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.Sources.Examples.TraceSubstancesFlowSource") translateModel(Annex60.Fluid.Sources.Examples.TraceSubstancesFlowSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.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.0009814/0.0009819, allocations: 97.48 kB / 15.36 MB, free: 0.7344 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.006411/0.006411, allocations: 168.3 kB / 16.26 MB, free: 6.652 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.681/1.681, allocations: 205.4 MB / 222.4 MB, free: 5.797 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4026/0.4026, allocations: 55.02 MB / 325.8 MB, free: 0.5586 MB / 254.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: Annex60 requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0008494/0.0008493, allocations: 20.61 kB / 397.3 MB, free: 11.39 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3952/0.396, allocations: 60.72 MB / 458 MB, free: 38.43 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.Sources.Examples.TraceSubstancesFlowSource): time 0.6593/1.055, allocations: 299.7 MB / 0.7399 GB, free: 0.4961 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.03398/1.089, allocations: 25.63 MB / 0.7649 GB, free: 10.36 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005473/1.095, allocations: 107.3 kB / 0.765 GB, free: 10.36 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.005651/1.101, allocations: 1.801 MB / 0.7668 GB, free: 9.5 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.01698/1.118, allocations: 5.245 MB / 0.7719 GB, free: 6.867 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.007872/1.125, allocations: 2.743 MB / 0.7746 GB, free: 4.59 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0181/1.144, allocations: 14.08 MB / 0.7883 GB, free: 7.816 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006396/1.15, allocations: 2.951 MB / 0.7912 GB, free: 4.859 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01111/1.161, allocations: 3.801 MB / 0.7949 GB, free: 1.27 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007478/1.169, allocations: 3.154 MB / 0.798 GB, free: 14.38 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0009108/1.17, allocations: 168 kB / 0.7982 GB, free: 14.21 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01076/1.18, allocations: 4.211 MB / 0.8023 GB, free: 10.46 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.002321/1.183, allocations: 1.622 MB / 0.8039 GB, free: 8.852 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.004136/1.187, allocations: 2.13 MB / 0.8059 GB, free: 6.73 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.01234/1.199, allocations: 7.15 MB / 0.8129 GB, free: 15.88 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.432e-06/1.199, allocations: 0 / 0.8129 GB, free: 15.88 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.465e-06/1.199, allocations: 0 / 0.8129 GB, free: 15.88 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 0.0001628/1.199, allocations: 0 / 0.8129 GB, free: 15.88 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 788 * Number of variables: 788 Notification: Performance of Generate backend data structure: time 0.007288/1.207, allocations: 3.727 MB / 0.8166 GB, free: 12.1 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.286e-05/1.207, allocations: 8.031 kB / 0.8166 GB, free: 12.09 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005227/1.212, allocations: 0.9071 MB / 0.8175 GB, free: 11.18 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004124/1.216, allocations: 2.311 MB / 0.8197 GB, free: 8.844 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002667/1.216, allocations: 305.5 kB / 0.82 GB, free: 8.535 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005/1.217, allocations: 324 kB / 0.8203 GB, free: 8.219 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008413/1.225, allocations: 4.175 MB / 0.8244 GB, free: 3.973 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.432e-05/1.225, allocations: 7.844 kB / 0.8244 GB, free: 3.965 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003266/1.226, allocations: 139.9 kB / 0.8245 GB, free: 3.828 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001288/1.226, allocations: 122.1 kB / 0.8247 GB, free: 3.707 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006744/1.233, allocations: 3.517 MB / 0.8281 GB, free: 184 kB / 0.5606 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.02044/1.253, allocations: 15.57 MB / 0.8433 GB, free: 15.43 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003983/1.257, allocations: 2.026 MB / 0.8453 GB, free: 13.4 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001388/1.259, allocations: 1.076 MB / 0.8463 GB, free: 12.33 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001115/1.259, allocations: 52.53 kB / 0.8464 GB, free: 12.28 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.364e-05/1.259, allocations: 64.56 kB / 0.8464 GB, free: 12.21 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=186): time 3.667e-06/1.259, allocations: 0 / 0.8464 GB, free: 12.21 MB / 0.5919 GB Notification: Performance of matching and sorting (n=186): time 0.00793/1.267, allocations: 3.363 MB / 0.8497 GB, free: 8.844 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.204e-05/1.267, allocations: 77.34 kB / 0.8498 GB, free: 8.754 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002902/1.27, allocations: 2.273 MB / 0.852 GB, free: 6.461 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0002852/1.27, allocations: 81.7 kB / 0.8521 GB, free: 6.375 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.001141/1.271, allocations: 1.536 MB / 0.8536 GB, free: 4.832 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005954/1.272, allocations: 0.658 MB / 0.8542 GB, free: 4.176 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002476/1.272, allocations: 194.3 kB / 0.8544 GB, free: 3.98 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 8.557e-05/1.272, allocations: 301.1 kB / 0.8547 GB, free: 3.684 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001752/1.274, allocations: 1.012 MB / 0.8557 GB, free: 2.668 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002208/1.276, allocations: 1.737 MB / 0.8574 GB, free: 0.6172 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003958/1.28, allocations: 2.779 MB / 0.8601 GB, free: 13.59 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.296e-05/1.28, allocations: 7.984 kB / 0.8601 GB, free: 13.58 MB / 0.6075 GB Notification: Performance of matching and sorting (n=296) (initialization): time 0.005556/1.286, allocations: 3.126 MB / 0.8632 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 0.00052/1.286, allocations: 0.6835 MB / 0.8638 GB, free: 9.496 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.586e-05/1.286, allocations: 16 kB / 0.8638 GB, free: 9.48 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.012e-05/1.286, allocations: 32 kB / 0.8639 GB, free: 9.449 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0105/1.297, allocations: 2.052 MB / 0.8659 GB, free: 7.395 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2557/1.552, allocations: 11.31 MB / 0.8769 GB, free: 253.2 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00395/1.557, allocations: 484.4 kB / 0.8774 GB, free: 253.2 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002677/1.557, allocations: 101.5 kB / 0.8775 GB, free: 253.2 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 9.057e-06/1.557, allocations: 3 kB / 0.8775 GB, free: 253.2 MB / 0.6075 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003451/1.56, allocations: 2.615 MB / 0.88 GB, free: 253 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.92e-05/1.56, allocations: 16.59 kB / 0.8801 GB, free: 253 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.305e-05/1.56, allocations: 28.88 kB / 0.8801 GB, free: 253 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001742/1.562, allocations: 0.5269 MB / 0.8806 GB, free: 253 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.465e-05/1.562, allocations: 45.23 kB / 0.8806 GB, free: 253 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003053/1.565, allocations: 390.3 kB / 0.881 GB, free: 253 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001296/1.565, allocations: 103.9 kB / 0.8811 GB, free: 253 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 75 * 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 (296): * Single equations (assignments): 286 * Array equations: 0 * Algorithm blocks: 3 * 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.001856/1.567, allocations: 0.9238 MB / 0.882 GB, free: 252.8 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006921/1.568, allocations: 293 kB / 0.8823 GB, free: 252.8 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006587/1.569, allocations: 323.8 kB / 0.8826 GB, free: 252.7 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.609e-05/1.569, allocations: 25.69 kB / 0.8826 GB, free: 252.7 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.742e-05/1.569, allocations: 0 / 0.8826 GB, free: 252.7 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003589/1.572, allocations: 2.123 MB / 0.8847 GB, free: 252.4 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008468/1.581, allocations: 5.48 MB / 0.8901 GB, free: 251 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.425e-06/1.581, allocations: 6.125 kB / 0.8901 GB, free: 251 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.009219/1.59, allocations: 1.912 MB / 0.8919 GB, free: 251 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.971e-05/1.59, allocations: 8.406 kB / 0.8919 GB, free: 251 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001332/1.59, allocations: 52.12 kB / 0.892 GB, free: 250.9 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01236/1.603, allocations: 11.08 MB / 0.9028 GB, free: 241.4 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/1.603, allocations: 2.844 kB / 0.9028 GB, free: 241.4 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006419/1.609, allocations: 3.73 MB / 0.9064 GB, free: 240 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00132/1.61, allocations: 0.6424 MB / 0.9071 GB, free: 239.6 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005052/1.611, allocations: 40.42 kB / 0.9071 GB, free: 239.5 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002986/1.614, allocations: 315.6 kB / 0.9074 GB, free: 239.5 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002724/1.614, allocations: 122.8 kB / 0.9075 GB, free: 239.5 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001998/1.614, allocations: 93.84 kB / 0.9076 GB, free: 239.5 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.002216/1.617, allocations: 1.516 MB / 0.9091 GB, free: 238.9 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.51e-07/1.617, allocations: 0 / 0.9091 GB, free: 238.9 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.004746/1.621, allocations: 1.915 MB / 0.911 GB, free: 238.5 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 20 (vol.dynBal.U,vol.dynBal.m,vol.dynBal.mXi[1],vol.dynBal.mC[1],vol1.dynBal.U,vol1.dynBal.m,vol1.dynBal.mXi[1],vol1.dynBal.mC[1],vol2.dynBal.U,vol2.dynBal.m,vol2.dynBal.mXi[1],vol2.dynBal.mC[1],vol3.dynBal.U,vol3.dynBal.m,vol3.dynBal.mXi[1],vol3.dynBal.mC[1],vol4.dynBal.U,vol4.dynBal.m,vol4.dynBal.mXi[1],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 (186): * Single equations (assignments): 179 * 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.0007773/1.622, allocations: 354 kB / 0.9113 GB, free: 238.4 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.01688/1.639, allocations: 5.673 MB / 0.9168 GB, free: 236.9 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.39e-05/1.639, allocations: 2.344 kB / 0.9169 GB, free: 236.9 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.01779/1.657, allocations: 3.725 MB / 0.9205 GB, free: 236.4 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01152/1.668, allocations: 1.703 MB / 0.9222 GB, free: 236 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01437/1.683, allocations: 8.688 MB / 0.9306 GB, free: 231 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003133/1.686, allocations: 2.289 MB / 0.9329 GB, free: 230.1 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.005151/1.691, allocations: 1.136 MB / 0.934 GB, free: 229.9 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007862/1.692, allocations: 224.8 kB / 0.9342 GB, free: 229.9 MB / 0.6075 GB Notification: Performance of SimCode: time 6.91e-07/1.692, allocations: 0 / 0.9342 GB, free: 229.9 MB / 0.6075 GB Notification: Performance of Templates: time 0.08625/1.778, allocations: 59.9 MB / 0.9927 GB, free: 175.4 MB / 0.6075 GB make -j1 -f Annex60_1.0.0_Annex60.Fluid.Sources.Examples.TraceSubstancesFlowSource.makefile Environment - environmentSimulation: (rm -f Annex60_1.0.0_Annex60.Fluid.Sources.Examples.TraceSubstancesFlowSource.pipe ; mkfifo Annex60_1.0.0_Annex60.Fluid.Sources.Examples.TraceSubstancesFlowSource.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Fluid.Sources.Examples.TraceSubstancesFlowSource.pipe >> ../files/Annex60_1.0.0_Annex60.Fluid.Sources.Examples.TraceSubstancesFlowSource.sim & ./Annex60_1.0.0_Annex60.Fluid.Sources.Examples.TraceSubstancesFlowSource -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Fluid.Sources.Examples.TraceSubstancesFlowSource.pipe 2>&1) Environment - environmentSimulation: