Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Fluid.Sources.Examples.TraceSubstancesFlowSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Sources.Examples.TraceSubstancesFlowSource") translateModel(IDEAS.Fluid.Sources.Examples.TraceSubstancesFlowSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.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.001366/0.001366, allocations: 103.9 kB / 16.35 MB, free: 5.875 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.00132/0.00132, allocations: 194.3 kB / 17.3 MB, free: 5.516 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.362/1.362, allocations: 222.9 MB / 241 MB, free: 14.98 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7987/0.7987, allocations: 132.2 MB / 423.3 MB, free: 6.59 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00131/0.00131, allocations: 63.91 kB / 0.5032 GB, free: 10.94 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4148/0.4162, allocations: 80.19 MB / 0.5815 GB, free: 27.51 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Examples.TraceSubstancesFlowSource): time 0.7019/1.118, allocations: 305.1 MB / 0.8794 GB, free: 0.7031 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.03795/1.156, allocations: 25.79 MB / 0.9046 GB, free: 8.32 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006729/1.163, allocations: 126.7 kB / 0.9048 GB, free: 8.219 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.006188/1.169, allocations: 1.806 MB / 0.9065 GB, free: 6.402 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.01821/1.187, allocations: 5.951 MB / 0.9123 GB, free: 440 kB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.008729/1.196, allocations: 2.626 MB / 0.9149 GB, free: 13.82 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.01465/1.211, allocations: 8.901 MB / 0.9236 GB, free: 4.898 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006716/1.218, allocations: 3.644 MB / 0.9271 GB, free: 1.172 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01148/1.229, allocations: 4.148 MB / 0.9312 GB, free: 13.05 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006835/1.236, allocations: 2.947 MB / 0.9341 GB, free: 10.11 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.001583/1.238, allocations: 360 kB / 0.9344 GB, free: 9.758 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01102/1.249, allocations: 4.61 MB / 0.9389 GB, free: 5.137 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.002877/1.252, allocations: 1.633 MB / 0.9405 GB, free: 3.5 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.005253/1.257, allocations: 2.139 MB / 0.9426 GB, free: 1.352 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.01621/1.273, allocations: 6.75 MB / 0.9492 GB, free: 10.58 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 6.743e-06/1.273, allocations: 0 / 0.9492 GB, free: 10.58 MB / 0.67 GB Notification: Performance of FrontEnd: time 3.857e-06/1.273, allocations: 4 kB / 0.9492 GB, free: 10.58 MB / 0.67 GB Notification: Performance of Transformations before backend: time 0.0001617/1.273, allocations: 7.875 kB / 0.9492 GB, free: 10.57 MB / 0.67 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.009734/1.283, allocations: 4.168 MB / 0.9533 GB, free: 6.332 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.952e-05/1.283, allocations: 16.02 kB / 0.9533 GB, free: 6.316 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006172/1.289, allocations: 0.9283 MB / 0.9542 GB, free: 5.383 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005957/1.295, allocations: 2.393 MB / 0.9565 GB, free: 2.914 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002698/1.296, allocations: 289.2 kB / 0.9568 GB, free: 2.617 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005892/1.296, allocations: 287.9 kB / 0.9571 GB, free: 2.336 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005953/1.302, allocations: 3.355 MB / 0.9604 GB, free: 14.89 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.686e-05/1.302, allocations: 0 / 0.9604 GB, free: 14.89 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002521/1.303, allocations: 120 kB / 0.9605 GB, free: 14.78 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001143/1.303, allocations: 109.3 kB / 0.9606 GB, free: 14.67 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004813/1.307, allocations: 2.785 MB / 0.9633 GB, free: 11.87 MB / 0.6856 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.01804/1.326, allocations: 13.23 MB / 0.9762 GB, free: 13.45 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002656/1.328, allocations: 1.822 MB / 0.978 GB, free: 11.62 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0015/1.33, allocations: 1.106 MB / 0.9791 GB, free: 10.52 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000489/1.33, allocations: 325.2 kB / 0.9794 GB, free: 10.15 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.595e-05/1.33, allocations: 56.56 kB / 0.9794 GB, free: 10.08 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=182): time 3.737e-06/1.33, allocations: 4 kB / 0.9794 GB, free: 10.08 MB / 0.7012 GB Notification: Performance of matching and sorting (n=182): time 0.005442/1.336, allocations: 2.719 MB / 0.9821 GB, free: 7.352 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.624e-05/1.336, allocations: 69.41 kB / 0.9822 GB, free: 7.273 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002947/1.339, allocations: 2.001 MB / 0.9841 GB, free: 5.254 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.0003082/1.339, allocations: 73.7 kB / 0.9842 GB, free: 5.176 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.001165/1.34, allocations: 1.402 MB / 0.9856 GB, free: 3.758 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007461/1.341, allocations: 0.6431 MB / 0.9862 GB, free: 3.105 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005516/1.342, allocations: 391.2 kB / 0.9866 GB, free: 2.715 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001049/1.342, allocations: 301.1 kB / 0.9869 GB, free: 2.418 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001328/1.343, allocations: 0.8052 MB / 0.9876 GB, free: 1.602 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001738/1.345, allocations: 1.444 MB / 0.989 GB, free: 15.89 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003133/1.348, allocations: 2.248 MB / 0.9912 GB, free: 13.46 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.444e-05/1.348, allocations: 8 kB / 0.9913 GB, free: 13.45 MB / 0.7169 GB Notification: Performance of matching and sorting (n=257) (initialization): time 0.004299/1.352, allocations: 2.483 MB / 0.9937 GB, free: 10.96 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.879e-05/1.352, allocations: 18.03 kB / 0.9937 GB, free: 10.94 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.116e-05/1.352, allocations: 12 kB / 0.9937 GB, free: 10.93 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.116e-05/1.352, allocations: 27.94 kB / 0.9937 GB, free: 10.9 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002522/1.355, allocations: 0.5422 MB / 0.9943 GB, free: 10.36 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002356/1.357, allocations: 4.161 MB / 0.9983 GB, free: 6.035 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002786/1.36, allocations: 219.5 kB / 0.9985 GB, free: 5.82 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001892/1.36, allocations: 99.91 kB / 0.9986 GB, free: 5.723 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002491/1.363, allocations: 1.472 MB / 1 GB, free: 4.242 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001672/1.365, allocations: 1.424 MB / 1.001 GB, free: 2.551 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003068/1.368, allocations: 2.225 MB / 1.004 GB, free: 152 kB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.818e-06/1.368, allocations: 4 kB / 1.004 GB, free: 148 kB / 0.7169 GB Notification: Performance of matching and sorting (n=257) (initialization_lambda0): time 0.004665/1.372, allocations: 2.471 MB / 1.006 GB, free: 13.66 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.457e-05/1.372, allocations: 10.03 kB / 1.006 GB, free: 13.65 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.059e-05/1.372, allocations: 16 kB / 1.006 GB, free: 13.64 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.607e-05/1.372, allocations: 20 kB / 1.006 GB, free: 13.62 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001769/1.374, allocations: 479.3 kB / 1.007 GB, free: 13.15 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.313e-05/1.374, allocations: 27.94 kB / 1.007 GB, free: 13.12 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002533/1.377, allocations: 196.3 kB / 1.007 GB, free: 12.93 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001594/1.377, allocations: 83.98 kB / 1.007 GB, free: 12.85 MB / 0.7325 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.0006/1.378, allocations: 324.2 kB / 1.007 GB, free: 12.52 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006484/1.378, allocations: 268.8 kB / 1.007 GB, free: 12.26 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003565/1.382, allocations: 2.095 MB / 1.009 GB, free: 10.14 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.704e-05/1.382, allocations: 20 kB / 1.009 GB, free: 10.12 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.534e-06/1.382, allocations: 0 / 1.009 GB, free: 10.12 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002714/1.385, allocations: 1.879 MB / 1.011 GB, free: 8.203 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008982/1.394, allocations: 5.17 MB / 1.016 GB, free: 2.93 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.915e-06/1.394, allocations: 0 / 1.016 GB, free: 2.93 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002318/1.396, allocations: 0.4994 MB / 1.017 GB, free: 2.43 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.869e-05/1.396, allocations: 12.09 kB / 1.017 GB, free: 2.418 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001273/1.396, allocations: 59.97 kB / 1.017 GB, free: 2.359 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002003/1.398, allocations: 4.126 MB / 1.021 GB, free: 14.07 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.362e-06/1.398, allocations: 4 kB / 1.021 GB, free: 14.07 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004773/1.403, allocations: 3.363 MB / 1.024 GB, free: 10.65 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001703/1.405, allocations: 0.5599 MB / 1.025 GB, free: 10.07 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003416/1.405, allocations: 43.94 kB / 1.025 GB, free: 10.02 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00161/1.407, allocations: 83.67 kB / 1.025 GB, free: 9.945 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002326/1.407, allocations: 117.8 kB / 1.025 GB, free: 9.832 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001346/1.407, allocations: 67.97 kB / 1.025 GB, free: 9.766 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.001944/1.409, allocations: 1.338 MB / 1.026 GB, free: 8.418 MB / 0.7481 GB Notification: Performance of sort global known variables: time 4.1e-07/1.409, allocations: 3.938 kB / 1.026 GB, free: 8.414 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.003844/1.413, allocations: 1.718 MB / 1.028 GB, free: 6.691 MB / 0.7481 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * 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 (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.0007806/1.414, allocations: 348.8 kB / 1.028 GB, free: 6.359 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.006164/1.42, allocations: 3.313 MB / 1.032 GB, free: 3.055 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 1.085e-05/1.42, allocations: 4 kB / 1.032 GB, free: 3.051 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.001715/1.421, allocations: 1.02 MB / 1.033 GB, free: 2.031 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006215/1.428, allocations: 1.529 MB / 1.034 GB, free: 0.5547 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2886/1.716, allocations: 6.474 MB / 1.04 GB, free: 323.4 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002636/1.719, allocations: 2.196 MB / 1.043 GB, free: 322.6 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.003456/1.722, allocations: 1.092 MB / 1.044 GB, free: 322.5 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006644/1.723, allocations: 211.8 kB / 1.044 GB, free: 322.5 MB / 0.7481 GB Notification: Performance of SimCode: time 1.954e-06/1.723, allocations: 0 / 1.044 GB, free: 322.5 MB / 0.7481 GB Notification: Performance of Templates: time 0.07598/1.799, allocations: 54.36 MB / 1.097 GB, free: 280.2 MB / 0.7481 GB make -j1 -f IDEAS_IDEAS.Fluid.Sources.Examples.TraceSubstancesFlowSource.makefile (rm -f IDEAS_IDEAS.Fluid.Sources.Examples.TraceSubstancesFlowSource.pipe ; mkfifo IDEAS_IDEAS.Fluid.Sources.Examples.TraceSubstancesFlowSource.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Sources.Examples.TraceSubstancesFlowSource.pipe >> ../files/IDEAS_IDEAS.Fluid.Sources.Examples.TraceSubstancesFlowSource.sim & ./IDEAS_IDEAS.Fluid.Sources.Examples.TraceSubstancesFlowSource -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > IDEAS_IDEAS.Fluid.Sources.Examples.TraceSubstancesFlowSource.pipe 2>&1)