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.006355/0.006355, allocations: 100.4 kB / 15.87 MB, free: 5.871 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.001404/0.001405, allocations: 191.9 kB / 16.79 MB, free: 5.816 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.349/1.349, allocations: 222.9 MB / 240.5 MB, free: 4.555 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9791/0.9791, allocations: 135.1 MB / 425.7 MB, free: 11.94 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001218/0.001218, allocations: 69.28 kB / 0.5053 GB, free: 5.734 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1785/0.1797, allocations: 80.92 MB / 0.5843 GB, free: 4.977 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Examples.TraceSubstancesFlowSource): time 0.9704/1.15, allocations: 302.9 MB / 0.8801 GB, free: 1.383 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.03232/1.183, allocations: 25.97 MB / 0.9055 GB, free: 1.109 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005886/1.188, allocations: 113.8 kB / 0.9056 GB, free: 1.109 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.006146/1.195, allocations: 1.549 MB / 0.9071 GB, free: 1.078 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.01792/1.213, allocations: 5.62 MB / 0.9126 GB, free: 0.8125 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.008245/1.221, allocations: 2.362 MB / 0.9149 GB, free: 0.7539 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.01896/1.24, allocations: 12.39 MB / 0.927 GB, free: 0.7383 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006198/1.246, allocations: 3.102 MB / 0.9301 GB, free: 16.21 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01404/1.26, allocations: 3.682 MB / 0.9336 GB, free: 16.15 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007983/1.268, allocations: 3.073 MB / 0.9367 GB, free: 16.03 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.001602/1.27, allocations: 192.8 kB / 0.9368 GB, free: 16.03 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0143/1.284, allocations: 5.318 MB / 0.942 GB, free: 15.98 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.003465/1.288, allocations: 1.492 MB / 0.9435 GB, free: 15.8 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.006892/1.295, allocations: 1.954 MB / 0.9454 GB, free: 15.13 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.01066/1.305, allocations: 5.06 MB / 0.9503 GB, free: 13 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 9.158e-06/1.305, allocations: 3 kB / 0.9503 GB, free: 13 MB / 0.6856 GB Notification: Performance of FrontEnd: time 2.004e-06/1.305, allocations: 0 / 0.9503 GB, free: 13 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 0.0002331/1.306, allocations: 0 / 0.9503 GB, free: 13 MB / 0.6856 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.01432/1.32, allocations: 4.184 MB / 0.9544 GB, free: 10.72 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 5.836e-05/1.32, allocations: 10.31 kB / 0.9544 GB, free: 10.72 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006685/1.327, allocations: 0.9282 MB / 0.9553 GB, free: 10.35 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005814/1.333, allocations: 2.271 MB / 0.9576 GB, free: 9.309 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002859/1.333, allocations: 274.8 kB / 0.9578 GB, free: 9.23 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007593/1.334, allocations: 292 kB / 0.9581 GB, free: 9.227 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006404/1.34, allocations: 3.356 MB / 0.9614 GB, free: 8.32 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.011e-05/1.34, allocations: 2.438 kB / 0.9614 GB, free: 8.32 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002973/1.34, allocations: 115.7 kB / 0.9615 GB, free: 8.32 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001204/1.341, allocations: 111.9 kB / 0.9616 GB, free: 8.301 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005403/1.346, allocations: 2.788 MB / 0.9643 GB, free: 6.922 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.02006/1.366, allocations: 13.2 MB / 0.9772 GB, free: 10.29 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002769/1.369, allocations: 1.823 MB / 0.979 GB, free: 8.488 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001577/1.371, allocations: 1.102 MB / 0.9801 GB, free: 7.387 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005116/1.371, allocations: 332.4 kB / 0.9804 GB, free: 7.02 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.018e-05/1.371, allocations: 59.09 kB / 0.9804 GB, free: 6.953 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=182): time 3.938e-06/1.371, allocations: 0 / 0.9804 GB, free: 6.953 MB / 0.7012 GB Notification: Performance of matching and sorting (n=182): time 0.005378/1.377, allocations: 2.721 MB / 0.9831 GB, free: 4.23 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.869e-05/1.377, allocations: 69.41 kB / 0.9832 GB, free: 4.152 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00308/1.38, allocations: 2 MB / 0.9851 GB, free: 2.137 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.0003495/1.38, allocations: 69.7 kB / 0.9852 GB, free: 2.062 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0011/1.381, allocations: 1.413 MB / 0.9866 GB, free: 0.6406 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008282/1.382, allocations: 0.6314 MB / 0.9872 GB, free: 12 kB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006211/1.383, allocations: 403.2 kB / 0.9876 GB, free: 15.61 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001315/1.383, allocations: 305.1 kB / 0.9878 GB, free: 15.31 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001409/1.384, allocations: 0.8052 MB / 0.9886 GB, free: 14.49 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001836/1.386, allocations: 1.433 MB / 0.99 GB, free: 12.8 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003064/1.389, allocations: 2.255 MB / 0.9922 GB, free: 10.42 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.219e-05/1.389, allocations: 8 kB / 0.9922 GB, free: 10.41 MB / 0.7169 GB Notification: Performance of matching and sorting (n=257) (initialization): time 0.004444/1.394, allocations: 2.476 MB / 0.9947 GB, free: 8.004 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.013e-05/1.394, allocations: 12 kB / 0.9947 GB, free: 7.992 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.609e-05/1.394, allocations: 15.98 kB / 0.9947 GB, free: 7.977 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.337e-05/1.394, allocations: 24 kB / 0.9947 GB, free: 7.953 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002503/1.396, allocations: 0.5655 MB / 0.9953 GB, free: 7.426 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002408/1.399, allocations: 4.155 MB / 0.9993 GB, free: 3.125 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004108/1.403, allocations: 368.4 kB / 0.9997 GB, free: 2.766 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002423/1.403, allocations: 87.98 kB / 0.9998 GB, free: 2.68 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002981/1.406, allocations: 1.464 MB / 1.001 GB, free: 1.207 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001794/1.408, allocations: 1.421 MB / 1.003 GB, free: 15.53 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003044/1.411, allocations: 2.236 MB / 1.005 GB, free: 13.17 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.768e-06/1.411, allocations: 4 kB / 1.005 GB, free: 13.16 MB / 0.7325 GB Notification: Performance of matching and sorting (n=257) (initialization_lambda0): time 0.004491/1.415, allocations: 2.468 MB / 1.007 GB, free: 10.76 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.635e-05/1.416, allocations: 11.98 kB / 1.007 GB, free: 10.75 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.928e-05/1.416, allocations: 16.88 kB / 1.007 GB, free: 10.73 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.569e-05/1.416, allocations: 20 kB / 1.007 GB, free: 10.71 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001748/1.417, allocations: 478.3 kB / 1.008 GB, free: 10.28 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.126e-05/1.417, allocations: 29.05 kB / 1.008 GB, free: 10.25 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003458/1.421, allocations: 334.7 kB / 1.008 GB, free: 9.926 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000154/1.421, allocations: 87.98 kB / 1.008 GB, free: 9.84 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.0006403/1.422, allocations: 319.7 kB / 1.008 GB, free: 9.551 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006577/1.422, allocations: 264.8 kB / 1.009 GB, free: 9.289 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003523/1.426, allocations: 2.098 MB / 1.011 GB, free: 7.176 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.801e-05/1.426, allocations: 23.98 kB / 1.011 GB, free: 7.152 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.049e-05/1.426, allocations: 0 / 1.011 GB, free: 7.152 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00255/1.428, allocations: 1.876 MB / 1.013 GB, free: 5.23 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009028/1.437, allocations: 5.167 MB / 1.018 GB, free: 28 kB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.784e-06/1.438, allocations: 384 / 1.018 GB, free: 28 kB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002303/1.44, allocations: 0.5015 MB / 1.018 GB, free: 15.54 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.725e-05/1.44, allocations: 8 kB / 1.018 GB, free: 15.54 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001275/1.44, allocations: 55.97 kB / 1.018 GB, free: 15.48 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002038/1.442, allocations: 4.127 MB / 1.022 GB, free: 11.2 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.061e-06/1.442, allocations: 7.562 kB / 1.022 GB, free: 11.2 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005117/1.447, allocations: 3.362 MB / 1.025 GB, free: 7.789 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001828/1.449, allocations: 0.5522 MB / 1.026 GB, free: 7.215 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004356/1.449, allocations: 47.92 kB / 1.026 GB, free: 7.168 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00239/1.452, allocations: 254.7 kB / 1.026 GB, free: 6.922 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002252/1.452, allocations: 112.4 kB / 1.026 GB, free: 6.816 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001438/1.452, allocations: 75.95 kB / 1.026 GB, free: 6.742 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.00204/1.454, allocations: 1.33 MB / 1.028 GB, free: 5.402 MB / 0.7481 GB Notification: Performance of sort global known variables: time 3.2e-07/1.454, allocations: 0 / 1.028 GB, free: 5.402 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.004897/1.459, allocations: 1.725 MB / 1.029 GB, free: 3.672 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.0008585/1.46, allocations: 357.7 kB / 1.03 GB, free: 3.363 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.006253/1.466, allocations: 3.3 MB / 1.033 GB, free: 180 kB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 1.109e-05/1.466, allocations: 0 / 1.033 GB, free: 180 kB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.001835/1.468, allocations: 1.027 MB / 1.034 GB, free: 15.2 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008215/1.477, allocations: 1.597 MB / 1.036 GB, free: 13.61 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01245/1.489, allocations: 8.007 MB / 1.043 GB, free: 5.57 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001953/1.491, allocations: 2.189 MB / 1.046 GB, free: 3.348 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001159/1.492, allocations: 235.4 kB / 1.046 GB, free: 3.117 MB / 0.7637 GB Notification: Performance of SimCode: time 1.953e-06/1.492, allocations: 0 / 1.046 GB, free: 3.117 MB / 0.7637 GB Notification: Performance of Templates: time 0.4459/1.938, allocations: 141.4 MB / 1.184 GB, free: 426.9 MB / 0.8887 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 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Sources.Examples.TraceSubstancesFlowSource.pipe 2>&1)