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.005382/0.005382, allocations: 101.8 kB / 15.73 MB, free: 6.477 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.00114/0.00114, allocations: 192.4 kB / 16.67 MB, free: 6.391 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.389/1.389, allocations: 222.9 MB / 240.4 MB, free: 4.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8862/0.8862, allocations: 132.2 MB / 422.7 MB, free: 1.68 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001362/0.001362, allocations: 67.88 kB / 0.5814 GB, free: 7.52 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4019/0.4032, allocations: 80.2 MB / 0.6597 GB, free: 10.29 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Examples.TraceSubstancesFlowSource): time 0.6935/1.097, allocations: 305.1 MB / 0.9576 GB, free: 0.957 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.03424/1.131, allocations: 25.8 MB / 0.9828 GB, free: 14.95 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004922/1.136, allocations: 129.2 kB / 0.9829 GB, free: 14.95 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.004564/1.141, allocations: 1.861 MB / 0.9848 GB, free: 14.56 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.01476/1.155, allocations: 6.181 MB / 0.9908 GB, free: 12.04 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.006753/1.162, allocations: 2.632 MB / 0.9934 GB, free: 10.44 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.0107/1.173, allocations: 8.929 MB / 1.002 GB, free: 6.941 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005574/1.179, allocations: 3.639 MB / 1.006 GB, free: 4.09 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01303/1.192, allocations: 4.271 MB / 1.01 GB, free: 0.5547 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00614/1.198, allocations: 2.975 MB / 1.013 GB, free: 13.95 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.001518/1.199, allocations: 360 kB / 1.013 GB, free: 13.59 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01096/1.21, allocations: 4.616 MB / 1.018 GB, free: 9.914 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.002441/1.213, allocations: 1.65 MB / 1.019 GB, free: 8.293 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.00461/1.217, allocations: 2.127 MB / 1.021 GB, free: 6.191 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.01228/1.23, allocations: 6.765 MB / 1.028 GB, free: 15.72 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/1.23, allocations: 0 / 1.028 GB, free: 15.72 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.613e-06/1.23, allocations: 4 kB / 1.028 GB, free: 15.72 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 0.0001071/1.23, allocations: 0 / 1.028 GB, free: 15.72 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: 693 * Number of variables: 693 Notification: Performance of Generate backend data structure: time 0.006534/1.236, allocations: 4.174 MB / 1.032 GB, free: 11.51 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.818e-05/1.236, allocations: 8.031 kB / 1.032 GB, free: 11.5 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00549/1.242, allocations: 0.9359 MB / 1.033 GB, free: 10.57 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005218/1.247, allocations: 2.406 MB / 1.035 GB, free: 8.137 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003153/1.247, allocations: 271.8 kB / 1.035 GB, free: 7.859 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006055/1.248, allocations: 291.9 kB / 1.036 GB, free: 7.574 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00632/1.254, allocations: 3.357 MB / 1.039 GB, free: 4.137 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.79e-05/1.254, allocations: 3.938 kB / 1.039 GB, free: 4.133 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000315/1.255, allocations: 114.7 kB / 1.039 GB, free: 4.023 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001268/1.255, allocations: 109.3 kB / 1.039 GB, free: 3.914 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004578/1.26, allocations: 2.792 MB / 1.042 GB, free: 1.105 MB / 0.7325 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.01682/1.276, allocations: 13.22 MB / 1.055 GB, free: 2.828 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002648/1.279, allocations: 1.832 MB / 1.057 GB, free: 0.9961 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001479/1.281, allocations: 1.107 MB / 1.058 GB, free: 15.89 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005003/1.281, allocations: 321.4 kB / 1.058 GB, free: 15.53 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.682e-05/1.281, allocations: 80.38 kB / 1.058 GB, free: 15.44 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=182): time 3.867e-06/1.281, allocations: 0 / 1.058 GB, free: 15.44 MB / 0.7637 GB Notification: Performance of matching and sorting (n=182): time 0.00499/1.286, allocations: 2.727 MB / 1.061 GB, free: 12.71 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.874e-05/1.286, allocations: 69.41 kB / 1.061 GB, free: 12.63 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002627/1.289, allocations: 1.994 MB / 1.063 GB, free: 10.62 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 0.0002043/1.289, allocations: 69.69 kB / 1.063 GB, free: 10.55 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009993/1.29, allocations: 1.407 MB / 1.064 GB, free: 9.129 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006232/1.291, allocations: 0.6381 MB / 1.065 GB, free: 8.496 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000535/1.291, allocations: 387.3 kB / 1.065 GB, free: 8.109 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 9.624e-05/1.291, allocations: 301.1 kB / 1.066 GB, free: 7.812 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001243/1.293, allocations: 0.813 MB / 1.066 GB, free: 6.988 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001703/1.294, allocations: 1.435 MB / 1.068 GB, free: 5.281 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002864/1.297, allocations: 2.248 MB / 1.07 GB, free: 2.852 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.278e-06/1.297, allocations: 4 kB / 1.07 GB, free: 2.848 MB / 0.7637 GB Notification: Performance of matching and sorting (n=257) (initialization): time 0.003899/1.301, allocations: 2.494 MB / 1.072 GB, free: 352 kB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 2.859e-05/1.301, allocations: 12 kB / 1.072 GB, free: 340 kB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.978e-05/1.301, allocations: 15.98 kB / 1.072 GB, free: 324 kB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.684e-05/1.301, allocations: 24 kB / 1.072 GB, free: 300 kB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002417/1.304, allocations: 0.5502 MB / 1.073 GB, free: 15.74 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002069/1.306, allocations: 4.153 MB / 1.077 GB, free: 11.43 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002407/1.308, allocations: 228.8 kB / 1.077 GB, free: 11.2 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000161/1.308, allocations: 87.98 kB / 1.077 GB, free: 11.12 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002441/1.311, allocations: 1.456 MB / 1.079 GB, free: 9.652 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001642/1.312, allocations: 1.428 MB / 1.08 GB, free: 7.961 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002935/1.315, allocations: 2.233 MB / 1.082 GB, free: 5.551 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.526e-06/1.315, allocations: 4 kB / 1.082 GB, free: 5.547 MB / 0.7794 GB Notification: Performance of matching and sorting (n=257) (initialization_lambda0): time 0.004307/1.32, allocations: 2.467 MB / 1.085 GB, free: 3.07 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.172e-05/1.32, allocations: 12 kB / 1.085 GB, free: 3.059 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.86e-05/1.32, allocations: 12 kB / 1.085 GB, free: 3.047 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.524e-05/1.32, allocations: 27.94 kB / 1.085 GB, free: 3.02 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001697/1.322, allocations: 471.3 kB / 1.085 GB, free: 2.559 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.064e-05/1.322, allocations: 32.3 kB / 1.085 GB, free: 2.527 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002422/1.324, allocations: 202.9 kB / 1.085 GB, free: 2.332 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001317/1.324, allocations: 84 kB / 1.086 GB, free: 2.25 MB / 0.7794 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.0006449/1.325, allocations: 307.7 kB / 1.086 GB, free: 1.941 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000661/1.325, allocations: 268.8 kB / 1.086 GB, free: 1.676 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003552/1.329, allocations: 2.112 MB / 1.088 GB, free: 15.55 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.631e-05/1.329, allocations: 16 kB / 1.088 GB, free: 15.53 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.336e-06/1.329, allocations: 3.938 kB / 1.088 GB, free: 15.53 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002461/1.332, allocations: 1.882 MB / 1.09 GB, free: 13.6 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008087/1.34, allocations: 5.158 MB / 1.095 GB, free: 8.383 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.068e-05/1.34, allocations: 4 kB / 1.095 GB, free: 8.379 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002212/1.342, allocations: 0.5037 MB / 1.096 GB, free: 7.875 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.605e-05/1.342, allocations: 8 kB / 1.096 GB, free: 7.867 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001235/1.342, allocations: 51.98 kB / 1.096 GB, free: 7.816 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002072/1.344, allocations: 4.122 MB / 1.1 GB, free: 3.531 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.161e-06/1.344, allocations: 11.86 kB / 1.1 GB, free: 3.52 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004948/1.349, allocations: 3.363 MB / 1.103 GB, free: 104 kB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001426/1.351, allocations: 0.5647 MB / 1.103 GB, free: 15.52 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003039/1.351, allocations: 39.98 kB / 1.103 GB, free: 15.48 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001559/1.352, allocations: 87.12 kB / 1.104 GB, free: 15.39 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002064/1.353, allocations: 109.8 kB / 1.104 GB, free: 15.29 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001323/1.353, allocations: 75.95 kB / 1.104 GB, free: 15.21 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.001942/1.355, allocations: 1.33 MB / 1.105 GB, free: 13.88 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.7e-07/1.355, allocations: 0 / 1.105 GB, free: 13.88 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.003673/1.358, allocations: 1.718 MB / 1.107 GB, free: 12.15 MB / 0.8106 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.0007148/1.359, allocations: 355.4 kB / 1.107 GB, free: 11.82 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.005854/1.365, allocations: 3.31 MB / 1.11 GB, free: 8.516 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 8.376e-06/1.365, allocations: 0 / 1.11 GB, free: 8.516 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.001685/1.367, allocations: 1.031 MB / 1.111 GB, free: 7.484 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006302/1.373, allocations: 1.522 MB / 1.113 GB, free: 6.02 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009783/1.383, allocations: 6.485 MB / 1.119 GB, free: 15.48 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001862/1.385, allocations: 2.197 MB / 1.121 GB, free: 13.25 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.003318/1.388, allocations: 1.084 MB / 1.122 GB, free: 12.16 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005916/1.389, allocations: 215.4 kB / 1.123 GB, free: 11.95 MB / 0.8262 GB Notification: Performance of SimCode: time 7.21e-07/1.389, allocations: 0 / 1.123 GB, free: 11.95 MB / 0.8262 GB Notification: Performance of Templates: time 0.0958/1.485, allocations: 54.93 MB / 1.176 GB, free: 5.766 MB / 0.8731 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 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Sources.Examples.TraceSubstancesFlowSource.pipe 2>&1)