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.001072/0.001072, allocations: 90.75 kB / 15.06 MB, free: 1.098 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.001146/0.001146, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.516/1.516, allocations: 223.2 MB / 240 MB, free: 5.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9557/0.9557, allocations: 135.3 MB / 426.4 MB, free: 14.25 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000405/0.0004053, allocations: 12.81 kB / 0.507 GB, free: 5.145 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1643/0.1647, allocations: 82.3 MB / 0.5874 GB, free: 3.023 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Examples.TraceSubstancesFlowSource): time 0.6075/0.7722, allocations: 278.7 MB / 0.8596 GB, free: 6.043 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.4885/1.261, allocations: 24.12 MB / 0.8831 GB, free: 10.06 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004546/1.265, allocations: 110.2 kB / 0.8832 GB, free: 10.06 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.004206/1.27, allocations: 1.195 MB / 0.8844 GB, free: 10.05 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.01295/1.283, allocations: 4.37 MB / 0.8887 GB, free: 9.852 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.007756/1.29, allocations: 1.957 MB / 0.8906 GB, free: 9.805 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.01709/1.307, allocations: 10.42 MB / 0.9007 GB, free: 9.789 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00736/1.315, allocations: 2.551 MB / 0.9032 GB, free: 25.42 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.012/1.327, allocations: 3.203 MB / 0.9064 GB, free: 25.4 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008745/1.336, allocations: 2.821 MB / 0.9091 GB, free: 25.39 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.001742/1.337, allocations: 151.9 kB / 0.9093 GB, free: 25.39 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01096/1.348, allocations: 2.413 MB / 0.9116 GB, free: 25.34 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.00417/1.353, allocations: 1.431 MB / 0.913 GB, free: 25.34 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.003983/1.357, allocations: 0.7596 MB / 0.9138 GB, free: 25.3 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.01176/1.368, allocations: 4.742 MB / 0.9184 GB, free: 24.94 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 7.003e-06/1.369, allocations: 0 / 0.9184 GB, free: 24.94 MB / 0.6856 GB Notification: Performance of FrontEnd: time 4.388e-06/1.369, allocations: 0 / 0.9184 GB, free: 24.94 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 0.0003173/1.369, allocations: 1.859 kB / 0.9184 GB, free: 24.94 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.01327/1.382, allocations: 3.484 MB / 0.9218 GB, free: 23.21 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 6.84e-05/1.382, allocations: 11.91 kB / 0.9218 GB, free: 23.21 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007408/1.39, allocations: 0.9435 MB / 0.9227 GB, free: 23 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007569/1.397, allocations: 2.39 MB / 0.9251 GB, free: 22.44 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003108/1.398, allocations: 281.4 kB / 0.9253 GB, free: 22.36 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00103/1.399, allocations: 301 kB / 0.9256 GB, free: 22.36 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007915/1.407, allocations: 3.344 MB / 0.9289 GB, free: 21.92 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.508e-05/1.407, allocations: 0 / 0.9289 GB, free: 21.92 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003554/1.407, allocations: 115.9 kB / 0.929 GB, free: 21.92 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001213/1.407, allocations: 106.3 kB / 0.9291 GB, free: 21.91 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005363/1.413, allocations: 2.792 MB / 0.9318 GB, free: 21.42 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.02059/1.433, allocations: 13.25 MB / 0.9448 GB, free: 12.23 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002606/1.436, allocations: 1.867 MB / 0.9466 GB, free: 11.98 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001473/1.437, allocations: 1.114 MB / 0.9477 GB, free: 11.82 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005132/1.438, allocations: 330.9 kB / 0.948 GB, free: 11.51 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.775e-05/1.438, allocations: 59.5 kB / 0.948 GB, free: 11.47 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=186): time 4.398e-06/1.438, allocations: 0 / 0.948 GB, free: 11.47 MB / 0.6856 GB Notification: Performance of matching and sorting (n=186): time 0.005407/1.443, allocations: 2.771 MB / 0.9508 GB, free: 10.95 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.392e-05/1.443, allocations: 71.44 kB / 0.9508 GB, free: 10.89 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003124/1.447, allocations: 1.98 MB / 0.9528 GB, free: 10.32 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0004725/1.447, allocations: 71.67 kB / 0.9528 GB, free: 10.29 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008956/1.448, allocations: 1.418 MB / 0.9542 GB, free: 9.617 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007926/1.449, allocations: 0.6555 MB / 0.9548 GB, free: 9.133 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001059/1.449, allocations: 43.34 kB / 0.9549 GB, free: 9.133 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0002388/1.449, allocations: 382.1 kB / 0.9553 GB, free: 8.805 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001309/1.45, allocations: 0.8013 MB / 0.956 GB, free: 8.68 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001597/1.452, allocations: 1.459 MB / 0.9575 GB, free: 7.793 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001513/1.454, allocations: 1.062 MB / 0.9585 GB, free: 7.668 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.879e-06/1.454, allocations: 3.344 kB / 0.9585 GB, free: 7.668 MB / 0.6856 GB Notification: Performance of matching and sorting (n=261) (initialization): time 0.00431/1.458, allocations: 2.497 MB / 0.9609 GB, free: 7.211 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003928/1.458, allocations: 470.2 kB / 0.9614 GB, free: 6.648 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.039e-05/1.458, allocations: 14.75 kB / 0.9614 GB, free: 6.648 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.709e-05/1.458, allocations: 22.91 kB / 0.9614 GB, free: 6.648 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002592/1.461, allocations: 0.5687 MB / 0.962 GB, free: 6.551 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0025/1.463, allocations: 4.158 MB / 0.966 GB, free: 2.41 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004472/1.468, allocations: 367.3 kB / 0.9664 GB, free: 2.238 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003985/1.468, allocations: 92.56 kB / 0.9665 GB, free: 2.23 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.472e-05/1.468, allocations: 8.594 kB / 0.9665 GB, free: 2.23 MB / 0.6856 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003945/1.472, allocations: 2.222 MB / 0.9687 GB, free: 1.945 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.81e-05/1.472, allocations: 14.75 kB / 0.9687 GB, free: 1.945 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.843e-05/1.472, allocations: 21.88 kB / 0.9687 GB, free: 1.945 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001787/1.474, allocations: 486 kB / 0.9692 GB, free: 1.887 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.698e-05/1.474, allocations: 30.36 kB / 0.9692 GB, free: 1.883 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003936/1.478, allocations: 365.9 kB / 0.9695 GB, free: 1.711 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002875/1.479, allocations: 87.92 kB / 0.9696 GB, free: 1.707 MB / 0.6856 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 56 * 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 (261): * Single equations (assignments): 254 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 7 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 7 {1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002556/1.481, allocations: 0.8637 MB / 0.9705 GB, free: 1.418 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001076/1.482, allocations: 274.7 kB / 0.9707 GB, free: 1.277 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003846/1.486, allocations: 2.144 MB / 0.9728 GB, free: 500 kB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.881e-05/1.486, allocations: 18.62 kB / 0.9728 GB, free: 484 kB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.625e-05/1.486, allocations: 3.953 kB / 0.9728 GB, free: 480 kB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002606/1.489, allocations: 1.909 MB / 0.9747 GB, free: 15.08 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01064/1.499, allocations: 5.214 MB / 0.9798 GB, free: 11.46 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.074e-05/1.499, allocations: 7.984 kB / 0.9798 GB, free: 11.45 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002293/1.502, allocations: 0.5131 MB / 0.9803 GB, free: 10.97 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.961e-05/1.502, allocations: 12 kB / 0.9803 GB, free: 10.96 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001364/1.502, allocations: 51.67 kB / 0.9804 GB, free: 10.94 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002143/1.504, allocations: 4.127 MB / 0.9844 GB, free: 6.699 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.625e-06/1.504, allocations: 6.656 kB / 0.9844 GB, free: 6.695 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00527/1.509, allocations: 3.415 MB / 0.9877 GB, free: 4.293 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002048/1.511, allocations: 0.5778 MB / 0.9883 GB, free: 3.805 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000544/1.512, allocations: 47.92 kB / 0.9883 GB, free: 3.785 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002123/1.514, allocations: 243.5 kB / 0.9886 GB, free: 3.574 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002052/1.514, allocations: 119.3 kB / 0.9887 GB, free: 3.473 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001294/1.515, allocations: 72.83 kB / 0.9888 GB, free: 3.414 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.002041/1.517, allocations: 1.314 MB / 0.99 GB, free: 2.438 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.2e-07/1.517, allocations: 1.969 kB / 0.99 GB, free: 2.438 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.005973/1.523, allocations: 1.732 MB / 0.9917 GB, free: 0.8008 MB / 0.7012 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 (186): * Single equations (assignments): 179 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 7 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 7 {1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009586/1.524, allocations: 381.1 kB / 0.9921 GB, free: 0.5195 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.006068/1.53, allocations: 3.339 MB / 0.9954 GB, free: 14.21 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.482e-05/1.53, allocations: 4.875 kB / 0.9954 GB, free: 14.2 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.001866/1.532, allocations: 1.047 MB / 0.9964 GB, free: 13.49 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01133/1.543, allocations: 1.612 MB / 0.998 GB, free: 12.17 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0154/1.558, allocations: 7.887 MB / 1.006 GB, free: 4.918 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00319/1.562, allocations: 2.196 MB / 1.008 GB, free: 2.824 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.005351/1.567, allocations: 1.112 MB / 1.009 GB, free: 1.707 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001108/1.568, allocations: 224.1 kB / 1.009 GB, free: 1.496 MB / 0.7169 GB Notification: Performance of SimCode: time 1.042e-06/1.568, allocations: 0 / 1.009 GB, free: 1.496 MB / 0.7169 GB Notification: Performance of Templates: time 0.09656/1.665, allocations: 52.32 MB / 1.06 GB, free: 14.01 MB / 0.7794 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)