Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Fluid.Sources.Examples.TraceSubstancesFlowSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Sources.Examples.TraceSubstancesFlowSource") translateModel(IDEAS.Fluid.Sources.Examples.TraceSubstancesFlowSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.001409/0.001409, allocations: 103.7 kB / 16.35 MB, free: 5.824 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.0013/0.0013, allocations: 190.5 kB / 17.29 MB, free: 5.48 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.321/1.321, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.763/0.763, allocations: 135.1 MB / 426.3 MB, free: 4.133 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001176/0.001177, allocations: 63.89 kB / 0.5067 GB, free: 7.668 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3318/0.3329, allocations: 80.9 MB / 0.5858 GB, free: 25.39 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Examples.TraceSubstancesFlowSource): time 0.644/0.977, allocations: 305.1 MB / 0.8837 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.03631/1.013, allocations: 25.81 MB / 0.9089 GB, free: 2.75 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007262/1.021, allocations: 127.2 kB / 0.909 GB, free: 2.625 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.006039/1.027, allocations: 1.798 MB / 0.9108 GB, free: 0.8164 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.01623/1.043, allocations: 5.949 MB / 0.9166 GB, free: 10.84 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.007267/1.05, allocations: 2.629 MB / 0.9192 GB, free: 8.23 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.01222/1.063, allocations: 8.904 MB / 0.9279 GB, free: 15.31 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005047/1.068, allocations: 3.632 MB / 0.9314 GB, free: 11.59 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009547/1.077, allocations: 4.158 MB / 0.9355 GB, free: 7.469 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005292/1.083, allocations: 2.955 MB / 0.9383 GB, free: 4.516 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.001239/1.084, allocations: 356 kB / 0.9387 GB, free: 4.168 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01247/1.096, allocations: 4.599 MB / 0.9432 GB, free: 15.56 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.003993/1.1, allocations: 1.644 MB / 0.9448 GB, free: 13.91 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.006303/1.107, allocations: 2.135 MB / 0.9469 GB, free: 11.77 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.01817/1.125, allocations: 6.746 MB / 0.9535 GB, free: 5 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 8.376e-06/1.125, allocations: 4 kB / 0.9535 GB, free: 4.996 MB / 0.67 GB Notification: Performance of FrontEnd: time 2.294e-06/1.125, allocations: 0 / 0.9535 GB, free: 4.996 MB / 0.67 GB Notification: Performance of Transformations before backend: time 0.0002461/1.125, allocations: 0 / 0.9535 GB, free: 4.996 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.01239/1.138, allocations: 4.179 MB / 0.9575 GB, free: 0.7461 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 3.871e-05/1.138, allocations: 9.109 kB / 0.9576 GB, free: 0.7383 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008416/1.146, allocations: 0.94 MB / 0.9585 GB, free: 15.79 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007573/1.154, allocations: 2.4 MB / 0.9608 GB, free: 13.32 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004036/1.154, allocations: 273.2 kB / 0.9611 GB, free: 13.04 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009592/1.155, allocations: 291.9 kB / 0.9614 GB, free: 12.75 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006191/1.161, allocations: 3.355 MB / 0.9646 GB, free: 9.309 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.183e-05/1.161, allocations: 4 kB / 0.9646 GB, free: 9.305 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002402/1.162, allocations: 116 kB / 0.9647 GB, free: 9.191 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001005/1.162, allocations: 105.3 kB / 0.9648 GB, free: 9.086 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004142/1.166, allocations: 2.792 MB / 0.9676 GB, free: 6.281 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.01591/1.182, allocations: 13.23 MB / 0.9805 GB, free: 7.871 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002446/1.184, allocations: 1.826 MB / 0.9823 GB, free: 6.035 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001439/1.186, allocations: 1.102 MB / 0.9833 GB, free: 4.934 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004867/1.186, allocations: 325.2 kB / 0.9837 GB, free: 4.562 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.605e-05/1.186, allocations: 64.55 kB / 0.9837 GB, free: 4.488 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=182): time 3.858e-06/1.186, allocations: 0 / 0.9837 GB, free: 4.488 MB / 0.7012 GB Notification: Performance of matching and sorting (n=182): time 0.004759/1.191, allocations: 2.733 MB / 0.9864 GB, free: 1.754 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.16e-05/1.191, allocations: 73.34 kB / 0.9865 GB, free: 1.672 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002572/1.194, allocations: 1.998 MB / 0.9884 GB, free: 15.66 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0002183/1.194, allocations: 65.7 kB / 0.9885 GB, free: 15.59 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009203/1.195, allocations: 1.41 MB / 0.9898 GB, free: 14.16 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005992/1.195, allocations: 0.6314 MB / 0.9905 GB, free: 13.52 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005153/1.196, allocations: 395.2 kB / 0.9908 GB, free: 13.12 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 8.506e-05/1.196, allocations: 301.1 kB / 0.9911 GB, free: 12.83 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001178/1.197, allocations: 0.813 MB / 0.9919 GB, free: 12 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001625/1.199, allocations: 1.435 MB / 0.9933 GB, free: 10.3 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002817/1.202, allocations: 2.252 MB / 0.9955 GB, free: 7.863 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.945e-06/1.202, allocations: 0 / 0.9955 GB, free: 7.863 MB / 0.7169 GB Notification: Performance of matching and sorting (n=257) (initialization): time 0.004181/1.206, allocations: 2.49 MB / 0.998 GB, free: 5.363 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.657e-05/1.206, allocations: 12 kB / 0.998 GB, free: 5.352 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.075e-05/1.206, allocations: 15.94 kB / 0.998 GB, free: 5.336 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.364e-05/1.206, allocations: 24 kB / 0.998 GB, free: 5.312 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002409/1.208, allocations: 0.5464 MB / 0.9985 GB, free: 4.766 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00204/1.211, allocations: 4.153 MB / 1.003 GB, free: 460 kB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002557/1.213, allocations: 232.4 kB / 1.003 GB, free: 228 kB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001586/1.213, allocations: 83.98 kB / 1.003 GB, free: 144 kB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002325/1.216, allocations: 1.461 MB / 1.004 GB, free: 14.67 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001605/1.217, allocations: 1.428 MB / 1.006 GB, free: 12.97 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002834/1.22, allocations: 2.237 MB / 1.008 GB, free: 10.56 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.326e-06/1.22, allocations: 4 kB / 1.008 GB, free: 10.55 MB / 0.7325 GB Notification: Performance of matching and sorting (n=257) (initialization_lambda0): time 0.004046/1.224, allocations: 2.467 MB / 1.01 GB, free: 8.078 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.136e-05/1.224, allocations: 12 kB / 1.01 GB, free: 8.066 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.386e-05/1.224, allocations: 12 kB / 1.01 GB, free: 8.055 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.439e-05/1.224, allocations: 24 kB / 1.01 GB, free: 8.031 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001701/1.226, allocations: 467.8 kB / 1.011 GB, free: 7.574 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.43e-05/1.226, allocations: 35.86 kB / 1.011 GB, free: 7.539 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00242/1.228, allocations: 199.8 kB / 1.011 GB, free: 7.348 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001468/1.229, allocations: 95.97 kB / 1.011 GB, free: 7.254 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.0004936/1.229, allocations: 307.9 kB / 1.011 GB, free: 6.945 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004723/1.23, allocations: 272.8 kB / 1.012 GB, free: 6.676 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00341/1.233, allocations: 2.095 MB / 1.014 GB, free: 4.562 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.625e-05/1.233, allocations: 19.94 kB / 1.014 GB, free: 4.543 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.103e-06/1.233, allocations: 0 / 1.014 GB, free: 4.543 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002574/1.236, allocations: 1.882 MB / 1.016 GB, free: 2.613 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00827/1.244, allocations: 5.162 MB / 1.021 GB, free: 13.35 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.585e-05/1.244, allocations: 4 kB / 1.021 GB, free: 13.34 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002296/1.246, allocations: 0.5036 MB / 1.021 GB, free: 12.84 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.866e-05/1.246, allocations: 12 kB / 1.021 GB, free: 12.83 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001266/1.246, allocations: 51.98 kB / 1.021 GB, free: 12.78 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002383/1.249, allocations: 4.13 MB / 1.025 GB, free: 8.484 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.366e-06/1.249, allocations: 0 / 1.025 GB, free: 8.484 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005071/1.254, allocations: 3.363 MB / 1.028 GB, free: 5.066 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001591/1.255, allocations: 0.5677 MB / 1.029 GB, free: 4.477 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003435/1.256, allocations: 47.97 kB / 1.029 GB, free: 4.43 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001661/1.258, allocations: 85.61 kB / 1.029 GB, free: 4.348 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002082/1.258, allocations: 109.7 kB / 1.029 GB, free: 4.242 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001958/1.258, allocations: 75.95 kB / 1.029 GB, free: 4.168 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.002032/1.26, allocations: 1.334 MB / 1.031 GB, free: 2.824 MB / 0.7481 GB Notification: Performance of sort global known variables: time 4.9e-07/1.26, allocations: 0 / 1.031 GB, free: 2.824 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.004004/1.264, allocations: 1.714 MB / 1.032 GB, free: 1.105 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.0006643/1.265, allocations: 362.5 kB / 1.033 GB, free: 0.7578 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.2793/1.544, allocations: 3.299 MB / 1.036 GB, free: 324.2 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 1.679e-05/1.544, allocations: 6 kB / 1.036 GB, free: 324.2 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.002163/1.546, allocations: 1.023 MB / 1.037 GB, free: 323.9 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007863/1.554, allocations: 1.533 MB / 1.038 GB, free: 323.5 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01026/1.564, allocations: 6.468 MB / 1.045 GB, free: 320.8 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001446/1.566, allocations: 2.197 MB / 1.047 GB, free: 319.8 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.003758/1.57, allocations: 1.084 MB / 1.048 GB, free: 319.7 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006536/1.57, allocations: 215.7 kB / 1.048 GB, free: 319.7 MB / 0.7481 GB Notification: Performance of SimCode: time 1.232e-06/1.57, allocations: 0 / 1.048 GB, free: 319.7 MB / 0.7481 GB Notification: Performance of Templates: time 0.06865/1.639, allocations: 54.39 MB / 1.101 GB, free: 271.7 MB / 0.7481 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Sources.Examples.TraceSubstancesFlowSource.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Sources.Examples.TraceSubstancesFlowSource.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Sources.Examples.TraceSubstancesFlowSource.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Sources.Examples.TraceSubstancesFlowSource.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Sources.Examples.TraceSubstancesFlowSource.sim & ./IDEAS_dev_IDEAS.Fluid.Sources.Examples.TraceSubstancesFlowSource -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Sources.Examples.TraceSubstancesFlowSource.pipe 2>&1)