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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.00117/0.00117, allocations: 174.6 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7579/0.7579, allocations: 133.4 MB / 146.7 MB, free: 10.79 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.526/1.526, allocations: 221.3 MB / 400.4 MB, free: 5.875 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001232/0.001232, allocations: 96.67 kB / 483.3 MB, free: 5.898 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 3.638e-05/3.65e-05, allocations: 4.125 kB / 0.5601 GB, free: 87.88 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1857/0.1858, allocations: 82.3 MB / 0.6405 GB, free: 7.738 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.819/6.005, allocations: 1.943 GB / 2.583 GB, free: 255.3 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004276/6.006, allocations: 86.86 kB / 2.583 GB, free: 255.3 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 8.203/14.21, allocations: 2.063 GB / 4.647 GB, free: 61.98 MB / 0.7605 GB Notification: Performance of FrontEnd: time 2.775e-06/14.21, allocations: 0 / 4.647 GB, free: 61.98 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 0.000695/14.21, allocations: 96.98 kB / 4.647 GB, free: 61.96 MB / 0.7605 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.01857/14.23, allocations: 3.489 MB / 4.65 GB, free: 60.36 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 6.807e-05/14.23, allocations: 7.812 kB / 4.65 GB, free: 60.36 MB / 0.7605 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002003/14.23, allocations: 386.9 kB / 4.65 GB, free: 60.3 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01107/14.24, allocations: 0.9282 MB / 4.651 GB, free: 60.1 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01528/14.26, allocations: 2.883 MB / 4.654 GB, free: 59.52 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000727/14.26, allocations: 279.8 kB / 4.654 GB, free: 59.45 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00195/14.26, allocations: 306.8 kB / 4.655 GB, free: 59.44 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01437/14.27, allocations: 3.129 MB / 4.658 GB, free: 59.18 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002277/14.27, allocations: 3 kB / 4.658 GB, free: 59.18 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001259/14.27, allocations: 117.3 kB / 4.658 GB, free: 59.18 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001825/14.28, allocations: 103.6 kB / 4.658 GB, free: 59.17 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008894/14.28, allocations: 2.565 MB / 4.661 GB, free: 59.14 MB / 0.7605 GB Warning: The model contains alias variables with conflicting start and/or 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.03/14.31, allocations: 13.19 MB / 4.673 GB, free: 51.94 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004031/14.32, allocations: 1.762 MB / 4.675 GB, free: 51.91 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002195/14.32, allocations: 1.056 MB / 4.676 GB, free: 51.89 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007128/14.32, allocations: 329.7 kB / 4.676 GB, free: 51.6 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.871e-05/14.32, allocations: 54.25 kB / 4.677 GB, free: 51.56 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=182): time 5.841e-06/14.32, allocations: 0 / 4.677 GB, free: 51.56 MB / 0.7605 GB Notification: Performance of matching and sorting (n=182): time 0.007069/14.33, allocations: 1.942 MB / 4.678 GB, free: 51.35 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.607e-05/14.33, allocations: 70.31 kB / 4.678 GB, free: 51.28 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005139/14.33, allocations: 1.693 MB / 4.68 GB, free: 51.05 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 0.0008924/14.33, allocations: 71.7 kB / 4.68 GB, free: 51.02 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.002082/14.34, allocations: 1.416 MB / 4.682 GB, free: 50.48 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.001582/14.34, allocations: 0.6338 MB / 4.682 GB, free: 50.07 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001751/14.34, allocations: 44.22 kB / 4.682 GB, free: 50.07 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0002679/14.34, allocations: 386.2 kB / 4.683 GB, free: 49.77 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002005/14.34, allocations: 0.7555 MB / 4.683 GB, free: 49.76 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001722/14.34, allocations: 1.437 MB / 4.685 GB, free: 48.98 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00153/14.34, allocations: 1.035 MB / 4.686 GB, free: 48.94 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.334e-05/14.34, allocations: 3.531 kB / 4.686 GB, free: 48.94 MB / 0.7605 GB Notification: Performance of matching and sorting (n=257) (initialization): time 0.004346/14.35, allocations: 2.403 MB / 4.688 GB, free: 48.65 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 0.001334/14.35, allocations: 5.528 MB / 4.694 GB, free: 42.8 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.71e-05/14.35, allocations: 10.22 kB / 4.694 GB, free: 42.8 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.069e-05/14.35, allocations: 30.14 kB / 4.694 GB, free: 42.8 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002551/14.35, allocations: 0.5116 MB / 4.694 GB, free: 42.77 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001786/14.35, allocations: 4.152 MB / 4.698 GB, free: 38.66 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004952/14.36, allocations: 370.3 kB / 4.698 GB, free: 38.55 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003806/14.36, allocations: 90.88 kB / 4.699 GB, free: 38.55 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.504e-05/14.36, allocations: 3.594 kB / 4.699 GB, free: 38.55 MB / 0.7605 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003716/14.36, allocations: 2.142 MB / 4.701 GB, free: 38.43 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.388e-05/14.36, allocations: 13.41 kB / 4.701 GB, free: 38.43 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.475e-05/14.36, allocations: 25.25 kB / 4.701 GB, free: 38.43 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00183/14.37, allocations: 476.8 kB / 4.701 GB, free: 38.39 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.542e-05/14.37, allocations: 31.89 kB / 4.701 GB, free: 38.39 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004098/14.37, allocations: 351.4 kB / 4.702 GB, free: 38.3 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002521/14.37, allocations: 95.03 kB / 4.702 GB, free: 38.29 MB / 0.7605 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 () * 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 (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.0007155/14.37, allocations: 232 kB / 4.702 GB, free: 38.15 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009844/14.37, allocations: 270 kB / 4.702 GB, free: 38.02 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003645/14.38, allocations: 2.037 MB / 4.704 GB, free: 37.89 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.526e-05/14.38, allocations: 18.47 kB / 4.704 GB, free: 37.89 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.568e-06/14.38, allocations: 3.953 kB / 4.704 GB, free: 37.89 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002372/14.38, allocations: 1.82 MB / 4.706 GB, free: 37.58 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01098/14.39, allocations: 5.085 MB / 4.711 GB, free: 37.03 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.035e-05/14.39, allocations: 3.906 kB / 4.711 GB, free: 37.03 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002347/14.39, allocations: 0.5123 MB / 4.711 GB, free: 37 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.015e-05/14.39, allocations: 11.47 kB / 4.711 GB, free: 37 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001429/14.39, allocations: 50.03 kB / 4.711 GB, free: 37 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001405/14.39, allocations: 4.127 MB / 4.715 GB, free: 32.9 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.22e-06/14.39, allocations: 6.156 kB / 4.715 GB, free: 32.89 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00508/14.4, allocations: 3.5 MB / 4.719 GB, free: 32.13 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002226/14.4, allocations: 0.5677 MB / 4.719 GB, free: 31.88 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00069/14.4, allocations: 38.95 kB / 4.719 GB, free: 31.88 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003093/14.4, allocations: 254.8 kB / 4.72 GB, free: 31.86 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002583/14.4, allocations: 111.5 kB / 4.72 GB, free: 31.86 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001646/14.4, allocations: 72.58 kB / 4.72 GB, free: 31.86 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.00272/14.41, allocations: 1.291 MB / 4.721 GB, free: 31.42 MB / 0.7605 GB Notification: Performance of sort global known variables: time 4.1e-07/14.41, allocations: 3.938 kB / 4.721 GB, free: 31.41 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.008603/14.42, allocations: 2.137 MB / 4.723 GB, free: 30.86 MB / 0.7605 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 () * 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 (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.01461/14.43, allocations: 9.454 MB / 4.732 GB, free: 25.51 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.006918/14.44, allocations: 3.221 MB / 4.736 GB, free: 24.39 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 1.336e-05/14.44, allocations: 3.094 kB / 4.736 GB, free: 24.39 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.001743/14.44, allocations: 0.9782 MB / 4.737 GB, free: 23.97 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009523/14.45, allocations: 1.578 MB / 4.738 GB, free: 22.85 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01556/14.46, allocations: 6.355 MB / 4.744 GB, free: 17.34 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002034/14.47, allocations: 2.257 MB / 4.747 GB, free: 15.59 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.00592/14.47, allocations: 1.339 MB / 4.748 GB, free: 14.72 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002196/14.47, allocations: 1.223 MB / 4.749 GB, free: 13.59 MB / 0.7605 GB Notification: Performance of SimCode: time 1.472e-06/14.47, allocations: 4 kB / 4.749 GB, free: 13.59 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9058/15.38, allocations: 151.1 MB / 4.897 GB, free: 57.81 MB / 0.7761 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002258/15.38, allocations: 210.7 kB / 4.897 GB, free: 57.59 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.894/23.27, allocations: 7.75 kB / 4.897 GB, free: 57.59 MB / 0.7761 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)