Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.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.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance,fileNamePrefix="IDEAS_IDEAS_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance,fileNamePrefix="IDEAS_IDEAS_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance",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.00139/0.00139, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001659/0.001659, allocations: 192.7 kB / 16.13 MB, free: 6.707 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.303/1.303, allocations: 222.9 MB / 239.8 MB, free: 4.621 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7299/0.7299, allocations: 132.2 MB / 422.1 MB, free: 2.02 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001191/0.001191, allocations: 59.69 kB / 0.5012 GB, free: 9.09 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1372/0.1384, allocations: 80.2 MB / 0.5795 GB, free: 9.109 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance): time 0.4057/0.5441, allocations: 185 MB / 0.7602 GB, free: 10.36 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01436/0.5585, allocations: 13.12 MB / 0.773 GB, free: 13.21 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001668/0.5602, allocations: 35.75 kB / 0.773 GB, free: 13.17 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001379/0.5616, allocations: 342 kB / 0.7734 GB, free: 12.84 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.002704/0.5643, allocations: 1.101 MB / 0.7744 GB, free: 11.73 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001504/0.5658, allocations: 0.6327 MB / 0.7751 GB, free: 11.11 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.00255/0.5684, allocations: 2.762 MB / 0.7778 GB, free: 8.336 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009032/0.5693, allocations: 0.7231 MB / 0.7785 GB, free: 7.586 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003313/0.5726, allocations: 1.65 MB / 0.7801 GB, free: 5.93 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001412/0.5741, allocations: 0.683 MB / 0.7807 GB, free: 5.246 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001073/0.5742, allocations: 48 kB / 0.7808 GB, free: 5.199 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001696/0.5759, allocations: 0.9897 MB / 0.7817 GB, free: 4.207 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0003243/0.5762, allocations: 347 kB / 0.7821 GB, free: 3.867 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0004671/0.5767, allocations: 473.5 kB / 0.7825 GB, free: 3.402 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001583/0.5783, allocations: 1.491 MB / 0.784 GB, free: 1.906 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.5783, allocations: 0 / 0.784 GB, free: 1.906 MB / 0.5919 GB Notification: Performance of FrontEnd: time 9.62e-07/0.5783, allocations: 0 / 0.784 GB, free: 1.906 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.168e-05/0.5783, allocations: 0 / 0.784 GB, free: 1.906 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 186 * Number of variables: 186 Notification: Performance of Generate backend data structure: time 0.001669/0.58, allocations: 1.241 MB / 0.7852 GB, free: 0.6172 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.624e-05/0.58, allocations: 8.031 kB / 0.7852 GB, free: 0.6094 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001322/0.5802, allocations: 126.5 kB / 0.7853 GB, free: 488 kB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001222/0.5814, allocations: 214.6 kB / 0.7855 GB, free: 272 kB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000913/0.5823, allocations: 0.648 MB / 0.7862 GB, free: 15.57 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.854e-05/0.5824, allocations: 54 kB / 0.7862 GB, free: 15.52 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001004/0.5825, allocations: 76 kB / 0.7863 GB, free: 15.45 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001247/0.5837, allocations: 0.9303 MB / 0.7872 GB, free: 14.43 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.289e-05/0.5838, allocations: 7.875 kB / 0.7872 GB, free: 14.43 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.07e-05/0.5838, allocations: 35.98 kB / 0.7872 GB, free: 14.39 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.701e-05/0.5839, allocations: 29.31 kB / 0.7873 GB, free: 14.36 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009384/0.5848, allocations: 0.6177 MB / 0.7879 GB, free: 13.74 MB / 0.6075 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.003828/0.5887, allocations: 4.578 MB / 0.7923 GB, free: 8.875 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007064/0.5894, allocations: 0.5393 MB / 0.7929 GB, free: 8.293 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003281/0.5897, allocations: 245.1 kB / 0.7931 GB, free: 8.047 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001843/0.5899, allocations: 101.1 kB / 0.7932 GB, free: 7.93 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.316e-05/0.59, allocations: 50.44 kB / 0.7932 GB, free: 7.871 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=43): time 1.993e-06/0.59, allocations: 0 / 0.7932 GB, free: 7.871 MB / 0.6075 GB Notification: Performance of matching and sorting (n=45): time 0.00265/0.5926, allocations: 1.572 MB / 0.7948 GB, free: 6.242 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.761e-05/0.5927, allocations: 114.8 kB / 0.7949 GB, free: 6.105 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007767/0.5935, allocations: 0.7154 MB / 0.7956 GB, free: 5.379 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.644e-05/0.5935, allocations: 33.7 kB / 0.7956 GB, free: 5.34 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002696/0.5938, allocations: 419.8 kB / 0.796 GB, free: 4.922 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001269/0.5939, allocations: 165.6 kB / 0.7962 GB, free: 4.758 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001597/0.5941, allocations: 118.2 kB / 0.7963 GB, free: 4.637 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001139/0.5942, allocations: 338 kB / 0.7966 GB, free: 4.301 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002889/0.5945, allocations: 185.2 kB / 0.7968 GB, free: 4.117 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004403/0.595, allocations: 413 kB / 0.7972 GB, free: 3.625 MB / 0.6075 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: vol.dynBal.medium.p = vol.dynBal.p_start (sin.p = vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.002179/0.5972, allocations: 1.168 MB / 0.7983 GB, free: 2.355 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.5972, allocations: 0 / 0.7983 GB, free: 2.355 MB / 0.6075 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0009437/0.5981, allocations: 0.6757 MB / 0.799 GB, free: 1.672 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.837e-05/0.5981, allocations: 8 kB / 0.799 GB, free: 1.664 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.187e-06/0.5982, allocations: 8.062 kB / 0.799 GB, free: 1.656 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.819e-05/0.5982, allocations: 12 kB / 0.799 GB, free: 1.645 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000455/0.5986, allocations: 123.8 kB / 0.7991 GB, free: 1.523 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.583e-05/0.5987, allocations: 15.94 kB / 0.7991 GB, free: 1.508 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006008/0.5993, allocations: 49.53 kB / 0.7992 GB, free: 1.461 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.89e-05/0.5993, allocations: 32 kB / 0.7992 GB, free: 1.43 MB / 0.6075 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: vol.dynBal.medium.p = vol.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 2 (intTraSubOut.local_reset,intTraSubIn.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (74): * Single equations (assignments): 74 * 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.0003449/0.5997, allocations: 269.6 kB / 0.7995 GB, free: 1.156 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001559/0.5999, allocations: 83 kB / 0.7996 GB, free: 1.074 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001448/0.6, allocations: 91.72 kB / 0.7996 GB, free: 0.9844 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.155e-06/0.6, allocations: 8 kB / 0.7997 GB, free: 0.9766 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.6, allocations: 0 / 0.7997 GB, free: 0.9766 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006771/0.6007, allocations: 0.7037 MB / 0.8003 GB, free: 192 kB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002266/0.603, allocations: 1.645 MB / 0.8019 GB, free: 14.44 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.003e-06/0.603, allocations: 7.938 kB / 0.802 GB, free: 14.43 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004526/0.6035, allocations: 96.39 kB / 0.802 GB, free: 14.34 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.225e-05/0.6035, allocations: 16.08 kB / 0.8021 GB, free: 14.32 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.385e-05/0.6035, allocations: 15.98 kB / 0.8021 GB, free: 14.3 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.261e-06/0.6035, allocations: 7.938 kB / 0.8021 GB, free: 14.3 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.078e-06/0.6035, allocations: 4 kB / 0.8021 GB, free: 14.29 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001032/0.6046, allocations: 0.8902 MB / 0.803 GB, free: 13.34 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002618/0.6049, allocations: 212.1 kB / 0.8032 GB, free: 13.11 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001191/0.605, allocations: 16 kB / 0.8032 GB, free: 13.1 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005003/0.6055, allocations: 39.88 kB / 0.8032 GB, free: 13.06 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.941e-05/0.6056, allocations: 35.84 kB / 0.8032 GB, free: 13.02 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.382e-05/0.6056, allocations: 19.98 kB / 0.8033 GB, free: 13 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0005821/0.6062, allocations: 0.5107 MB / 0.8038 GB, free: 12.5 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.623e-06/0.6062, allocations: 4 kB / 0.8038 GB, free: 12.49 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0006812/0.6069, allocations: 207.9 kB / 0.804 GB, free: 12.29 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 5 (vol.dynBal.U,vol.dynBal.mXi[1],vol.dynBal.mC[1],intTraSubIn.y,intTraSubOut.y) * 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 (45): * Single equations (assignments): 45 * 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.001544/0.6084, allocations: 1.516 MB / 0.8054 GB, free: 10.72 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0007404/0.6092, allocations: 475.8 kB / 0.8059 GB, free: 10.25 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.936e-06/0.6092, allocations: 0 / 0.8059 GB, free: 10.25 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0002792/0.6095, allocations: 218.1 kB / 0.8061 GB, free: 10.04 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002026/0.6115, allocations: 461.9 kB / 0.8066 GB, free: 9.602 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008688/0.6202, allocations: 7.151 MB / 0.8135 GB, free: 2.055 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005931/0.6209, allocations: 1.032 MB / 0.8145 GB, free: 0.9961 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.00085/0.6217, allocations: 199 kB / 0.8147 GB, free: 0.7969 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003994/0.6221, allocations: 295.3 kB / 0.815 GB, free: 0.5078 MB / 0.6231 GB Notification: Performance of SimCode: time 6.42e-07/0.6221, allocations: 3.938 kB / 0.815 GB, free: 0.5039 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03405/0.6562, allocations: 21.33 MB / 0.8358 GB, free: 11.61 MB / 0.6544 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002056/0.6564, allocations: 275.2 kB / 0.8361 GB, free: 11.25 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.135/2.792, allocations: 7.875 kB / 0.8361 GB, free: 11.24 MB / 0.6544 GB (rm -f IDEAS_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; mkfifo IDEAS_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe >> ../files/IDEAS_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-08 IDEAS_IDEAS_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance.fmu > IDEAS_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe 2>&1)