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.001058/0.001058, allocations: 91.12 kB / 15.06 MB, free: 1.078 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.001198/0.001198, allocations: 172.7 kB / 15.95 MB, free: 192 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.527/1.527, allocations: 223.3 MB / 240 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9643/0.9643, allocations: 135.3 MB / 426.3 MB, free: 14.27 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003252/0.0003253, allocations: 8 kB / 0.5071 GB, free: 5.145 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1854/0.1857, allocations: 82.31 MB / 0.5875 GB, free: 3.012 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Examples.TraceSubstancesFlowSource): time 0.5864/0.7722, allocations: 278.7 MB / 0.8597 GB, free: 6.023 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.4544/1.227, allocations: 24.12 MB / 0.8832 GB, free: 9.785 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00454/1.231, allocations: 105.2 kB / 0.8833 GB, free: 9.785 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.004945/1.236, allocations: 1.198 MB / 0.8845 GB, free: 9.77 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.01329/1.25, allocations: 4.365 MB / 0.8887 GB, free: 9.578 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.006345/1.256, allocations: 1.967 MB / 0.8907 GB, free: 9.531 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.01367/1.27, allocations: 10.43 MB / 0.9008 GB, free: 9.516 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00544/1.275, allocations: 2.544 MB / 0.9033 GB, free: 25.15 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009192/1.284, allocations: 3.21 MB / 0.9065 GB, free: 25.12 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00746/1.292, allocations: 2.822 MB / 0.9092 GB, free: 25.11 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.001302/1.293, allocations: 151.4 kB / 0.9094 GB, free: 25.11 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01079/1.304, allocations: 2.416 MB / 0.9117 GB, free: 25.07 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.003704/1.308, allocations: 1.42 MB / 0.9131 GB, free: 25.07 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.004884/1.313, allocations: 0.7653 MB / 0.9139 GB, free: 25.03 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.009944/1.322, allocations: 4.748 MB / 0.9185 GB, free: 24.66 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 7.965e-06/1.323, allocations: 4.578 kB / 0.9185 GB, free: 24.66 MB / 0.6856 GB Notification: Performance of FrontEnd: time 2.134e-06/1.323, allocations: 0 / 0.9185 GB, free: 24.66 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 0.0002191/1.323, allocations: 3.938 kB / 0.9185 GB, free: 24.66 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.01001/1.333, allocations: 3.477 MB / 0.9219 GB, free: 22.93 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 5.354e-05/1.333, allocations: 14.47 kB / 0.9219 GB, free: 22.93 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001603/1.334, allocations: 393.4 kB / 0.9223 GB, free: 22.88 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006697/1.341, allocations: 0.9405 MB / 0.9232 GB, free: 22.67 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008023/1.349, allocations: 2.38 MB / 0.9255 GB, free: 22.11 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003676/1.35, allocations: 276.9 kB / 0.9258 GB, free: 22.04 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001352/1.351, allocations: 305.4 kB / 0.9261 GB, free: 22.04 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008603/1.36, allocations: 3.339 MB / 0.9293 GB, free: 21.52 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.739e-05/1.36, allocations: 6.438 kB / 0.9294 GB, free: 21.52 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005517/1.36, allocations: 115.5 kB / 0.9295 GB, free: 21.52 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000117/1.36, allocations: 110.8 kB / 0.9296 GB, free: 21.5 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005288/1.366, allocations: 2.79 MB / 0.9323 GB, free: 21.02 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.01765/1.383, allocations: 13.26 MB / 0.9452 GB, free: 11.82 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002865/1.386, allocations: 1.864 MB / 0.9471 GB, free: 11.57 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001577/1.388, allocations: 1.115 MB / 0.9482 GB, free: 11.41 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004951/1.388, allocations: 325.9 kB / 0.9485 GB, free: 11.11 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.517e-05/1.389, allocations: 68.3 kB / 0.9485 GB, free: 11.06 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=186): time 3.858e-06/1.389, allocations: 0 / 0.9485 GB, free: 11.06 MB / 0.6856 GB Notification: Performance of matching and sorting (n=186): time 0.005258/1.394, allocations: 2.762 MB / 0.9512 GB, free: 10.55 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.75e-05/1.394, allocations: 72.47 kB / 0.9513 GB, free: 10.48 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003849/1.398, allocations: 1.975 MB / 0.9532 GB, free: 9.922 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0004617/1.398, allocations: 74.52 kB / 0.9533 GB, free: 9.891 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.001/1.399, allocations: 1.419 MB / 0.9547 GB, free: 9.211 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009047/1.4, allocations: 0.6513 MB / 0.9553 GB, free: 8.734 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002266/1.4, allocations: 43.06 kB / 0.9554 GB, free: 8.734 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0002666/1.401, allocations: 392 kB / 0.9557 GB, free: 8.398 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001437/1.402, allocations: 0.7971 MB / 0.9565 GB, free: 8.277 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001828/1.404, allocations: 1.461 MB / 0.9579 GB, free: 7.391 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001835/1.406, allocations: 1.064 MB / 0.959 GB, free: 7.262 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.212e-05/1.406, allocations: 3.344 kB / 0.959 GB, free: 7.262 MB / 0.6856 GB Notification: Performance of matching and sorting (n=261) (initialization): time 0.004731/1.411, allocations: 2.489 MB / 0.9614 GB, free: 6.816 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004175/1.411, allocations: 475.7 kB / 0.9619 GB, free: 6.246 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.545e-05/1.411, allocations: 11.12 kB / 0.9619 GB, free: 6.246 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.957e-05/1.411, allocations: 36.33 kB / 0.9619 GB, free: 6.238 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002578/1.414, allocations: 0.5652 MB / 0.9625 GB, free: 6.145 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002531/1.416, allocations: 4.155 MB / 0.9665 GB, free: 2.008 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00449/1.421, allocations: 377 kB / 0.9669 GB, free: 1.828 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004702/1.421, allocations: 91.98 kB / 0.967 GB, free: 1.824 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.143e-05/1.421, allocations: 3.344 kB / 0.967 GB, free: 1.824 MB / 0.6856 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004214/1.426, allocations: 2.228 MB / 0.9691 GB, free: 1.539 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.746e-05/1.426, allocations: 11.19 kB / 0.9692 GB, free: 1.539 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.094e-05/1.426, allocations: 29.06 kB / 0.9692 GB, free: 1.535 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001738/1.427, allocations: 477.7 kB / 0.9696 GB, free: 1.48 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.718e-05/1.427, allocations: 34.78 kB / 0.9697 GB, free: 1.473 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003423/1.431, allocations: 358.6 kB / 0.97 GB, free: 1.305 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002502/1.431, allocations: 92.23 kB / 0.9701 GB, free: 1.297 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.001975/1.433, allocations: 0.8661 MB / 0.9709 GB, free: 1.008 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009076/1.434, allocations: 273.9 kB / 0.9712 GB, free: 0.8711 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003808/1.438, allocations: 2.136 MB / 0.9733 GB, free: 15.99 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.842e-05/1.438, allocations: 22.53 kB / 0.9733 GB, free: 15.97 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.26e-05/1.438, allocations: 3.953 kB / 0.9733 GB, free: 15.96 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002643/1.441, allocations: 1.904 MB / 0.9752 GB, free: 14.58 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01069/1.451, allocations: 5.214 MB / 0.9803 GB, free: 10.96 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.009e-05/1.451, allocations: 0 / 0.9803 GB, free: 10.96 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002293/1.454, allocations: 0.5095 MB / 0.9808 GB, free: 10.48 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.239e-05/1.454, allocations: 12 kB / 0.9808 GB, free: 10.47 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001745/1.454, allocations: 55.03 kB / 0.9808 GB, free: 10.44 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002415/1.456, allocations: 4.128 MB / 0.9849 GB, free: 6.207 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.08e-05/1.456, allocations: 6.141 kB / 0.9849 GB, free: 6.203 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00622/1.463, allocations: 3.427 MB / 0.9882 GB, free: 3.793 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002307/1.465, allocations: 0.5795 MB / 0.9888 GB, free: 3.305 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001011/1.466, allocations: 40.38 kB / 0.9888 GB, free: 3.289 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003506/1.469, allocations: 251.4 kB / 0.9891 GB, free: 3.074 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003331/1.47, allocations: 117.2 kB / 0.9892 GB, free: 2.973 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002741/1.47, allocations: 71.41 kB / 0.9892 GB, free: 2.918 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.003259/1.473, allocations: 1.32 MB / 0.9905 GB, free: 1.93 MB / 0.7012 GB Notification: Performance of sort global known variables: time 2.8e-07/1.473, allocations: 0 / 0.9905 GB, free: 1.93 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.007721/1.481, allocations: 1.724 MB / 0.9922 GB, free: 308 kB / 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.00697/1.488, allocations: 4.24 MB / 0.9964 GB, free: 13.15 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.006639/1.495, allocations: 3.339 MB / 0.9996 GB, free: 10.84 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.209e-05/1.495, allocations: 5.812 kB / 0.9996 GB, free: 10.84 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.001774/1.497, allocations: 1.052 MB / 1.001 GB, free: 10.12 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008831/1.505, allocations: 1.608 MB / 1.002 GB, free: 8.812 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03858/1.544, allocations: 19.31 MB / 1.021 GB, free: 7.031 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002702/1.547, allocations: 2.197 MB / 1.023 GB, free: 4.938 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.005035/1.552, allocations: 1.108 MB / 1.024 GB, free: 3.824 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001959/1.554, allocations: 1.277 MB / 1.026 GB, free: 3.527 MB / 0.7325 GB Notification: Performance of SimCode: time 1.002e-06/1.554, allocations: 0 / 1.026 GB, free: 3.527 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1301/1.684, allocations: 78.33 MB / 1.102 GB, free: 6.195 MB / 0.8106 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002271/1.684, allocations: 258.8 kB / 1.102 GB, free: 5.859 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.893/5.578, allocations: 4 kB / 1.102 GB, free: 5.855 MB / 0.8106 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: