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.0015/0.0015, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001657/0.001657, allocations: 192.9 kB / 16.14 MB, free: 6.719 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.43/1.43, allocations: 222.9 MB / 239.8 MB, free: 4.566 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9452/0.9452, allocations: 135.1 MB / 425.1 MB, free: 11.93 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001215/0.001215, allocations: 67.39 kB / 0.5047 GB, free: 5.742 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1608/0.162, allocations: 80.92 MB / 0.5837 GB, free: 4.996 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Examples.TraceSubstancesFlowSource): time 1.056/1.218, allocations: 302.9 MB / 0.8795 GB, free: 1.328 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.03584/1.254, allocations: 25.97 MB / 0.9049 GB, free: 1.047 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007793/1.262, allocations: 115.2 kB / 0.905 GB, free: 1.047 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.008092/1.27, allocations: 1.548 MB / 0.9065 GB, free: 1.016 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.0173/1.287, allocations: 5.62 MB / 0.912 GB, free: 0.75 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.006845/1.294, allocations: 2.365 MB / 0.9143 GB, free: 0.6953 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.01567/1.31, allocations: 12.4 MB / 0.9264 GB, free: 0.6758 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004755/1.315, allocations: 3.1 MB / 0.9294 GB, free: 16.14 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01344/1.328, allocations: 3.684 MB / 0.933 GB, free: 16.1 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009159/1.337, allocations: 3.079 MB / 0.936 GB, free: 15.98 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.001248/1.339, allocations: 193.8 kB / 0.9362 GB, free: 15.98 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01449/1.353, allocations: 5.317 MB / 0.9414 GB, free: 15.93 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.003809/1.357, allocations: 1.49 MB / 0.9429 GB, free: 15.76 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.005577/1.363, allocations: 1.955 MB / 0.9448 GB, free: 15.08 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.01555/1.378, allocations: 6.857 MB / 0.9515 GB, free: 12.26 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 1.517e-05/1.378, allocations: 7.922 kB / 0.9515 GB, free: 12.25 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.823e-06/1.378, allocations: 0 / 0.9515 GB, free: 12.25 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 0.0002126/1.378, allocations: 0 / 0.9515 GB, free: 12.25 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.00821/1.387, allocations: 4.177 MB / 0.9555 GB, free: 9.977 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.224e-05/1.387, allocations: 11.09 kB / 0.9556 GB, free: 9.977 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006555/1.393, allocations: 0.9317 MB / 0.9565 GB, free: 9.598 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005573/1.399, allocations: 2.27 MB / 0.9587 GB, free: 8.562 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002936/1.399, allocations: 272.2 kB / 0.9589 GB, free: 8.488 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005635/1.4, allocations: 295 kB / 0.9592 GB, free: 8.484 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007053/1.407, allocations: 3.356 MB / 0.9625 GB, free: 7.574 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.042e-05/1.407, allocations: 4.688 kB / 0.9625 GB, free: 7.574 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002719/1.407, allocations: 114 kB / 0.9626 GB, free: 7.566 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001222/1.407, allocations: 115.3 kB / 0.9627 GB, free: 7.453 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004909/1.412, allocations: 2.785 MB / 0.9654 GB, free: 5.543 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.0193/1.432, allocations: 13.2 MB / 0.9783 GB, free: 8.684 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002613/1.434, allocations: 1.826 MB / 0.9801 GB, free: 6.879 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001463/1.436, allocations: 1.102 MB / 0.9812 GB, free: 5.777 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000508/1.436, allocations: 326.2 kB / 0.9815 GB, free: 5.414 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.852e-05/1.436, allocations: 64.56 kB / 0.9816 GB, free: 5.34 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=182): time 3.547e-06/1.436, allocations: 0 / 0.9816 GB, free: 5.34 MB / 0.7012 GB Notification: Performance of matching and sorting (n=182): time 0.005197/1.441, allocations: 2.716 MB / 0.9842 GB, free: 2.625 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.408e-05/1.442, allocations: 77.41 kB / 0.9843 GB, free: 2.539 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002976/1.445, allocations: 2.001 MB / 0.9862 GB, free: 0.5195 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.0002498/1.445, allocations: 65.7 kB / 0.9863 GB, free: 460 kB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.001155/1.446, allocations: 1.418 MB / 0.9877 GB, free: 15.05 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006706/1.447, allocations: 0.6368 MB / 0.9883 GB, free: 14.42 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000588/1.447, allocations: 391.2 kB / 0.9887 GB, free: 14.03 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001045/1.447, allocations: 301.1 kB / 0.989 GB, free: 13.73 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001292/1.449, allocations: 0.813 MB / 0.9898 GB, free: 12.91 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001697/1.45, allocations: 1.44 MB / 0.9912 GB, free: 11.21 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002987/1.453, allocations: 2.246 MB / 0.9934 GB, free: 8.844 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.408e-06/1.453, allocations: 0 / 0.9934 GB, free: 8.844 MB / 0.7169 GB Notification: Performance of matching and sorting (n=257) (initialization): time 0.004275/1.458, allocations: 2.494 MB / 0.9958 GB, free: 6.418 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.955e-05/1.458, allocations: 12 kB / 0.9958 GB, free: 6.406 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.099e-05/1.458, allocations: 12 kB / 0.9958 GB, free: 6.395 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.646e-05/1.458, allocations: 24 kB / 0.9959 GB, free: 6.371 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002522/1.46, allocations: 0.5599 MB / 0.9964 GB, free: 5.848 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002115/1.462, allocations: 4.153 MB / 1 GB, free: 1.547 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003527/1.466, allocations: 368.3 kB / 1.001 GB, free: 1.188 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001968/1.466, allocations: 87.98 kB / 1.001 GB, free: 1.102 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002684/1.469, allocations: 1.46 MB / 1.002 GB, free: 15.63 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00165/1.471, allocations: 1.425 MB / 1.004 GB, free: 13.95 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002978/1.474, allocations: 2.234 MB / 1.006 GB, free: 11.59 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.468e-06/1.474, allocations: 4 kB / 1.006 GB, free: 11.59 MB / 0.7325 GB Notification: Performance of matching and sorting (n=257) (initialization_lambda0): time 0.004478/1.478, allocations: 2.472 MB / 1.008 GB, free: 9.184 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.141e-05/1.478, allocations: 12 kB / 1.008 GB, free: 9.172 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.509e-05/1.478, allocations: 12.84 kB / 1.008 GB, free: 9.16 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.465e-05/1.478, allocations: 31.88 kB / 1.008 GB, free: 9.129 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001699/1.48, allocations: 470.2 kB / 1.009 GB, free: 8.699 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.874e-05/1.48, allocations: 34.2 kB / 1.009 GB, free: 8.672 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003402/1.483, allocations: 337.7 kB / 1.009 GB, free: 8.344 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001439/1.483, allocations: 87.98 kB / 1.009 GB, free: 8.258 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.0005838/1.484, allocations: 320.2 kB / 1.01 GB, free: 7.969 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005622/1.485, allocations: 272.8 kB / 1.01 GB, free: 7.699 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003561/1.488, allocations: 2.091 MB / 1.012 GB, free: 5.59 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.866e-05/1.488, allocations: 20 kB / 1.012 GB, free: 5.57 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.748e-06/1.488, allocations: 0 / 1.012 GB, free: 5.57 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002564/1.491, allocations: 1.882 MB / 1.014 GB, free: 3.641 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008801/1.5, allocations: 5.156 MB / 1.019 GB, free: 14.45 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.726e-06/1.5, allocations: 7.984 kB / 1.019 GB, free: 14.45 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002296/1.502, allocations: 0.5041 MB / 1.019 GB, free: 13.96 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.68e-05/1.502, allocations: 8 kB / 1.019 GB, free: 13.95 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001304/1.502, allocations: 51.98 kB / 1.019 GB, free: 13.9 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002027/1.504, allocations: 4.122 MB / 1.023 GB, free: 9.629 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.091e-06/1.504, allocations: 4 kB / 1.023 GB, free: 9.625 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005217/1.509, allocations: 3.369 MB / 1.027 GB, free: 6.211 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001608/1.511, allocations: 0.56 MB / 1.027 GB, free: 5.629 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003762/1.511, allocations: 43.92 kB / 1.027 GB, free: 5.586 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00243/1.514, allocations: 247.3 kB / 1.027 GB, free: 5.344 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002406/1.514, allocations: 116 kB / 1.028 GB, free: 5.234 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001359/1.514, allocations: 75.97 kB / 1.028 GB, free: 5.16 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.001947/1.516, allocations: 1.33 MB / 1.029 GB, free: 3.82 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.21e-07/1.516, allocations: 0 / 1.029 GB, free: 3.82 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.004567/1.521, allocations: 1.725 MB / 1.031 GB, free: 2.09 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.0008161/1.522, allocations: 359.4 kB / 1.031 GB, free: 1.781 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.006104/1.528, allocations: 3.294 MB / 1.034 GB, free: 14.6 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 1.069e-05/1.528, allocations: 4 kB / 1.034 GB, free: 14.6 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.001777/1.53, allocations: 1.024 MB / 1.035 GB, free: 13.62 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008959/1.538, allocations: 1.596 MB / 1.037 GB, free: 12.04 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01165/1.55, allocations: 7.812 MB / 1.044 GB, free: 4.191 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001932/1.552, allocations: 2.189 MB / 1.047 GB, free: 1.969 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.004298/1.556, allocations: 1.1 MB / 1.048 GB, free: 0.8633 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007161/1.557, allocations: 215.4 kB / 1.048 GB, free: 0.6523 MB / 0.7637 GB Notification: Performance of SimCode: time 1.202e-06/1.557, allocations: 0 / 1.048 GB, free: 0.6523 MB / 0.7637 GB Notification: Performance of Templates: time 0.1074/1.665, allocations: 53.16 MB / 1.1 GB, free: 12.26 MB / 0.8262 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)