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: "" <> buildModelFMU(IDEAS.Fluid.Sources.Examples.TraceSubstancesFlowSource,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Sources_Examples_TraceSubstancesFlowSource",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sources.Examples.TraceSubstancesFlowSource,fileNamePrefix="IDEAS_dev_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.001487/0.001487, allocations: 99.55 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.00169/0.00169, 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.65/2.65, allocations: 223.2 MB / 239.9 MB, free: 5.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.822/1.822, allocations: 135.2 MB / 426.2 MB, free: 14.32 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005889/0.000589, allocations: 12 kB / 0.5069 GB, free: 5.184 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.292/0.2926, allocations: 82.31 MB / 0.5873 GB, free: 3.051 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Examples.TraceSubstancesFlowSource): time 1.094/1.387, allocations: 247.2 MB / 0.8287 GB, free: 5.137 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.06944/1.456, allocations: 23.88 MB / 0.852 GB, free: 13.23 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00708/1.464, allocations: 99.31 kB / 0.8521 GB, free: 13.13 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.01123/1.475, allocations: 1.719 MB / 0.8538 GB, free: 11.41 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.03467/1.51, allocations: 5.854 MB / 0.8595 GB, free: 5.543 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.01634/1.526, allocations: 2.707 MB / 0.8621 GB, free: 2.879 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.8395/2.365, allocations: 5.123 MB / 0.8671 GB, free: 10.2 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008311/2.374, allocations: 2.578 MB / 0.8697 GB, free: 25.85 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0112/2.385, allocations: 2.632 MB / 0.8722 GB, free: 25.84 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006806/2.392, allocations: 1.903 MB / 0.8741 GB, free: 25.84 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.001857/2.394, allocations: 156.5 kB / 0.8742 GB, free: 25.83 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01378/2.408, allocations: 2.09 MB / 0.8763 GB, free: 25.83 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.004574/2.412, allocations: 1.308 MB / 0.8776 GB, free: 25.83 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.004174/2.417, allocations: 0.7632 MB / 0.8783 GB, free: 25.8 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.01555/2.432, allocations: 4.507 MB / 0.8827 GB, free: 25.46 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/2.432, allocations: 4 kB / 0.8827 GB, free: 25.46 MB / 0.6856 GB Notification: Performance of FrontEnd: time 2.906e-06/2.432, allocations: 0 / 0.8827 GB, free: 25.46 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 0.0003347/2.433, allocations: 0 / 0.8827 GB, free: 25.46 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.01812/2.451, allocations: 3.419 MB / 0.886 GB, free: 23.76 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 8.143e-05/2.451, allocations: 13.34 kB / 0.8861 GB, free: 23.76 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003449/2.454, allocations: 393.6 kB / 0.8864 GB, free: 23.71 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01445/2.469, allocations: 0.9411 MB / 0.8874 GB, free: 23.5 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01503/2.484, allocations: 2.228 MB / 0.8895 GB, free: 22.95 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008959/2.485, allocations: 281.1 kB / 0.8898 GB, free: 22.88 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002339/2.487, allocations: 288.6 kB / 0.8901 GB, free: 22.88 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01884/2.506, allocations: 3.33 MB / 0.8933 GB, free: 22.61 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001529/2.506, allocations: 9.672 kB / 0.8933 GB, free: 22.61 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007069/2.507, allocations: 114.2 kB / 0.8934 GB, free: 22.61 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003231/2.508, allocations: 107.8 kB / 0.8935 GB, free: 22.6 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0116/2.519, allocations: 2.784 MB / 0.8963 GB, free: 22.57 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.03831/2.558, allocations: 13.25 MB / 0.9092 GB, free: 15.25 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005928/2.564, allocations: 1.865 MB / 0.911 GB, free: 15.2 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003846/2.564, allocations: 63 kB / 0.9111 GB, free: 15.19 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001271/2.564, allocations: 60.09 kB / 0.9111 GB, free: 15.15 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=186): time 8.346e-06/2.564, allocations: 0 / 0.9111 GB, free: 15.15 MB / 0.6856 GB Notification: Performance of matching and sorting (n=186): time 0.01071/2.575, allocations: 2.776 MB / 0.9139 GB, free: 14.93 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.241e-05/2.575, allocations: 73.19 kB / 0.9139 GB, free: 14.86 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006718/2.582, allocations: 1.976 MB / 0.9159 GB, free: 14.63 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0008801/2.583, allocations: 69.05 kB / 0.9159 GB, free: 14.6 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.002019/2.585, allocations: 1.407 MB / 0.9173 GB, free: 14.08 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.001788/2.587, allocations: 0.6523 MB / 0.9179 GB, free: 13.66 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005245/2.587, allocations: 45.22 kB / 0.918 GB, free: 13.65 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.000522/2.588, allocations: 388.7 kB / 0.9183 GB, free: 13.34 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002815/2.59, allocations: 0.8017 MB / 0.9191 GB, free: 13.34 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003162/2.594, allocations: 1.453 MB / 0.9205 GB, free: 12.6 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003412/2.597, allocations: 1.057 MB / 0.9216 GB, free: 12.56 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.309e-05/2.597, allocations: 3.594 kB / 0.9216 GB, free: 12.56 MB / 0.6856 GB Notification: Performance of matching and sorting (n=261) (initialization): time 0.008673/2.606, allocations: 2.499 MB / 0.924 GB, free: 12.34 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 0.004323/2.61, allocations: 5.246 MB / 0.9291 GB, free: 6.75 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.294e-05/2.61, allocations: 11.5 kB / 0.9292 GB, free: 6.75 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.698e-05/2.611, allocations: 25.12 kB / 0.9292 GB, free: 6.75 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00506/2.616, allocations: 0.5705 MB / 0.9297 GB, free: 6.742 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003987/2.62, allocations: 4.151 MB / 0.9338 GB, free: 18.64 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007358/2.627, allocations: 376.5 kB / 0.9341 GB, free: 18.52 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008731/2.628, allocations: 94.88 kB / 0.9342 GB, free: 18.52 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 2.379e-05/2.628, allocations: 2.656 kB / 0.9342 GB, free: 18.52 MB / 0.7012 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008184/2.636, allocations: 2.227 MB / 0.9364 GB, free: 18.46 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.753e-05/2.636, allocations: 14.75 kB / 0.9364 GB, free: 18.46 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.657e-05/2.636, allocations: 24.38 kB / 0.9365 GB, free: 18.46 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003363/2.64, allocations: 478.8 kB / 0.9369 GB, free: 18.46 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.965e-05/2.64, allocations: 33.12 kB / 0.9369 GB, free: 18.46 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00713/2.647, allocations: 360.2 kB / 0.9373 GB, free: 18.35 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008209/2.648, allocations: 86.41 kB / 0.9374 GB, free: 18.35 MB / 0.7012 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.004454/2.652, allocations: 0.8663 MB / 0.9382 GB, free: 18.15 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002019/2.654, allocations: 274.6 kB / 0.9385 GB, free: 18.02 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008539/2.663, allocations: 2.136 MB / 0.9406 GB, free: 17.88 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.968e-05/2.663, allocations: 17.78 kB / 0.9406 GB, free: 17.88 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.161e-05/2.663, allocations: 2.75 kB / 0.9406 GB, free: 17.88 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005509/2.669, allocations: 1.909 MB / 0.9424 GB, free: 17.58 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02017/2.689, allocations: 5.212 MB / 0.9475 GB, free: 16.96 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.349e-05/2.689, allocations: 3.375 kB / 0.9475 GB, free: 16.96 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005007/2.694, allocations: 0.5075 MB / 0.948 GB, free: 16.88 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.077e-05/2.694, allocations: 9.75 kB / 0.948 GB, free: 16.88 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004446/2.695, allocations: 51.92 kB / 0.9481 GB, free: 16.87 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004195/2.699, allocations: 4.132 MB / 0.9521 GB, free: 12.73 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.025e-05/2.699, allocations: 8.25 kB / 0.9521 GB, free: 12.73 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01158/2.711, allocations: 3.654 MB / 0.9557 GB, free: 11.62 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004255/2.715, allocations: 0.5806 MB / 0.9563 GB, free: 11.29 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001949/2.717, allocations: 39.94 kB / 0.9563 GB, free: 11.29 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00623/2.723, allocations: 250.8 kB / 0.9565 GB, free: 11.2 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006538/2.724, allocations: 119.7 kB / 0.9567 GB, free: 11.15 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004916/2.724, allocations: 74.05 kB / 0.9567 GB, free: 11.14 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.004672/2.729, allocations: 1.318 MB / 0.958 GB, free: 10.77 MB / 0.7012 GB Notification: Performance of sort global known variables: time 7.01e-07/2.729, allocations: 0 / 0.958 GB, free: 10.77 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.009499/2.739, allocations: 1.718 MB / 0.9597 GB, free: 10.52 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.007994/2.747, allocations: 5.22 MB / 0.9648 GB, free: 8.113 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.006983/2.754, allocations: 3.337 MB / 0.9681 GB, free: 7.074 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 1.449e-05/2.754, allocations: 8.125 kB / 0.9681 GB, free: 7.066 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.002408/2.756, allocations: 1.049 MB / 0.9691 GB, free: 6.352 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01068/2.767, allocations: 1.573 MB / 0.9706 GB, free: 5.066 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02973/2.797, allocations: 18.78 MB / 0.989 GB, free: 2.543 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003315/2.8, allocations: 2.251 MB / 0.9912 GB, free: 404 kB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.005507/2.806, allocations: 1.115 MB / 0.9923 GB, free: 15.27 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002427/2.808, allocations: 1.277 MB / 0.9935 GB, free: 14.97 MB / 0.7325 GB Notification: Performance of SimCode: time 2.064e-06/2.808, allocations: 0 / 0.9935 GB, free: 14.97 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2309/3.039, allocations: 76.88 MB / 1.069 GB, free: 3.09 MB / 0.795 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004781/3.04, allocations: 250.6 kB / 1.069 GB, free: 2.758 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.718/9.757, allocations: 2.906 kB / 1.069 GB, free: 2.758 MB / 0.795 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Sources_Examples_TraceSubstancesFlowSource_fmu --startTime=0 --stopTime=600 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Sources_Examples_TraceSubstancesFlowSource.fmu > IDEAS_dev_IDEAS.Fluid.Sources.Examples.TraceSubstancesFlowSource.pipe 2>&1) Environment - environmentSimulation: