Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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: "" <> buildModelFMU(IDEAS.Fluid.Sources.Examples.TraceSubstancesFlowSource,fileNamePrefix="IDEAS_IDEAS_Fluid_Sources_Examples_TraceSubstancesFlowSource",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sources.Examples.TraceSubstancesFlowSource,fileNamePrefix="IDEAS_IDEAS_Fluid_Sources_Examples_TraceSubstancesFlowSource",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001489/0.001489, allocations: 100.9 kB / 15.05 MB, free: 1.105 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.001849/0.001848, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.294/2.294, allocations: 223.2 MB / 239.9 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 1.111/1.111, allocations: 132.2 MB / 423.2 MB, free: 2.16 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005491/0.0005492, allocations: 8 kB / 0.5033 GB, free: 4.18 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9257/0.9263, allocations: 81.57 MB / 0.583 GB, free: 4.246 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Examples.TraceSubstancesFlowSource): time 1.316/2.242, allocations: 247.2 MB / 0.8244 GB, free: 8.203 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.05883/2.301, allocations: 23.89 MB / 0.8477 GB, free: 7.941 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.008476/2.31, allocations: 99.62 kB / 0.8478 GB, free: 7.941 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.01055/2.32, allocations: 1.717 MB / 0.8495 GB, free: 7.938 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.0384/2.359, allocations: 5.854 MB / 0.8552 GB, free: 7.867 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.01822/2.377, allocations: 2.705 MB / 0.8578 GB, free: 7.816 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.02051/2.398, allocations: 5.133 MB / 0.8629 GB, free: 7.789 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009488/2.407, allocations: 2.58 MB / 0.8654 GB, free: 23.42 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01429/2.421, allocations: 2.63 MB / 0.8679 GB, free: 23.41 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009039/2.431, allocations: 1.898 MB / 0.8698 GB, free: 23.41 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.002616/2.433, allocations: 153.2 kB / 0.8699 GB, free: 23.41 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01911/2.452, allocations: 2.096 MB / 0.872 GB, free: 23.4 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.007598/2.46, allocations: 1.307 MB / 0.8733 GB, free: 23.4 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.006771/2.467, allocations: 0.7612 MB / 0.874 GB, free: 23.37 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.02018/2.487, allocations: 4.516 MB / 0.8784 GB, free: 22.67 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 7.875e-06/2.487, allocations: 1.859 kB / 0.8784 GB, free: 22.67 MB / 0.6544 GB Notification: Performance of FrontEnd: time 6.172e-06/2.487, allocations: 0 / 0.8784 GB, free: 22.67 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 0.0002815/2.488, allocations: 0 / 0.8784 GB, free: 22.67 MB / 0.6544 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.01827/2.506, allocations: 3.409 MB / 0.8818 GB, free: 20.59 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 7.827e-05/2.506, allocations: 9.562 kB / 0.8818 GB, free: 20.59 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00288/2.509, allocations: 393.7 kB / 0.8821 GB, free: 20.47 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01319/2.522, allocations: 0.9429 MB / 0.8831 GB, free: 20.09 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01227/2.535, allocations: 2.238 MB / 0.8852 GB, free: 19.12 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007425/2.535, allocations: 275.6 kB / 0.8855 GB, free: 19.04 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002142/2.538, allocations: 300.5 kB / 0.8858 GB, free: 19.04 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01766/2.555, allocations: 3.321 MB / 0.889 GB, free: 18.12 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001482/2.555, allocations: 0 / 0.889 GB, free: 18.12 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009343/2.556, allocations: 127 kB / 0.8892 GB, free: 18.12 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002609/2.557, allocations: 109.6 kB / 0.8893 GB, free: 18.11 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0135/2.57, allocations: 2.782 MB / 0.892 GB, free: 17.62 MB / 0.6544 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.0504/2.621, allocations: 13.25 MB / 0.9049 GB, free: 8.426 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006433/2.627, allocations: 1.856 MB / 0.9067 GB, free: 8.176 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000367/2.628, allocations: 57.95 kB / 0.9068 GB, free: 8.168 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000125/2.628, allocations: 57.5 kB / 0.9068 GB, free: 8.129 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=186): time 8.767e-06/2.628, allocations: 4 kB / 0.9068 GB, free: 8.125 MB / 0.6544 GB Notification: Performance of matching and sorting (n=186): time 0.01149/2.639, allocations: 2.776 MB / 0.9096 GB, free: 7.605 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001453/2.64, allocations: 75.36 kB / 0.9096 GB, free: 7.535 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006018/2.646, allocations: 1.974 MB / 0.9116 GB, free: 6.977 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0007852/2.646, allocations: 76.84 kB / 0.9116 GB, free: 6.941 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.002165/2.649, allocations: 1.408 MB / 0.913 GB, free: 6.27 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.001838/2.651, allocations: 0.648 MB / 0.9136 GB, free: 5.793 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001732/2.651, allocations: 46.34 kB / 0.9137 GB, free: 5.793 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0004268/2.651, allocations: 385.5 kB / 0.914 GB, free: 5.461 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002675/2.654, allocations: 0.7991 MB / 0.9148 GB, free: 5.336 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003635/2.657, allocations: 1.456 MB / 0.9163 GB, free: 4.449 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002604/2.66, allocations: 1.067 MB / 0.9173 GB, free: 4.312 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.738e-05/2.66, allocations: 3.25 kB / 0.9173 GB, free: 4.312 MB / 0.6544 GB Notification: Performance of matching and sorting (n=261) (initialization): time 0.008184/2.668, allocations: 2.488 MB / 0.9197 GB, free: 3.867 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 0.004236/2.673, allocations: 5.244 MB / 0.9248 GB, free: 14.27 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.634e-05/2.673, allocations: 12.12 kB / 0.9249 GB, free: 14.27 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.748e-05/2.673, allocations: 24.22 kB / 0.9249 GB, free: 14.27 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005393/2.678, allocations: 0.5728 MB / 0.9254 GB, free: 14.17 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004508/2.683, allocations: 4.156 MB / 0.9295 GB, free: 10.03 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008027/2.691, allocations: 374.9 kB / 0.9299 GB, free: 9.852 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000825/2.692, allocations: 92.88 kB / 0.9299 GB, free: 9.844 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 3.313e-05/2.692, allocations: 4.875 kB / 0.9299 GB, free: 9.844 MB / 0.67 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007269/2.699, allocations: 2.221 MB / 0.9321 GB, free: 8.547 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.988e-05/2.699, allocations: 16.09 kB / 0.9321 GB, free: 8.531 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.727e-05/2.699, allocations: 28 kB / 0.9322 GB, free: 8.504 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003662/2.703, allocations: 484.7 kB / 0.9326 GB, free: 8.078 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.53e-05/2.703, allocations: 33.14 kB / 0.9327 GB, free: 8.051 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007234/2.71, allocations: 357.2 kB / 0.933 GB, free: 7.738 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006948/2.711, allocations: 89.81 kB / 0.9331 GB, free: 7.668 MB / 0.67 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.004864/2.716, allocations: 0.8615 MB / 0.9339 GB, free: 7.094 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002295/2.718, allocations: 272.7 kB / 0.9342 GB, free: 6.824 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008611/2.727, allocations: 2.14 MB / 0.9363 GB, free: 5.422 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.232e-05/2.727, allocations: 20 kB / 0.9363 GB, free: 5.402 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.437e-05/2.727, allocations: 4 kB / 0.9363 GB, free: 5.398 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005387/2.733, allocations: 1.916 MB / 0.9382 GB, free: 4.012 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01876/2.751, allocations: 5.214 MB / 0.9433 GB, free: 388 kB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.131e-05/2.752, allocations: 4 kB / 0.9433 GB, free: 384 kB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004741/2.756, allocations: 0.5079 MB / 0.9438 GB, free: 15.91 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.839e-05/2.756, allocations: 12 kB / 0.9438 GB, free: 15.89 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002647/2.757, allocations: 48.98 kB / 0.9438 GB, free: 15.87 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00372/2.76, allocations: 4.128 MB / 0.9478 GB, free: 11.64 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-05/2.761, allocations: 7.984 kB / 0.9479 GB, free: 11.63 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01043/2.771, allocations: 3.643 MB / 0.9514 GB, free: 8.938 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003897/2.775, allocations: 0.5803 MB / 0.952 GB, free: 8.445 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001542/2.776, allocations: 51.31 kB / 0.952 GB, free: 8.422 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005889/2.782, allocations: 251.6 kB / 0.9523 GB, free: 8.203 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006835/2.783, allocations: 119.4 kB / 0.9524 GB, free: 8.102 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005656/2.784, allocations: 73.39 kB / 0.9525 GB, free: 8.043 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.005893/2.79, allocations: 1.316 MB / 0.9537 GB, free: 7.062 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.162e-06/2.79, allocations: 0 / 0.9537 GB, free: 7.062 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.01443/2.804, allocations: 1.72 MB / 0.9554 GB, free: 5.438 MB / 0.6856 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.01462/2.819, allocations: 5.208 MB / 0.9605 GB, free: 1.289 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.01269/2.832, allocations: 3.344 MB / 0.9638 GB, free: 14.97 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 2.561e-05/2.832, allocations: 0 / 0.9638 GB, free: 14.97 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.00449/2.836, allocations: 1.053 MB / 0.9648 GB, free: 14.25 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01839/2.855, allocations: 1.582 MB / 0.9663 GB, free: 12.95 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04628/2.901, allocations: 18.77 MB / 0.9847 GB, free: 10.42 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006492/2.908, allocations: 2.255 MB / 0.9869 GB, free: 8.266 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.008787/2.917, allocations: 1.112 MB / 0.988 GB, free: 7.148 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004314/2.921, allocations: 1.277 MB / 0.9892 GB, free: 6.848 MB / 0.7169 GB Notification: Performance of SimCode: time 3.176e-06/2.921, allocations: 0 / 0.9892 GB, free: 6.848 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2377/3.159, allocations: 76.85 MB / 1.064 GB, free: 11.14 MB / 0.795 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004752/3.159, allocations: 251 kB / 1.064 GB, free: 10.85 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.794/9.953, allocations: 0 / 1.064 GB, free: 10.85 MB / 0.795 GB (rm -f IDEAS_IDEAS.Fluid.Sources.Examples.TraceSubstancesFlowSource.pipe ; mkfifo IDEAS_IDEAS.Fluid.Sources.Examples.TraceSubstancesFlowSource.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Sources.Examples.TraceSubstancesFlowSource.pipe >> ../files/IDEAS_IDEAS.Fluid.Sources.Examples.TraceSubstancesFlowSource.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Sources_Examples_TraceSubstancesFlowSource_fmu --startTime=0 --stopTime=600 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Sources_Examples_TraceSubstancesFlowSource.fmu > IDEAS_IDEAS.Fluid.Sources.Examples.TraceSubstancesFlowSource.pipe 2>&1) Environment - environmentSimulation: