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.001482/0.001483, allocations: 102.5 kB / 16.27 MB, free: 5.98 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.001479/0.001479, allocations: 189.8 kB / 17.19 MB, free: 5.605 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.378/1.378, allocations: 222.9 MB / 240.9 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8046/0.8046, allocations: 135.2 MB / 426.2 MB, free: 4.102 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001873/0.001873, allocations: 67.89 kB / 0.506 GB, free: 8.324 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3562/0.3581, allocations: 80.91 MB / 0.585 GB, free: 25.14 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Examples.TraceSubstancesFlowSource): time 0.66/1.018, allocations: 305.1 MB / 0.883 GB, free: 11.42 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.04325/1.061, allocations: 25.81 MB / 0.9082 GB, free: 2.715 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006132/1.068, allocations: 127.2 kB / 0.9083 GB, free: 2.59 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.006248/1.074, allocations: 1.798 MB / 0.9101 GB, free: 0.7812 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.0181/1.092, allocations: 5.942 MB / 0.9159 GB, free: 10.81 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.007956/1.1, allocations: 2.602 MB / 0.9184 GB, free: 8.23 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.01387/1.114, allocations: 8.888 MB / 0.9271 GB, free: 15.32 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007009/1.121, allocations: 3.64 MB / 0.9307 GB, free: 11.6 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0123/1.133, allocations: 4.14 MB / 0.9347 GB, free: 7.492 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007182/1.141, allocations: 2.959 MB / 0.9376 GB, free: 4.535 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.002078/1.143, allocations: 356 kB / 0.9379 GB, free: 4.188 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01161/1.154, allocations: 4.595 MB / 0.9424 GB, free: 15.58 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.003259/1.158, allocations: 1.644 MB / 0.944 GB, free: 13.93 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.005678/1.163, allocations: 2.127 MB / 0.9461 GB, free: 11.8 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.01516/1.178, allocations: 6.684 MB / 0.9526 GB, free: 5.094 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 7.284e-06/1.178, allocations: 3.938 kB / 0.9526 GB, free: 5.09 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.473e-06/1.178, allocations: 7.938 kB / 0.9526 GB, free: 5.082 MB / 0.67 GB Notification: Performance of Transformations before backend: time 0.0002561/1.179, allocations: 0 / 0.9526 GB, free: 5.082 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.01124/1.19, allocations: 4.172 MB / 0.9567 GB, free: 0.8398 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.59e-05/1.19, allocations: 13.09 kB / 0.9567 GB, free: 0.8281 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006426/1.196, allocations: 0.9322 MB / 0.9576 GB, free: 15.89 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005672/1.202, allocations: 2.26 MB / 0.9598 GB, free: 13.55 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003461/1.203, allocations: 273.2 kB / 0.9601 GB, free: 13.27 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009305/1.204, allocations: 299.8 kB / 0.9604 GB, free: 12.98 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008223/1.212, allocations: 3.359 MB / 0.9637 GB, free: 9.535 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.145e-05/1.212, allocations: 0 / 0.9637 GB, free: 9.535 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005618/1.212, allocations: 116 kB / 0.9638 GB, free: 9.422 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001393/1.213, allocations: 109.3 kB / 0.9639 GB, free: 9.312 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005778/1.218, allocations: 2.785 MB / 0.9666 GB, free: 6.516 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.01818/1.237, allocations: 13.33 MB / 0.9796 GB, free: 8 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002615/1.239, allocations: 1.83 MB / 0.9814 GB, free: 6.172 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00152/1.241, allocations: 1.106 MB / 0.9825 GB, free: 5.059 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005207/1.241, allocations: 329.2 kB / 0.9828 GB, free: 4.684 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.521e-05/1.241, allocations: 56.55 kB / 0.9829 GB, free: 4.617 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=182): time 5.17e-06/1.241, allocations: 0 / 0.9829 GB, free: 4.617 MB / 0.7012 GB Notification: Performance of matching and sorting (n=182): time 0.0055/1.247, allocations: 2.729 MB / 0.9855 GB, free: 1.887 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.497e-05/1.247, allocations: 69.41 kB / 0.9856 GB, free: 1.809 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002783/1.25, allocations: 1.998 MB / 0.9875 GB, free: 15.79 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0002037/1.25, allocations: 65.7 kB / 0.9876 GB, free: 15.72 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.00112/1.251, allocations: 1.414 MB / 0.989 GB, free: 14.29 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006854/1.252, allocations: 0.6353 MB / 0.9896 GB, free: 13.65 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005572/1.252, allocations: 391.2 kB / 0.99 GB, free: 13.26 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001192/1.252, allocations: 301.1 kB / 0.9903 GB, free: 12.96 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00127/1.254, allocations: 0.8052 MB / 0.9911 GB, free: 12.14 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001823/1.256, allocations: 1.435 MB / 0.9925 GB, free: 10.43 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003137/1.259, allocations: 2.256 MB / 0.9947 GB, free: 8 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.908e-06/1.259, allocations: 4 kB / 0.9947 GB, free: 7.996 MB / 0.7169 GB Notification: Performance of matching and sorting (n=257) (initialization): time 0.00425/1.263, allocations: 2.487 MB / 0.9971 GB, free: 5.5 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.986e-05/1.263, allocations: 17.97 kB / 0.9971 GB, free: 5.484 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.083e-05/1.263, allocations: 12 kB / 0.9971 GB, free: 5.473 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.998e-05/1.263, allocations: 28.06 kB / 0.9971 GB, free: 5.445 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002409/1.266, allocations: 0.5461 MB / 0.9977 GB, free: 4.898 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002476/1.268, allocations: 4.161 MB / 1.002 GB, free: 0.5742 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002633/1.271, allocations: 227.9 kB / 1.002 GB, free: 360 kB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001507/1.271, allocations: 87.98 kB / 1.002 GB, free: 272 kB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002557/1.273, allocations: 1.456 MB / 1.003 GB, free: 14.8 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001793/1.275, allocations: 1.424 MB / 1.005 GB, free: 13.11 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0031/1.278, allocations: 2.233 MB / 1.007 GB, free: 10.7 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.534e-06/1.278, allocations: 7.938 kB / 1.007 GB, free: 10.69 MB / 0.7325 GB Notification: Performance of matching and sorting (n=257) (initialization_lambda0): time 0.004188/1.283, allocations: 2.467 MB / 1.009 GB, free: 8.211 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.976e-05/1.283, allocations: 14.34 kB / 1.009 GB, free: 8.199 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.612e-05/1.283, allocations: 16.12 kB / 1.009 GB, free: 8.184 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.879e-05/1.283, allocations: 24 kB / 1.01 GB, free: 8.16 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001674/1.284, allocations: 475.2 kB / 1.01 GB, free: 7.695 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.465e-05/1.284, allocations: 31.92 kB / 1.01 GB, free: 7.664 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002538/1.287, allocations: 198.9 kB / 1.01 GB, free: 7.469 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000145/1.287, allocations: 87.98 kB / 1.01 GB, free: 7.383 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.0005693/1.288, allocations: 312.5 kB / 1.011 GB, free: 7.07 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004713/1.288, allocations: 268.8 kB / 1.011 GB, free: 6.805 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00349/1.292, allocations: 2.095 MB / 1.013 GB, free: 4.695 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.814e-05/1.292, allocations: 16 kB / 1.013 GB, free: 4.68 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.458e-05/1.292, allocations: 7.938 kB / 1.013 GB, free: 4.672 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002788/1.294, allocations: 1.882 MB / 1.015 GB, free: 2.742 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008395/1.303, allocations: 5.162 MB / 1.02 GB, free: 13.48 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.063e-05/1.303, allocations: 8 kB / 1.02 GB, free: 13.47 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002244/1.305, allocations: 0.5033 MB / 1.02 GB, free: 12.97 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.343e-05/1.305, allocations: 8 kB / 1.02 GB, free: 12.96 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001148/1.305, allocations: 48.02 kB / 1.02 GB, free: 12.91 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002265/1.308, allocations: 4.134 MB / 1.024 GB, free: 8.617 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.43e-06/1.308, allocations: 4 kB / 1.024 GB, free: 8.613 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005025/1.313, allocations: 3.361 MB / 1.028 GB, free: 5.199 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001301/1.314, allocations: 0.5638 MB / 1.028 GB, free: 4.613 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004268/1.314, allocations: 39.98 kB / 1.028 GB, free: 4.574 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001786/1.316, allocations: 85.8 kB / 1.028 GB, free: 4.492 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002166/1.316, allocations: 117.7 kB / 1.028 GB, free: 4.379 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001503/1.317, allocations: 75.89 kB / 1.028 GB, free: 4.305 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.001948/1.318, allocations: 1.334 MB / 1.03 GB, free: 2.961 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.8e-07/1.318, allocations: 0 / 1.03 GB, free: 2.961 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.003873/1.322, allocations: 1.722 MB / 1.031 GB, free: 1.234 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.0007497/1.323, allocations: 353.2 kB / 1.032 GB, free: 0.8945 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.2929/1.616, allocations: 4.628 MB / 1.036 GB, free: 324.1 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 1.149e-05/1.616, allocations: 2.531 kB / 1.036 GB, free: 324.1 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.002104/1.618, allocations: 1.027 MB / 1.037 GB, free: 323.8 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007633/1.626, allocations: 1.541 MB / 1.039 GB, free: 323.4 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009447/1.635, allocations: 6.752 MB / 1.045 GB, free: 320.5 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00143/1.637, allocations: 2.196 MB / 1.048 GB, free: 319.6 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008979/1.638, allocations: 231.2 kB / 1.048 GB, free: 319.6 MB / 0.7481 GB Notification: Performance of SimCode: time 1.623e-06/1.638, allocations: 0 / 1.048 GB, free: 319.6 MB / 0.7481 GB Notification: Performance of Templates: time 0.1012/1.739, allocations: 140.8 MB / 1.185 GB, free: 184.4 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 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Sources.Examples.TraceSubstancesFlowSource.pipe 2>&1)