Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Sensors.Examples.TraceSubstances.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.Sensors.Examples.TraceSubstances,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Sensors_Examples_TraceSubstances",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sensors.Examples.TraceSubstances,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Sensors_Examples_TraceSubstances",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.004412/0.004412, allocations: 99.34 kB / 15.73 MB, free: 6.008 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.00125/0.00125, allocations: 201.3 kB / 16.68 MB, free: 5.934 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.386/1.386, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8073/0.8073, allocations: 135.6 MB / 426.1 MB, free: 3.652 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001828/0.001828, allocations: 72.7 kB / 0.5858 GB, free: 21.49 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1528/0.1547, allocations: 81.02 MB / 0.6649 GB, free: 5.602 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.TraceSubstances): time 0.5556/0.7103, allocations: 195.1 MB / 0.8554 GB, free: 8.977 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.01712/0.7275, allocations: 14.32 MB / 0.8694 GB, free: 13.02 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001365/0.7289, allocations: 35.81 kB / 0.8694 GB, free: 12.98 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.001514/0.7304, allocations: 0.4968 MB / 0.8699 GB, free: 12.48 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.004449/0.7349, allocations: 1.882 MB / 0.8717 GB, free: 10.59 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.002214/0.7371, allocations: 0.8605 MB / 0.8726 GB, free: 9.738 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.002985/0.7401, allocations: 2.58 MB / 0.8751 GB, free: 7.152 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001431/0.7416, allocations: 1.122 MB / 0.8762 GB, free: 6.012 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003779/0.7454, allocations: 1.591 MB / 0.8777 GB, free: 4.434 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001384/0.7468, allocations: 0.9212 MB / 0.8786 GB, free: 3.512 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0001704/0.7469, allocations: 104 kB / 0.8787 GB, free: 3.41 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002129/0.7491, allocations: 1.103 MB / 0.8798 GB, free: 2.305 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0004981/0.7496, allocations: 0.4948 MB / 0.8803 GB, free: 1.809 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0006897/0.7503, allocations: 0.6339 MB / 0.8809 GB, free: 1.172 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.002588/0.7529, allocations: 1.931 MB / 0.8828 GB, free: 15.23 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.7529, allocations: 0 / 0.8828 GB, free: 15.23 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.312e-06/0.7529, allocations: 0 / 0.8828 GB, free: 15.23 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.642e-05/0.7529, allocations: 0 / 0.8828 GB, free: 15.23 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: 226 * Number of variables: 226 Notification: Performance of Generate backend data structure: time 0.00219/0.7551, allocations: 1.475 MB / 0.8842 GB, free: 13.7 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.073e-05/0.7552, allocations: 17.11 kB / 0.8843 GB, free: 13.69 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001718/0.7554, allocations: 151.5 kB / 0.8844 GB, free: 13.53 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001315/0.7567, allocations: 263 kB / 0.8847 GB, free: 13.27 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001252/0.7579, allocations: 0.8006 MB / 0.8854 GB, free: 12.43 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.907e-05/0.758, allocations: 66 kB / 0.8855 GB, free: 12.36 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001526/0.7582, allocations: 99.95 kB / 0.8856 GB, free: 12.27 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001738/0.7599, allocations: 1.176 MB / 0.8867 GB, free: 11.02 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.824e-05/0.76, allocations: 7.938 kB / 0.8867 GB, free: 11.01 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.323e-05/0.76, allocations: 36 kB / 0.8868 GB, free: 10.98 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.902e-05/0.7601, allocations: 34 kB / 0.8868 GB, free: 10.94 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001424/0.7615, allocations: 0.8937 MB / 0.8877 GB, free: 10.05 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.005768/0.7673, allocations: 5.748 MB / 0.8933 GB, free: 3.848 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008091/0.7681, allocations: 0.5354 MB / 0.8938 GB, free: 3.305 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004599/0.7686, allocations: 322.5 kB / 0.8941 GB, free: 2.988 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005973/0.7692, allocations: 311.7 kB / 0.8944 GB, free: 2.629 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.99e-05/0.7693, allocations: 43 kB / 0.8945 GB, free: 2.574 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=49): time 2.424e-06/0.7693, allocations: 0 / 0.8945 GB, free: 2.574 MB / 0.6544 GB Notification: Performance of matching and sorting (n=49): time 0.001491/0.7708, allocations: 0.7991 MB / 0.8953 GB, free: 1.773 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.805e-05/0.7708, allocations: 63.78 kB / 0.8953 GB, free: 1.699 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009134/0.7717, allocations: 0.7471 MB / 0.896 GB, free: 0.9414 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 4.935e-05/0.7718, allocations: 37.7 kB / 0.8961 GB, free: 0.8984 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004022/0.7722, allocations: 0.5233 MB / 0.8966 GB, free: 376 kB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.000163/0.7724, allocations: 186.4 kB / 0.8968 GB, free: 188 kB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000229/0.7726, allocations: 146.6 kB / 0.8969 GB, free: 36 kB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001634/0.7728, allocations: 334 kB / 0.8972 GB, free: 15.7 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003804/0.7732, allocations: 249.8 kB / 0.8975 GB, free: 15.46 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006679/0.7738, allocations: 0.5566 MB / 0.898 GB, free: 14.77 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001053/0.7749, allocations: 0.7995 MB / 0.8988 GB, free: 13.86 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.811e-06/0.7749, allocations: 4 kB / 0.8988 GB, free: 13.86 MB / 0.67 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.0013/0.7762, allocations: 0.8424 MB / 0.8996 GB, free: 13 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.043e-05/0.7763, allocations: 9 kB / 0.8996 GB, free: 13 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.459e-05/0.7763, allocations: 8.047 kB / 0.8996 GB, free: 12.99 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.93e-05/0.7763, allocations: 19.98 kB / 0.8996 GB, free: 12.97 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005883/0.7769, allocations: 159.7 kB / 0.8998 GB, free: 12.81 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.23e-05/0.7769, allocations: 19.88 kB / 0.8998 GB, free: 12.79 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006501/0.7776, allocations: 91.33 kB / 0.8999 GB, free: 12.7 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.189e-05/0.7777, allocations: 39.98 kB / 0.8999 GB, free: 12.66 MB / 0.67 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 36 * 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 (86): * Single equations (assignments): 86 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004246/0.7781, allocations: 326.8 kB / 0.9003 GB, free: 12.34 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001345/0.7782, allocations: 87.44 kB / 0.9003 GB, free: 12.25 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001026/0.7793, allocations: 0.618 MB / 0.9009 GB, free: 11.62 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.462e-06/0.7793, allocations: 7.938 kB / 0.901 GB, free: 11.61 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.062e-06/0.7793, allocations: 3.938 kB / 0.901 GB, free: 11.61 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007451/0.78, allocations: 0.5134 MB / 0.9015 GB, free: 11.09 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002371/0.7824, allocations: 1.675 MB / 0.9031 GB, free: 9.332 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/0.7824, allocations: 0 / 0.9031 GB, free: 9.332 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005058/0.783, allocations: 111.8 kB / 0.9032 GB, free: 9.223 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.258e-06/0.783, allocations: 4 kB / 0.9032 GB, free: 9.219 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.053e-05/0.783, allocations: 15.98 kB / 0.9032 GB, free: 9.203 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.059e-06/0.783, allocations: 8.219 kB / 0.9032 GB, free: 9.195 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.757e-06/0.783, allocations: 4 kB / 0.9032 GB, free: 9.191 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001425/0.7845, allocations: 1.062 MB / 0.9043 GB, free: 8.09 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003191/0.7848, allocations: 228.5 kB / 0.9045 GB, free: 7.848 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.876e-05/0.7849, allocations: 8 kB / 0.9045 GB, free: 7.84 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004141/0.7853, allocations: 23.92 kB / 0.9045 GB, free: 7.816 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.687e-05/0.7854, allocations: 35.84 kB / 0.9045 GB, free: 7.781 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.749e-05/0.7854, allocations: 19.98 kB / 0.9046 GB, free: 7.762 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0006258/0.7861, allocations: 0.5146 MB / 0.9051 GB, free: 7.25 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7861, allocations: 0 / 0.9051 GB, free: 7.25 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0007892/0.7869, allocations: 303.4 kB / 0.9054 GB, free: 6.953 MB / 0.67 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 4 (vol.dynBal.U,vol.dynBal.m,vol.dynBal.mXi[1],vol.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 (49): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00209/0.789, allocations: 1.701 MB / 0.907 GB, free: 5.219 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.0009317/0.7899, allocations: 0.6071 MB / 0.9076 GB, free: 4.613 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/0.7899, allocations: 0 / 0.9076 GB, free: 4.613 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.000376/0.7903, allocations: 273.2 kB / 0.9079 GB, free: 4.348 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001835/0.7922, allocations: 445.3 kB / 0.9083 GB, free: 3.926 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009265/0.8014, allocations: 7.219 MB / 0.9153 GB, free: 12.32 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007772/0.8022, allocations: 1.129 MB / 0.9165 GB, free: 11.16 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0007215/0.803, allocations: 267 kB / 0.9167 GB, free: 10.9 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00048/0.8034, allocations: 355.3 kB / 0.917 GB, free: 10.55 MB / 0.6856 GB Notification: Performance of SimCode: time 4.91e-07/0.8035, allocations: 0 / 0.917 GB, free: 10.55 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0528/0.8563, allocations: 23.11 MB / 0.9396 GB, free: 3.738 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.248/10.1, allocations: 19.62 kB / 0.9396 GB, free: 3.723 MB / 0.7012 GB (rm -f IDEAS_dev_IDEAS.Fluid.Sensors.Examples.TraceSubstances.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Sensors.Examples.TraceSubstances.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Sensors.Examples.TraceSubstances.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Sensors.Examples.TraceSubstances.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Sensors_Examples_TraceSubstances_fmu --startTime=0 --stopTime=7200 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Sensors_Examples_TraceSubstances.fmu > IDEAS_dev_IDEAS.Fluid.Sensors.Examples.TraceSubstances.pipe 2>&1)