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.0009839/0.0009837, allocations: 86.33 kB / 15.06 MB, free: 1.09 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.001119/0.001119, allocations: 168.7 kB / 15.95 MB, free: 204 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.437/1.437, allocations: 223.2 MB / 240 MB, free: 5.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.789/0.789, allocations: 132.3 MB / 423.4 MB, free: 2.07 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002995/0.0002996, allocations: 12 kB / 0.5035 GB, free: 4.129 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4594/0.4598, allocations: 81.56 MB / 0.5831 GB, free: 3.98 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Examples.TraceSubstancesFlowSource): time 0.6755/1.135, allocations: 278.7 MB / 0.8553 GB, free: 8.777 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.02925/1.165, allocations: 24.14 MB / 0.8789 GB, free: 8.352 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004116/1.169, allocations: 104.8 kB / 0.879 GB, free: 8.352 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.003998/1.173, allocations: 1.198 MB / 0.8802 GB, free: 8.336 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.01202/1.185, allocations: 4.365 MB / 0.8845 GB, free: 8.137 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.00645/1.191, allocations: 1.953 MB / 0.8864 GB, free: 8.086 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.01356/1.205, allocations: 10.43 MB / 0.8966 GB, free: 8.066 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004883/1.21, allocations: 2.549 MB / 0.899 GB, free: 23.7 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007749/1.218, allocations: 3.203 MB / 0.9022 GB, free: 23.39 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005786/1.223, allocations: 2.827 MB / 0.9049 GB, free: 22.88 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.001492/1.225, allocations: 153.2 kB / 0.9051 GB, free: 22.88 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008366/1.233, allocations: 2.417 MB / 0.9074 GB, free: 22.4 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.002896/1.236, allocations: 1.422 MB / 0.9088 GB, free: 21.91 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.002521/1.239, allocations: 0.7635 MB / 0.9096 GB, free: 21.88 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.007847/1.247, allocations: 4.75 MB / 0.9142 GB, free: 19.52 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 7.023e-06/1.247, allocations: 0 / 0.9142 GB, free: 19.52 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.866e-06/1.247, allocations: 0 / 0.9142 GB, free: 19.52 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 0.0002646/1.247, allocations: 0 / 0.9142 GB, free: 19.52 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.006988/1.254, allocations: 3.477 MB / 0.9176 GB, free: 17.39 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.06e-05/1.254, allocations: 14.47 kB / 0.9176 GB, free: 17.39 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00097/1.255, allocations: 390.8 kB / 0.918 GB, free: 17.28 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005963/1.261, allocations: 0.9438 MB / 0.9189 GB, free: 16.89 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005864/1.267, allocations: 2.388 MB / 0.9212 GB, free: 15.89 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002864/1.267, allocations: 283.3 kB / 0.9215 GB, free: 15.81 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007922/1.268, allocations: 295.9 kB / 0.9218 GB, free: 15.8 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006842/1.275, allocations: 3.347 MB / 0.9251 GB, free: 14.89 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.089e-05/1.275, allocations: 1.859 kB / 0.9251 GB, free: 14.89 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003865/1.275, allocations: 117.8 kB / 0.9252 GB, free: 14.89 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001103/1.275, allocations: 111.3 kB / 0.9253 GB, free: 14.88 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004601/1.28, allocations: 2.783 MB / 0.928 GB, free: 14.39 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.01647/1.297, allocations: 13.26 MB / 0.9409 GB, free: 3.098 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002622/1.299, allocations: 1.871 MB / 0.9428 GB, free: 1.941 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001509/1.301, allocations: 1.113 MB / 0.9439 GB, free: 1.223 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004521/1.301, allocations: 333.3 kB / 0.9442 GB, free: 0.8555 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.268e-05/1.301, allocations: 60.38 kB / 0.9442 GB, free: 0.8047 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=186): time 4.418e-06/1.301, allocations: 0 / 0.9442 GB, free: 0.8047 MB / 0.6544 GB Notification: Performance of matching and sorting (n=186): time 0.004983/1.306, allocations: 2.768 MB / 0.9469 GB, free: 14.85 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.033e-05/1.306, allocations: 69.41 kB / 0.947 GB, free: 14.77 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003672/1.31, allocations: 1.987 MB / 0.9489 GB, free: 13.26 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0003989/1.31, allocations: 65.83 kB / 0.949 GB, free: 13.21 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.001052/1.312, allocations: 1.419 MB / 0.9504 GB, free: 12.35 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007885/1.312, allocations: 0.6544 MB / 0.951 GB, free: 11.79 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002228/1.313, allocations: 40.56 kB / 0.9511 GB, free: 11.78 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0002632/1.313, allocations: 387.7 kB / 0.9514 GB, free: 11.43 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001602/1.314, allocations: 0.7968 MB / 0.9522 GB, free: 10.91 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002073/1.317, allocations: 1.464 MB / 0.9537 GB, free: 9.512 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001681/1.318, allocations: 1.06 MB / 0.9547 GB, free: 8.871 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.445e-05/1.318, allocations: 4 kB / 0.9547 GB, free: 8.867 MB / 0.67 GB Notification: Performance of matching and sorting (n=261) (initialization): time 0.004536/1.323, allocations: 2.493 MB / 0.9571 GB, free: 7.141 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003992/1.323, allocations: 471.5 kB / 0.9576 GB, free: 6.555 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.793e-05/1.323, allocations: 12 kB / 0.9576 GB, free: 6.543 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.7e-05/1.323, allocations: 27.95 kB / 0.9576 GB, free: 6.516 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002458/1.326, allocations: 0.5568 MB / 0.9582 GB, free: 6.004 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002393/1.328, allocations: 4.157 MB / 0.9622 GB, free: 1.746 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003385/1.332, allocations: 380.9 kB / 0.9626 GB, free: 1.41 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001787/1.332, allocations: 93.47 kB / 0.9627 GB, free: 1.336 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.006e-05/1.332, allocations: 4 kB / 0.9627 GB, free: 1.332 MB / 0.67 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003397/1.335, allocations: 2.226 MB / 0.9648 GB, free: 15.92 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.371e-05/1.335, allocations: 17.86 kB / 0.9649 GB, free: 15.9 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.69e-05/1.335, allocations: 24 kB / 0.9649 GB, free: 15.88 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001678/1.337, allocations: 486.2 kB / 0.9653 GB, free: 15.45 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.568e-05/1.337, allocations: 29.44 kB / 0.9654 GB, free: 15.43 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003019/1.34, allocations: 355.1 kB / 0.9657 GB, free: 15.11 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001832/1.34, allocations: 90.67 kB / 0.9658 GB, free: 15.04 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.001534/1.342, allocations: 0.8607 MB / 0.9666 GB, free: 14.47 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006663/1.342, allocations: 272.7 kB / 0.9669 GB, free: 14.2 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003427/1.346, allocations: 2.142 MB / 0.969 GB, free: 12.8 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.605e-05/1.346, allocations: 19.95 kB / 0.969 GB, free: 12.78 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.085e-05/1.346, allocations: 4 kB / 0.969 GB, free: 12.78 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002539/1.348, allocations: 1.906 MB / 0.9709 GB, free: 11.39 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008584/1.357, allocations: 5.21 MB / 0.976 GB, free: 7.773 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-05/1.357, allocations: 8.359 kB / 0.976 GB, free: 7.766 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002273/1.359, allocations: 0.5099 MB / 0.9765 GB, free: 7.289 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.918e-05/1.359, allocations: 8 kB / 0.9765 GB, free: 7.281 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001601/1.36, allocations: 51.55 kB / 0.9765 GB, free: 7.258 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001843/1.361, allocations: 4.131 MB / 0.9806 GB, free: 3.02 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.592e-06/1.361, allocations: 3.984 kB / 0.9806 GB, free: 3.016 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005092/1.367, allocations: 3.416 MB / 0.9839 GB, free: 0.6133 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001764/1.368, allocations: 0.5778 MB / 0.9845 GB, free: 128 kB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007393/1.369, allocations: 48.05 kB / 0.9845 GB, free: 108 kB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002525/1.372, allocations: 250.8 kB / 0.9848 GB, free: 15.89 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001967/1.372, allocations: 114.7 kB / 0.9849 GB, free: 15.79 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001576/1.372, allocations: 76.34 kB / 0.9849 GB, free: 15.73 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.002337/1.374, allocations: 1.312 MB / 0.9862 GB, free: 14.75 MB / 0.7012 GB Notification: Performance of sort global known variables: time 2.1e-07/1.374, allocations: 0 / 0.9862 GB, free: 14.75 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.006008/1.38, allocations: 1.727 MB / 0.9879 GB, free: 13.12 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.006383/1.387, allocations: 4.249 MB / 0.9921 GB, free: 9.957 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.006908/1.394, allocations: 3.338 MB / 0.9953 GB, free: 7.648 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 7.764e-06/1.394, allocations: 4 kB / 0.9953 GB, free: 7.645 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.001718/1.396, allocations: 1.046 MB / 0.9963 GB, free: 6.926 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00739/1.403, allocations: 1.618 MB / 0.9979 GB, free: 5.609 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03171/1.435, allocations: 19.31 MB / 1.017 GB, free: 3.793 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002641/1.437, allocations: 2.197 MB / 1.019 GB, free: 1.703 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.004977/1.442, allocations: 1.108 MB / 1.02 GB, free: 0.5898 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002041/1.444, allocations: 1.276 MB / 1.021 GB, free: 292 kB / 0.7169 GB Notification: Performance of SimCode: time 2.485e-06/1.444, allocations: 0 / 1.021 GB, free: 292 kB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1264/1.571, allocations: 78.32 MB / 1.098 GB, free: 3.043 MB / 0.795 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002123/1.571, allocations: 250.5 kB / 1.098 GB, free: 2.711 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.878/5.449, allocations: 0 / 1.098 GB, free: 2.711 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: