Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008154/0.0008154, allocations: 109.3 kB / 18.93 MB, free: 1.27 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001321/0.001321, allocations: 222.2 kB / 22.26 MB, free: 3.707 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9417/0.9417, allocations: 230.6 MB / 256 MB, free: 9.82 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.8061/0.8061, allocations: 203.8 MB / 0.5042 GB, free: 10.76 MB / 410.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0009479/0.0009479, allocations: 61.94 kB / 0.7183 GB, free: 4.367 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4993/0.5002, allocations: 102 MB / 0.8179 GB, free: 1.27 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance): time 0.1625/0.6628, allocations: 191.3 MB / 1.005 GB, free: 6.18 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.01025/0.673, allocations: 13.26 MB / 1.018 GB, free: 8.883 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005258/0.6735, allocations: 39.69 kB / 1.018 GB, free: 8.844 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 0.0009245/0.6745, allocations: 445.1 kB / 1.018 GB, free: 8.406 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 0.001609/0.6761, allocations: 1.221 MB / 1.019 GB, free: 7.18 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009274/0.677, allocations: 0.7637 MB / 1.02 GB, free: 6.422 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.00152/0.6785, allocations: 2.063 MB / 1.022 GB, free: 4.355 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006323/0.6791, allocations: 0.6332 MB / 1.023 GB, free: 3.699 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002656/0.6818, allocations: 2.059 MB / 1.025 GB, free: 1.633 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009784/0.6828, allocations: 0.6894 MB / 1.025 GB, free: 0.9453 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 8.936e-05/0.6829, allocations: 80 kB / 1.025 GB, free: 0.8672 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001028/0.6839, allocations: 0.9315 MB / 1.026 GB, free: 15.93 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 0.0002525/0.6841, allocations: 394.9 kB / 1.027 GB, free: 15.55 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 0.0003181/0.6845, allocations: 0.4976 MB / 1.027 GB, free: 15.05 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.001255/0.6857, allocations: 1.506 MB / 1.029 GB, free: 13.54 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 3.467e-06/0.6857, allocations: 0 / 1.029 GB, free: 13.54 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.803e-06/0.6857, allocations: 0 / 1.029 GB, free: 13.54 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 1.223e-05/0.6857, allocations: 0 / 1.029 GB, free: 13.54 MB / 0.8073 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.001187/0.6869, allocations: 1.186 MB / 1.03 GB, free: 12.32 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.908e-05/0.687, allocations: 12.03 kB / 1.03 GB, free: 12.3 MB / 0.8073 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.648e-05/0.6871, allocations: 122.5 kB / 1.03 GB, free: 12.18 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006471/0.6877, allocations: 223.1 kB / 1.03 GB, free: 11.96 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007238/0.6884, allocations: 0.6078 MB / 1.031 GB, free: 11.32 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.191e-05/0.6885, allocations: 54 kB / 1.031 GB, free: 11.27 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001109/0.6886, allocations: 83.94 kB / 1.031 GB, free: 11.19 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009005/0.6895, allocations: 0.9327 MB / 1.032 GB, free: 10.17 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.069e-05/0.6895, allocations: 3.938 kB / 1.032 GB, free: 10.16 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.438e-05/0.6895, allocations: 35.92 kB / 1.032 GB, free: 10.13 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.791e-05/0.6896, allocations: 41.3 kB / 1.032 GB, free: 10.09 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000634/0.6902, allocations: 0.6138 MB / 1.032 GB, free: 9.477 MB / 0.8073 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.003018/0.6932, allocations: 4.608 MB / 1.037 GB, free: 4.562 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005175/0.6937, allocations: 471.9 kB / 1.037 GB, free: 4.074 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002134/0.694, allocations: 230.3 kB / 1.038 GB, free: 3.84 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 9.348e-05/0.694, allocations: 24.67 kB / 1.038 GB, free: 3.816 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.017e-05/0.6941, allocations: 38.56 kB / 1.038 GB, free: 3.77 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=43): time 1.463e-06/0.6941, allocations: 4 kB / 1.038 GB, free: 3.766 MB / 0.8073 GB Notification: Performance of matching and sorting (n=45): time 0.00167/0.6957, allocations: 1.534 MB / 1.039 GB, free: 2.195 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.419e-05/0.6958, allocations: 118.7 kB / 1.039 GB, free: 2.055 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000528/0.6963, allocations: 0.7116 MB / 1.04 GB, free: 1.332 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 2.777e-05/0.6963, allocations: 37.95 kB / 1.04 GB, free: 1.289 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002076/0.6965, allocations: 424.6 kB / 1.04 GB, free: 0.8672 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 8.817e-05/0.6966, allocations: 170.5 kB / 1.041 GB, free: 0.6992 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001112/0.6967, allocations: 122.2 kB / 1.041 GB, free: 0.5742 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 7.527e-05/0.6968, allocations: 326 kB / 1.041 GB, free: 256 kB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001936/0.697, allocations: 189.2 kB / 1.041 GB, free: 64 kB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003063/0.6973, allocations: 425 kB / 1.042 GB, free: 15.56 MB / 0.823 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.0013/0.6986, allocations: 1.099 MB / 1.043 GB, free: 14.38 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.973e-06/0.6986, allocations: 0 / 1.043 GB, free: 14.38 MB / 0.823 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.000634/0.6993, allocations: 0.6757 MB / 1.043 GB, free: 13.69 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.466e-05/0.6993, allocations: 8 kB / 1.043 GB, free: 13.68 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.894e-06/0.6993, allocations: 11.97 kB / 1.043 GB, free: 13.67 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.798e-05/0.6993, allocations: 12 kB / 1.043 GB, free: 13.66 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002433/0.6995, allocations: 124.4 kB / 1.043 GB, free: 13.54 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.165e-05/0.6995, allocations: 12 kB / 1.043 GB, free: 13.53 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002517/0.6998, allocations: 39.94 kB / 1.044 GB, free: 13.49 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.302e-05/0.6998, allocations: 31.98 kB / 1.044 GB, free: 13.46 MB / 0.823 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.0004852/0.7003, allocations: 273.5 kB / 1.044 GB, free: 13.18 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.652e-05/0.7004, allocations: 87.42 kB / 1.044 GB, free: 13.09 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.164e-05/0.7005, allocations: 91.66 kB / 1.044 GB, free: 13 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.426e-06/0.7005, allocations: 4 kB / 1.044 GB, free: 13 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.498e-06/0.7005, allocations: 0 / 1.044 GB, free: 13 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004644/0.701, allocations: 0.6988 MB / 1.045 GB, free: 12.21 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001429/0.7024, allocations: 1.615 MB / 1.046 GB, free: 10.5 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.038e-06/0.7024, allocations: 4 kB / 1.046 GB, free: 10.49 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002368/0.7026, allocations: 112.2 kB / 1.046 GB, free: 10.38 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.768e-06/0.7026, allocations: 4 kB / 1.046 GB, free: 10.38 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.918e-05/0.7027, allocations: 12 kB / 1.046 GB, free: 10.37 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.909e-06/0.7027, allocations: 8 kB / 1.046 GB, free: 10.36 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.477e-06/0.7027, allocations: 7.938 kB / 1.046 GB, free: 10.35 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007108/0.7034, allocations: 0.873 MB / 1.047 GB, free: 9.41 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001651/0.7035, allocations: 131.4 kB / 1.047 GB, free: 9.281 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.515e-05/0.7036, allocations: 16 kB / 1.047 GB, free: 9.266 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002096/0.7038, allocations: 19.98 kB / 1.047 GB, free: 9.246 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.957e-05/0.7039, allocations: 43.83 kB / 1.047 GB, free: 9.203 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.031e-05/0.7039, allocations: 19.98 kB / 1.047 GB, free: 9.184 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.0003824/0.7043, allocations: 0.5068 MB / 1.048 GB, free: 8.68 MB / 0.823 GB Notification: Performance of sort global known variables: time 6.1e-08/0.7043, allocations: 0 / 1.048 GB, free: 8.68 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0004239/0.7047, allocations: 207.9 kB / 1.048 GB, free: 8.477 MB / 0.823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 5 (vol.dynBal.medium.Xi[1],vol.dynBal.U,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.001055/0.7057, allocations: 1.492 MB / 1.05 GB, free: 6.926 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0004819/0.7062, allocations: 457.4 kB / 1.05 GB, free: 6.48 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.7062, allocations: 4 kB / 1.05 GB, free: 6.477 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001821/0.7064, allocations: 211.8 kB / 1.05 GB, free: 6.27 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001359/0.7078, allocations: 468.8 kB / 1.051 GB, free: 5.836 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005299/0.7131, allocations: 6.656 MB / 1.057 GB, free: 14.77 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006442/0.7137, allocations: 1.028 MB / 1.058 GB, free: 13.72 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0003571/0.7141, allocations: 195 kB / 1.058 GB, free: 13.52 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002572/0.7143, allocations: 303.3 kB / 1.059 GB, free: 13.23 MB / 0.8386 GB Notification: Performance of SimCode: time 4.31e-07/0.7143, allocations: 3.938 kB / 1.059 GB, free: 13.22 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0373/0.7516, allocations: 22.77 MB / 1.081 GB, free: 6.789 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.801/8.553, allocations: 0 / 1.081 GB, free: 6.789 MB / 0.8542 GB " [Timeout remaining time 651] (rm -f IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-08 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IDEAS_dev_IDEAS_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance.fmu > IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.538177717011422] Failed to read output from testmodel.py, exit status != 0: 8.639942321926355 8.647696355 7.960116685 Calling exit ...