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.00077/0.00077, allocations: 109.9 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.0008527/0.0008527, allocations: 209.9 kB / 22.25 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.9407/0.9407, allocations: 230.6 MB / 256 MB, free: 9.836 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.7716/0.7716, allocations: 203.8 MB / 0.5042 GB, free: 10.75 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.0009005/0.0009005, allocations: 70.19 kB / 0.7183 GB, free: 4.359 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4879/0.4888, allocations: 102 MB / 0.8179 GB, free: 1.273 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance): time 0.169/0.6578, allocations: 191.2 MB / 1.005 GB, free: 6.141 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.01085/0.6686, allocations: 13.27 MB / 1.018 GB, free: 8.836 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006378/0.6693, allocations: 43.62 kB / 1.018 GB, free: 8.793 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 0.0009605/0.6702, allocations: 445.1 kB / 1.018 GB, free: 8.355 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 0.001748/0.672, allocations: 1.217 MB / 1.019 GB, free: 7.133 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.001322/0.6733, allocations: 0.7567 MB / 1.02 GB, free: 6.383 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.001443/0.6747, allocations: 2.066 MB / 1.022 GB, free: 4.312 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005786/0.6753, allocations: 0.6293 MB / 1.023 GB, free: 3.66 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002469/0.6778, allocations: 2.055 MB / 1.025 GB, free: 1.598 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009134/0.6787, allocations: 0.6968 MB / 1.025 GB, free: 0.9062 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 8.86e-05/0.6788, allocations: 84 kB / 1.025 GB, free: 0.8242 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001092/0.6799, allocations: 0.9315 MB / 1.026 GB, free: 15.89 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 0.0005355/0.6804, allocations: 390.8 kB / 1.027 GB, free: 15.51 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 0.0003357/0.6807, allocations: 0.5015 MB / 1.027 GB, free: 15 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.001268/0.682, allocations: 1.502 MB / 1.029 GB, free: 13.5 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.682, allocations: 0 / 1.029 GB, free: 13.5 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.553e-06/0.682, allocations: 3.938 kB / 1.029 GB, free: 13.49 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 1.128e-05/0.682, allocations: 0 / 1.029 GB, free: 13.49 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.001189/0.6832, allocations: 1.186 MB / 1.03 GB, free: 12.27 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 4.487e-05/0.6833, allocations: 16.02 kB / 1.03 GB, free: 12.26 MB / 0.8073 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.956e-05/0.6834, allocations: 118.5 kB / 1.03 GB, free: 12.13 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006731/0.684, allocations: 223.1 kB / 1.03 GB, free: 11.91 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007537/0.6848, allocations: 0.6077 MB / 1.031 GB, free: 11.28 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.689e-05/0.6848, allocations: 62 kB / 1.031 GB, free: 11.22 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.445e-05/0.6849, allocations: 76 kB / 1.031 GB, free: 11.14 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009737/0.6859, allocations: 0.9326 MB / 1.032 GB, free: 10.12 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.479e-05/0.6859, allocations: 7.938 kB / 1.032 GB, free: 10.12 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.27e-05/0.686, allocations: 35.94 kB / 1.032 GB, free: 10.08 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.787e-05/0.686, allocations: 33.3 kB / 1.032 GB, free: 10.05 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007327/0.6867, allocations: 0.6177 MB / 1.032 GB, free: 9.434 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.003414/0.6901, allocations: 4.602 MB / 1.037 GB, free: 4.523 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006483/0.6908, allocations: 478.2 kB / 1.037 GB, free: 4.031 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002265/0.691, allocations: 234.9 kB / 1.038 GB, free: 3.793 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001019/0.6911, allocations: 24.67 kB / 1.038 GB, free: 3.77 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.559e-05/0.6911, allocations: 46.5 kB / 1.038 GB, free: 3.715 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=43): time 2.124e-06/0.6912, allocations: 0 / 1.038 GB, free: 3.715 MB / 0.8073 GB Notification: Performance of matching and sorting (n=45): time 0.001767/0.6929, allocations: 1.53 MB / 1.039 GB, free: 2.148 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.159e-05/0.693, allocations: 115.1 kB / 1.039 GB, free: 2.012 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005571/0.6935, allocations: 0.7155 MB / 1.04 GB, free: 1.285 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 3.113e-05/0.6936, allocations: 37.7 kB / 1.04 GB, free: 1.242 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005478/0.6941, allocations: 420.6 kB / 1.04 GB, free: 0.8242 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001009/0.6942, allocations: 174.5 kB / 1.041 GB, free: 0.6523 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001147/0.6943, allocations: 118.3 kB / 1.041 GB, free: 0.5312 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0001053/0.6944, allocations: 326 kB / 1.041 GB, free: 212 kB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002065/0.6946, allocations: 189.2 kB / 1.041 GB, free: 20 kB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003355/0.695, allocations: 425 kB / 1.042 GB, free: 15.52 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.001365/0.6963, allocations: 1.091 MB / 1.043 GB, free: 14.34 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.297e-06/0.6963, allocations: 4 kB / 1.043 GB, free: 14.34 MB / 0.823 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0006365/0.697, allocations: 0.6793 MB / 1.043 GB, free: 13.65 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.746e-05/0.697, allocations: 8.781 kB / 1.043 GB, free: 13.64 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.115e-06/0.697, allocations: 4 kB / 1.043 GB, free: 13.64 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.115e-05/0.697, allocations: 23.92 kB / 1.043 GB, free: 13.61 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002477/0.6973, allocations: 119.8 kB / 1.043 GB, free: 13.5 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.19e-05/0.6973, allocations: 15.94 kB / 1.044 GB, free: 13.48 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002749/0.6976, allocations: 31.94 kB / 1.044 GB, free: 13.45 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.74e-05/0.6976, allocations: 24 kB / 1.044 GB, free: 13.43 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.0002502/0.6978, allocations: 273.5 kB / 1.044 GB, free: 13.15 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.297e-05/0.6979, allocations: 87.42 kB / 1.044 GB, free: 13.06 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001046/0.698, allocations: 95.66 kB / 1.044 GB, free: 12.96 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.36e-06/0.698, allocations: 8.094 kB / 1.044 GB, free: 12.96 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.128e-06/0.6981, allocations: 3.984 kB / 1.044 GB, free: 12.95 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005073/0.6986, allocations: 0.7027 MB / 1.045 GB, free: 12.16 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001587/0.7001, allocations: 1.615 MB / 1.046 GB, free: 10.45 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.496e-06/0.7002, allocations: 4 kB / 1.046 GB, free: 10.45 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00025/0.7004, allocations: 107.8 kB / 1.046 GB, free: 10.34 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.232e-06/0.7004, allocations: 4 kB / 1.046 GB, free: 10.34 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.33e-05/0.7004, allocations: 12 kB / 1.046 GB, free: 10.32 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.121e-06/0.7004, allocations: 11.94 kB / 1.046 GB, free: 10.31 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.876e-06/0.7004, allocations: 4 kB / 1.046 GB, free: 10.31 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001003/0.7014, allocations: 0.8655 MB / 1.047 GB, free: 9.375 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000166/0.7016, allocations: 135.4 kB / 1.047 GB, free: 9.242 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.491e-05/0.7017, allocations: 20 kB / 1.047 GB, free: 9.223 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002031/0.7019, allocations: 19.98 kB / 1.047 GB, free: 9.203 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4e-05/0.7019, allocations: 35.83 kB / 1.047 GB, free: 9.168 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.98e-05/0.7019, allocations: 23.98 kB / 1.047 GB, free: 9.145 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.000407/0.7023, allocations: 0.5107 MB / 1.048 GB, free: 8.637 MB / 0.823 GB Notification: Performance of sort global known variables: time 2.3e-07/0.7023, allocations: 0 / 1.048 GB, free: 8.637 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0004433/0.7028, allocations: 207.9 kB / 1.048 GB, free: 8.434 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.001103/0.7039, allocations: 1.487 MB / 1.05 GB, free: 6.883 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0005001/0.7044, allocations: 461.4 kB / 1.05 GB, free: 6.434 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 3.446e-06/0.7044, allocations: 4 kB / 1.05 GB, free: 6.43 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001748/0.7046, allocations: 203.6 kB / 1.05 GB, free: 6.23 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001087/0.7056, allocations: 484.2 kB / 1.051 GB, free: 5.781 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005723/0.7114, allocations: 6.644 MB / 1.057 GB, free: 14.73 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004195/0.7118, allocations: 1.024 MB / 1.058 GB, free: 13.68 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0003781/0.7122, allocations: 203 kB / 1.058 GB, free: 13.47 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002727/0.7124, allocations: 299.3 kB / 1.059 GB, free: 13.18 MB / 0.8386 GB Notification: Performance of SimCode: time 5.21e-07/0.7124, allocations: 0 / 1.059 GB, free: 13.18 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03526/0.7477, allocations: 22.77 MB / 1.081 GB, free: 6.75 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.829/8.577, allocations: 13.03 kB / 1.081 GB, free: 6.742 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-08 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.442576580913737] Failed to read output from testmodel.py, exit status != 0: 8.664644496049732 8.674564466 7.990581067 Calling exit ...