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.001172/0.001172, allocations: 108.7 kB / 15.99 MB, free: 6.352 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.001276/0.001276, allocations: 195.7 kB / 16.91 MB, free: 6.188 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.332/1.332, allocations: 222.9 MB / 240.6 MB, free: 15.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8609/0.8609, allocations: 135.1 MB / 425.9 MB, free: 4.34 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001508/0.001508, allocations: 67.89 kB / 0.5055 GB, free: 8.73 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4303/0.4318, allocations: 80.91 MB / 0.5845 GB, free: 25.39 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Examples.TraceSubstancesFlowSource): time 0.6494/1.081, allocations: 301.6 MB / 0.879 GB, free: 15.75 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.03827/1.12, allocations: 25.63 MB / 0.9041 GB, free: 7.059 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006033/1.126, allocations: 115.2 kB / 0.9042 GB, free: 6.945 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.005714/1.131, allocations: 1.59 MB / 0.9057 GB, free: 5.348 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.01713/1.149, allocations: 5.599 MB / 0.9112 GB, free: 15.73 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.007583/1.156, allocations: 2.401 MB / 0.9135 GB, free: 13.36 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.01231/1.169, allocations: 8.899 MB / 0.9222 GB, free: 4.434 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005678/1.174, allocations: 3.523 MB / 0.9257 GB, free: 0.832 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01201/1.186, allocations: 4.152 MB / 0.9297 GB, free: 12.71 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006103/1.192, allocations: 3.155 MB / 0.9328 GB, free: 9.562 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.001513/1.194, allocations: 359.9 kB / 0.9331 GB, free: 9.211 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01036/1.204, allocations: 4.839 MB / 0.9379 GB, free: 4.359 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.003011/1.207, allocations: 1.652 MB / 0.9395 GB, free: 2.703 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.005179/1.213, allocations: 2.131 MB / 0.9416 GB, free: 0.5625 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.01004/1.223, allocations: 5.126 MB / 0.9466 GB, free: 11.43 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 8.526e-06/1.223, allocations: 0 / 0.9466 GB, free: 11.43 MB / 0.67 GB Notification: Performance of FrontEnd: time 2.855e-06/1.223, allocations: 0 / 0.9466 GB, free: 11.43 MB / 0.67 GB Notification: Performance of Transformations before backend: time 0.0002717/1.223, allocations: 0 / 0.9466 GB, free: 11.43 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.009912/1.233, allocations: 4.174 MB / 0.9507 GB, free: 7.184 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.624e-05/1.233, allocations: 13.11 kB / 0.9507 GB, free: 7.172 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006224/1.239, allocations: 0.9283 MB / 0.9516 GB, free: 6.238 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005039/1.244, allocations: 2.268 MB / 0.9538 GB, free: 3.895 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002815/1.245, allocations: 281.2 kB / 0.9541 GB, free: 3.605 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007524/1.245, allocations: 295.9 kB / 0.9543 GB, free: 3.316 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006889/1.252, allocations: 3.355 MB / 0.9576 GB, free: 15.87 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.203e-05/1.252, allocations: 4 kB / 0.9576 GB, free: 15.87 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003741/1.253, allocations: 111.9 kB / 0.9577 GB, free: 15.76 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001152/1.253, allocations: 109.3 kB / 0.9578 GB, free: 15.65 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004797/1.258, allocations: 2.792 MB / 0.9606 GB, free: 12.85 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.01648/1.274, allocations: 13.2 MB / 0.9734 GB, free: 14.47 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002633/1.277, allocations: 1.826 MB / 0.9752 GB, free: 12.63 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001501/1.278, allocations: 1.102 MB / 0.9763 GB, free: 11.53 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004971/1.279, allocations: 329.2 kB / 0.9766 GB, free: 11.15 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.657e-05/1.279, allocations: 60.56 kB / 0.9767 GB, free: 11.08 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=182): time 3.436e-06/1.279, allocations: 0 / 0.9767 GB, free: 11.08 MB / 0.7012 GB Notification: Performance of matching and sorting (n=182): time 0.005172/1.284, allocations: 2.725 MB / 0.9793 GB, free: 8.355 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.616e-05/1.284, allocations: 73.41 kB / 0.9794 GB, free: 8.273 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003228/1.287, allocations: 1.998 MB / 0.9814 GB, free: 6.258 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.0002633/1.288, allocations: 73.58 kB / 0.9814 GB, free: 6.18 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.001118/1.289, allocations: 1.406 MB / 0.9828 GB, free: 4.758 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006771/1.29, allocations: 0.6392 MB / 0.9834 GB, free: 4.109 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006487/1.29, allocations: 391.2 kB / 0.9838 GB, free: 3.719 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001161/1.29, allocations: 309.1 kB / 0.9841 GB, free: 3.414 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001334/1.292, allocations: 0.8091 MB / 0.9849 GB, free: 2.594 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001741/1.293, allocations: 1.432 MB / 0.9863 GB, free: 0.8945 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003093/1.296, allocations: 2.248 MB / 0.9885 GB, free: 14.46 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.525e-05/1.297, allocations: 4 kB / 0.9885 GB, free: 14.46 MB / 0.7169 GB Notification: Performance of matching and sorting (n=257) (initialization): time 0.004249/1.301, allocations: 2.494 MB / 0.9909 GB, free: 11.95 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.102e-05/1.301, allocations: 12 kB / 0.9909 GB, free: 11.94 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.414e-05/1.301, allocations: 15.94 kB / 0.9909 GB, free: 11.93 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.146e-05/1.301, allocations: 24 kB / 0.991 GB, free: 11.9 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002524/1.303, allocations: 0.5502 MB / 0.9915 GB, free: 11.35 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002202/1.306, allocations: 4.165 MB / 0.9956 GB, free: 7.023 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003299/1.309, allocations: 372.4 kB / 0.9959 GB, free: 6.66 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000234/1.309, allocations: 83.98 kB / 0.996 GB, free: 6.578 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002662/1.312, allocations: 1.461 MB / 0.9974 GB, free: 5.109 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001787/1.314, allocations: 1.424 MB / 0.9988 GB, free: 3.418 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003056/1.317, allocations: 2.233 MB / 1.001 GB, free: 1.008 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.347e-05/1.317, allocations: 4 kB / 1.001 GB, free: 1.004 MB / 0.7169 GB Notification: Performance of matching and sorting (n=257) (initialization_lambda0): time 0.004305/1.321, allocations: 2.473 MB / 1.003 GB, free: 14.52 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.32e-05/1.321, allocations: 12 kB / 1.003 GB, free: 14.51 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.987e-05/1.321, allocations: 12 kB / 1.003 GB, free: 14.5 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.807e-05/1.321, allocations: 24 kB / 1.003 GB, free: 14.48 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001691/1.323, allocations: 467.8 kB / 1.004 GB, free: 14.02 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.725e-05/1.323, allocations: 39.86 kB / 1.004 GB, free: 13.98 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003177/1.326, allocations: 330.7 kB / 1.004 GB, free: 13.66 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001805/1.326, allocations: 91.98 kB / 1.004 GB, free: 13.57 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.0005417/1.327, allocations: 316.5 kB / 1.005 GB, free: 13.25 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007696/1.328, allocations: 264.8 kB / 1.005 GB, free: 12.99 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003576/1.331, allocations: 2.103 MB / 1.007 GB, free: 10.87 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.674e-05/1.331, allocations: 16 kB / 1.007 GB, free: 10.85 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.203e-05/1.331, allocations: 4 kB / 1.007 GB, free: 10.85 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002585/1.334, allocations: 1.882 MB / 1.009 GB, free: 8.918 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009305/1.343, allocations: 5.155 MB / 1.014 GB, free: 3.66 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.017e-06/1.343, allocations: 4 kB / 1.014 GB, free: 3.656 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002336/1.346, allocations: 0.5037 MB / 1.014 GB, free: 3.152 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.565e-05/1.346, allocations: 8 kB / 1.014 GB, free: 3.145 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001603/1.346, allocations: 55.97 kB / 1.014 GB, free: 3.09 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002097/1.348, allocations: 4.122 MB / 1.018 GB, free: 14.8 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.428e-06/1.348, allocations: 4 kB / 1.018 GB, free: 14.8 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005176/1.353, allocations: 3.371 MB / 1.022 GB, free: 11.38 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001839/1.355, allocations: 0.5599 MB / 1.022 GB, free: 10.79 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006524/1.356, allocations: 43.98 kB / 1.022 GB, free: 10.75 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002723/1.358, allocations: 242.4 kB / 1.023 GB, free: 10.52 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002322/1.359, allocations: 117.7 kB / 1.023 GB, free: 10.4 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002009/1.359, allocations: 75.95 kB / 1.023 GB, free: 10.33 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.002353/1.361, allocations: 1.33 MB / 1.024 GB, free: 8.988 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.4e-07/1.361, allocations: 0 / 1.024 GB, free: 8.988 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.005035/1.366, allocations: 1.726 MB / 1.026 GB, free: 7.258 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.0008645/1.367, allocations: 347.9 kB / 1.026 GB, free: 6.926 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.009496/1.377, allocations: 4.633 MB / 1.031 GB, free: 2.301 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 9.357e-06/1.377, allocations: 0.875 kB / 1.031 GB, free: 2.301 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.001763/1.378, allocations: 1.038 MB / 1.032 GB, free: 1.262 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.3202/1.699, allocations: 1.522 MB / 1.033 GB, free: 323.5 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01379/1.712, allocations: 8.009 MB / 1.041 GB, free: 319.9 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002568/1.715, allocations: 2.194 MB / 1.043 GB, free: 319 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001131/1.716, allocations: 228.6 kB / 1.043 GB, free: 319 MB / 0.7481 GB Notification: Performance of SimCode: time 7.21e-07/1.716, allocations: 4 kB / 1.043 GB, free: 319 MB / 0.7481 GB Notification: Performance of Templates: time 0.1148/1.831, allocations: 140.8 MB / 1.181 GB, free: 189 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)