Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/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.Sensors.Examples.TraceSubstances,fileNamePrefix="IDEAS_IDEAS_Fluid_Sensors_Examples_TraceSubstances",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sensors.Examples.TraceSubstances,fileNamePrefix="IDEAS_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.004859/0.004859, allocations: 99.12 kB / 15.73 MB, free: 6.062 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.001268/0.001268, allocations: 201.4 kB / 16.68 MB, free: 5.977 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.347/1.347, allocations: 222.9 MB / 240.4 MB, free: 4.293 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7852/0.7852, allocations: 132.2 MB / 422.7 MB, free: 1.672 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001991/0.001991, allocations: 63.89 kB / 0.5809 GB, free: 8.012 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4087/0.4107, allocations: 80.21 MB / 0.6592 GB, free: 9.852 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.TraceSubstances): time 0.2226/0.6333, allocations: 195.1 MB / 0.8497 GB, free: 2.359 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.01797/0.6513, allocations: 14.3 MB / 0.8637 GB, free: 4.012 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001159/0.6525, allocations: 39.75 kB / 0.8637 GB, free: 3.973 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.001611/0.6542, allocations: 0.5007 MB / 0.8642 GB, free: 3.469 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.004868/0.6591, allocations: 1.888 MB / 0.8661 GB, free: 1.574 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.002323/0.6614, allocations: 0.8582 MB / 0.8669 GB, free: 0.7188 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.3724/1.034, allocations: 2.57 MB / 0.8694 GB, free: 3.473 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001665/1.035, allocations: 1.116 MB / 0.8705 GB, free: 3.371 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004373/1.04, allocations: 1.601 MB / 0.8721 GB, free: 3.367 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001743/1.042, allocations: 0.9255 MB / 0.873 GB, free: 3.363 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0002094/1.042, allocations: 107.3 kB / 0.8731 GB, free: 3.363 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002129/1.044, allocations: 1.097 MB / 0.8741 GB, free: 3.363 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0005245/1.045, allocations: 0.496 MB / 0.8746 GB, free: 3.363 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.000809/1.045, allocations: 0.637 MB / 0.8753 GB, free: 3.363 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.003236/1.049, allocations: 1.923 MB / 0.8771 GB, free: 3.25 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 5.941e-06/1.049, allocations: 0.5625 kB / 0.8771 GB, free: 3.25 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.683e-06/1.049, allocations: 1 kB / 0.8771 GB, free: 3.25 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 3.078e-05/1.049, allocations: 0.5312 kB / 0.8771 GB, free: 3.25 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: 226 * Number of variables: 226 Notification: Performance of Generate backend data structure: time 0.003081/1.052, allocations: 1.485 MB / 0.8786 GB, free: 18.45 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.866e-05/1.052, allocations: 10.31 kB / 0.8786 GB, free: 18.45 MB / 0.7012 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001868/1.052, allocations: 147.9 kB / 0.8787 GB, free: 18.41 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00145/1.053, allocations: 255.8 kB / 0.879 GB, free: 18.34 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001227/1.055, allocations: 0.8056 MB / 0.8798 GB, free: 18.02 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.718e-05/1.055, allocations: 72.2 kB / 0.8798 GB, free: 18.01 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001445/1.055, allocations: 98.98 kB / 0.8799 GB, free: 18.01 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001776/1.057, allocations: 1.17 MB / 0.8811 GB, free: 17.79 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.052e-05/1.057, allocations: 8.734 kB / 0.8811 GB, free: 17.78 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.761e-05/1.057, allocations: 39.06 kB / 0.8811 GB, free: 17.78 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.763e-05/1.057, allocations: 36.09 kB / 0.8811 GB, free: 17.78 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001359/1.058, allocations: 0.9002 MB / 0.882 GB, free: 17.77 MB / 0.7012 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.005697/1.064, allocations: 5.741 MB / 0.8876 GB, free: 14.01 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007407/1.065, allocations: 0.5263 MB / 0.8881 GB, free: 13.98 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004044/1.065, allocations: 316.8 kB / 0.8885 GB, free: 13.97 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006199/1.066, allocations: 312.5 kB / 0.8887 GB, free: 13.69 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.726e-05/1.066, allocations: 40.97 kB / 0.8888 GB, free: 13.65 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=49): time 2.054e-06/1.066, allocations: 1.062 kB / 0.8888 GB, free: 13.65 MB / 0.7012 GB Notification: Performance of matching and sorting (n=49): time 0.001502/1.067, allocations: 0.8033 MB / 0.8896 GB, free: 13.56 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.621e-05/1.067, allocations: 59.94 kB / 0.8896 GB, free: 13.49 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008919/1.068, allocations: 0.7487 MB / 0.8904 GB, free: 13.36 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 5.254e-05/1.068, allocations: 36.7 kB / 0.8904 GB, free: 13.33 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003151/1.069, allocations: 0.5193 MB / 0.8909 GB, free: 13.07 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001339/1.069, allocations: 182.4 kB / 0.8911 GB, free: 12.96 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002093/1.069, allocations: 147.7 kB / 0.8912 GB, free: 12.93 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001606/1.069, allocations: 333.9 kB / 0.8915 GB, free: 12.63 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003683/1.07, allocations: 252.1 kB / 0.8918 GB, free: 12.63 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005275/1.07, allocations: 0.5576 MB / 0.8923 GB, free: 12.27 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008823/1.071, allocations: 0.7961 MB / 0.8931 GB, free: 11.99 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.851e-06/1.071, allocations: 3.188 kB / 0.8931 GB, free: 11.99 MB / 0.7012 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001213/1.072, allocations: 0.8481 MB / 0.8939 GB, free: 11.9 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 2.13e-05/1.072, allocations: 12.44 kB / 0.8939 GB, free: 11.89 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.519e-05/1.072, allocations: 9.656 kB / 0.894 GB, free: 11.89 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.032e-05/1.072, allocations: 11.34 kB / 0.894 GB, free: 11.89 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005558/1.073, allocations: 158.4 kB / 0.8941 GB, free: 11.89 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.055e-05/1.073, allocations: 18.58 kB / 0.8941 GB, free: 11.89 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007233/1.074, allocations: 94.14 kB / 0.8942 GB, free: 11.84 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.589e-05/1.074, allocations: 38.28 kB / 0.8943 GB, free: 11.84 MB / 0.7012 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.0004275/1.074, allocations: 334.6 kB / 0.8946 GB, free: 11.72 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001303/1.074, allocations: 95.86 kB / 0.8947 GB, free: 11.67 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009625/1.075, allocations: 0.6117 MB / 0.8953 GB, free: 11.62 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.644e-06/1.075, allocations: 5.781 kB / 0.8953 GB, free: 11.62 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/1.075, allocations: 0 / 0.8953 GB, free: 11.62 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006567/1.076, allocations: 0.5192 MB / 0.8958 GB, free: 11.55 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002206/1.078, allocations: 1.659 MB / 0.8974 GB, free: 11.17 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.709e-06/1.078, allocations: 3.5 kB / 0.8974 GB, free: 11.17 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005461/1.079, allocations: 114.1 kB / 0.8975 GB, free: 11.17 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.364e-06/1.079, allocations: 8.719 kB / 0.8975 GB, free: 11.17 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.874e-05/1.079, allocations: 13.28 kB / 0.8975 GB, free: 11.17 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.39e-06/1.079, allocations: 5.453 kB / 0.8975 GB, free: 11.17 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.17e-06/1.079, allocations: 8.5 kB / 0.8975 GB, free: 11.17 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001318/1.08, allocations: 1.054 MB / 0.8986 GB, free: 10.92 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000305/1.08, allocations: 233.2 kB / 0.8988 GB, free: 10.77 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001064/1.081, allocations: 13.22 kB / 0.8988 GB, free: 10.77 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000428/1.081, allocations: 17.05 kB / 0.8988 GB, free: 10.77 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7e-05/1.081, allocations: 35.77 kB / 0.8989 GB, free: 10.77 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.951e-05/1.081, allocations: 20.08 kB / 0.8989 GB, free: 10.77 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.0006446/1.082, allocations: 0.5117 MB / 0.8994 GB, free: 10.67 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.71e-07/1.082, allocations: 0.9688 kB / 0.8994 GB, free: 10.67 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.000929/1.083, allocations: 300.4 kB / 0.8997 GB, free: 10.63 MB / 0.7012 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.001878/1.085, allocations: 1.705 MB / 0.9013 GB, free: 9.84 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.0008046/1.085, allocations: 0.6222 MB / 0.9019 GB, free: 9.824 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 2.906e-06/1.085, allocations: 0 / 0.9019 GB, free: 9.824 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.0003006/1.086, allocations: 271.8 kB / 0.9022 GB, free: 9.824 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0018/1.088, allocations: 442.9 kB / 0.9026 GB, free: 9.785 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008269/1.096, allocations: 7.214 MB / 0.9097 GB, free: 7.172 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007315/1.097, allocations: 1.121 MB / 0.9108 GB, free: 6.461 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.0007067/1.097, allocations: 274.5 kB / 0.911 GB, free: 6.41 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003792/1.098, allocations: 357 kB / 0.9114 GB, free: 6.402 MB / 0.7012 GB Notification: Performance of SimCode: time 3.21e-07/1.098, allocations: 6.062 kB / 0.9114 GB, free: 6.398 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05063/1.148, allocations: 23.11 MB / 0.9339 GB, free: 1.422 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.295/10.44, allocations: 10.36 kB / 0.9339 GB, free: 1.414 MB / 0.7012 GB (rm -f IDEAS_IDEAS.Fluid.Sensors.Examples.TraceSubstances.pipe ; mkfifo IDEAS_IDEAS.Fluid.Sensors.Examples.TraceSubstances.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Sensors.Examples.TraceSubstances.pipe >> ../files/IDEAS_IDEAS.Fluid.Sensors.Examples.TraceSubstances.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Sensors_Examples_TraceSubstances_fmu --startTime=0 --stopTime=7200 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Sensors_Examples_TraceSubstances.fmu > IDEAS_IDEAS.Fluid.Sensors.Examples.TraceSubstances.pipe 2>&1)