Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.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.0008993/0.0008993, allocations: 72.5 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0008265/0.0008265, allocations: 177.9 kB / 23.21 MB, free: 1.348 MB / 18.57 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.8774/0.8774, allocations: 177.1 MB / 203.5 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:686:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.6901/0.6901, allocations: 154.6 MB / 414.5 MB, free: 0.7617 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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: translateModel(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling") translateModel(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.945e-06/2.945e-06, allocations: 3.984 kB / 0.6193 GB, free: 13.16 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.179e-05/2.474e-05, allocations: 6.281 kB / 0.6193 GB, free: 13.16 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling): time 0.4585/0.4585, allocations: 160.6 MB / 0.7761 GB, free: 15.68 MB / 0.6511 GB Notification: Performance of NFInst.instExpressions: time 0.008425/0.467, allocations: 5.072 MB / 0.7811 GB, free: 12.24 MB / 0.6511 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009448/0.4679, allocations: 46.62 kB / 0.7811 GB, free: 12.22 MB / 0.6511 GB Notification: Performance of NFTyping.typeComponents: time 0.001009/0.4689, allocations: 424.4 kB / 0.7815 GB, free: 11.99 MB / 0.6511 GB Notification: Performance of NFTyping.typeBindings: time 0.00344/0.4724, allocations: 1.797 MB / 0.7833 GB, free: 11 MB / 0.6511 GB Notification: Performance of NFTyping.typeClassSections: time 0.001561/0.4739, allocations: 0.8532 MB / 0.7841 GB, free: 10.54 MB / 0.6511 GB Notification: Performance of NFFlatten.flatten: time 0.002003/0.4759, allocations: 2.285 MB / 0.7864 GB, free: 9.461 MB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005756/0.4765, allocations: 0.531 MB / 0.7869 GB, free: 9.199 MB / 0.6511 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001404/0.4779, allocations: 1.254 MB / 0.7881 GB, free: 8.637 MB / 0.6511 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001078/0.479, allocations: 0.6408 MB / 0.7887 GB, free: 8.441 MB / 0.6511 GB Notification: Performance of NFPackage.collectConstants: time 9.405e-05/0.4791, allocations: 76.09 kB / 0.7888 GB, free: 8.441 MB / 0.6511 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002013/0.4811, allocations: 1.17 MB / 0.7899 GB, free: 8.004 MB / 0.6511 GB Notification: Performance of NFScalarize.scalarize: time 0.0002591/0.4813, allocations: 348.4 kB / 0.7903 GB, free: 7.836 MB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 0.0002976/0.4816, allocations: 334.5 kB / 0.7906 GB, free: 7.699 MB / 0.6511 GB Notification: Performance of NFConvertDAE.convert: time 0.00161/0.4832, allocations: 1.677 MB / 0.7922 GB, free: 7.129 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.4833, allocations: 0 / 0.7922 GB, free: 7.129 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.744e-06/0.4833, allocations: 0 / 0.7922 GB, free: 7.129 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 1.097e-05/0.4833, allocations: 1.312 kB / 0.7922 GB, free: 7.129 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 142 * Number of variables: 142 Notification: Performance of Generate backend data structure: time 0.001314/0.4846, allocations: 1.136 MB / 0.7933 GB, free: 6.352 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.026e-05/0.4846, allocations: 10.31 kB / 0.7933 GB, free: 6.352 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009619/0.4856, allocations: 276.5 kB / 0.7936 GB, free: 6.285 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008116/0.4864, allocations: 0.6398 MB / 0.7942 GB, free: 5.898 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.369e-05/0.4864, allocations: 44.81 kB / 0.7943 GB, free: 5.875 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.601e-05/0.4865, allocations: 55.94 kB / 0.7943 GB, free: 5.859 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007501/0.4873, allocations: 0.7894 MB / 0.7951 GB, free: 5.371 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.657e-05/0.4873, allocations: 3.938 kB / 0.7951 GB, free: 5.367 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.836e-05/0.4873, allocations: 21.06 kB / 0.7951 GB, free: 5.352 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.706e-05/0.4874, allocations: 26.25 kB / 0.7951 GB, free: 5.348 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000557/0.4879, allocations: 0.4965 MB / 0.7956 GB, free: 5.184 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001732/0.4896, allocations: 1.481 MB / 0.7971 GB, free: 4.414 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005488/0.4902, allocations: 419.1 kB / 0.7975 GB, free: 4.238 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002286/0.4904, allocations: 214.5 kB / 0.7977 GB, free: 4.152 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001201/0.4905, allocations: 24.72 kB / 0.7977 GB, free: 4.148 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.472e-05/0.4906, allocations: 38.72 kB / 0.7977 GB, free: 4.105 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=43): time 2.024e-06/0.4906, allocations: 0 / 0.7977 GB, free: 4.105 MB / 0.6511 GB Notification: Performance of matching and sorting (n=48): time 0.001783/0.4923, allocations: 1.364 MB / 0.7991 GB, free: 3.414 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.397e-05/0.4924, allocations: 60.81 kB / 0.7991 GB, free: 3.348 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003553/0.4927, allocations: 477.9 kB / 0.7996 GB, free: 3.129 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 3.261e-05/0.4928, allocations: 39.17 kB / 0.7996 GB, free: 3.09 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001722/0.4929, allocations: 344.8 kB / 0.8 GB, free: 2.816 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001078/0.4931, allocations: 172.6 kB / 0.8001 GB, free: 2.676 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001025/0.4932, allocations: 90.42 kB / 0.8002 GB, free: 2.625 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001247/0.4933, allocations: 366.5 kB / 0.8006 GB, free: 2.289 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001956/0.4935, allocations: 175 kB / 0.8007 GB, free: 2.223 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002682/0.4937, allocations: 357.7 kB / 0.8011 GB, free: 1.965 MB / 0.6511 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: volSim.dynBal.medium.p = volSim.dynBal.p_start (bou.p = volSim.dynBal.p_start) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: volExa.dynBal.medium.p = volExa.dynBal.p_start (bou.p = volExa.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.001793/0.4955, allocations: 1.294 MB / 0.8023 GB, free: 1.301 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.4955, allocations: 0 / 0.8023 GB, free: 1.301 MB / 0.6511 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.000516/0.4961, allocations: 0.5308 MB / 0.8028 GB, free: 1.016 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.703e-05/0.4961, allocations: 7.562 kB / 0.8029 GB, free: 1.016 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.211e-06/0.4961, allocations: 0 / 0.8029 GB, free: 1.016 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.439e-05/0.4961, allocations: 7 kB / 0.8029 GB, free: 1.012 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002094/0.4963, allocations: 96.89 kB / 0.803 GB, free: 0.9922 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.885e-06/0.4963, allocations: 2.594 kB / 0.803 GB, free: 0.9922 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002409/0.4965, allocations: 23.5 kB / 0.803 GB, free: 0.9805 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.782e-05/0.4966, allocations: 18.58 kB / 0.803 GB, free: 0.9727 MB / 0.6511 GB Warning: The initial conditions are over specified. The following 2 initial equations are redundant, so they are removed from the initialization system: volSim.dynBal.medium.p = volSim.dynBal.p_start volExa.dynBal.medium.p = volExa.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (56): * Single equations (assignments): 56 * 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.0002151/0.4968, allocations: 253.3 kB / 0.8032 GB, free: 0.7734 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.249e-05/0.4969, allocations: 73.17 kB / 0.8033 GB, free: 0.7305 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.181e-05/0.4969, allocations: 73.41 kB / 0.8034 GB, free: 0.6758 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.198e-06/0.4969, allocations: 8.906 kB / 0.8034 GB, free: 0.6719 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.134e-06/0.4969, allocations: 0 / 0.8034 GB, free: 0.6719 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004399/0.4974, allocations: 0.5111 MB / 0.8039 GB, free: 340 kB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001354/0.4987, allocations: 1.364 MB / 0.8052 GB, free: 15.36 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.498e-06/0.4987, allocations: 5.125 kB / 0.8052 GB, free: 15.36 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002546/0.499, allocations: 115.7 kB / 0.8053 GB, free: 15.33 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.368e-06/0.499, allocations: 8.562 kB / 0.8053 GB, free: 15.33 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.272e-05/0.499, allocations: 16.34 kB / 0.8054 GB, free: 15.32 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.953e-06/0.499, allocations: 15.59 kB / 0.8054 GB, free: 15.31 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.627e-06/0.499, allocations: 5.688 kB / 0.8054 GB, free: 15.31 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008352/0.4999, allocations: 0.8847 MB / 0.8062 GB, free: 14.68 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001471/0.5, allocations: 116.7 kB / 0.8064 GB, free: 14.61 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.358e-05/0.5001, allocations: 16.12 kB / 0.8064 GB, free: 14.6 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002325/0.5003, allocations: 29.3 kB / 0.8064 GB, free: 14.58 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.568e-05/0.5004, allocations: 47.59 kB / 0.8064 GB, free: 14.55 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.35e-05/0.5004, allocations: 22.38 kB / 0.8065 GB, free: 14.55 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0002326/0.5006, allocations: 336.3 kB / 0.8068 GB, free: 14.34 MB / 0.6667 GB Notification: Performance of sort global known variables: time 6e-08/0.5006, allocations: 0 / 0.8068 GB, free: 14.34 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.0004152/0.501, allocations: 197.5 kB / 0.807 GB, free: 14.33 MB / 0.6667 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 21 * Number of states: 4 (volSim.dynBal.medium.Xi[1],volSim.dynBal.U,volExa.dynBal.medium.Xi[1],volExa.dynBal.U) * 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.0002708/0.5013, allocations: 190.5 kB / 0.8072 GB, free: 14.19 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.0004773/0.5018, allocations: 427 kB / 0.8076 GB, free: 13.99 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.5018, allocations: 0 / 0.8076 GB, free: 13.99 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0002109/0.502, allocations: 225.1 kB / 0.8078 GB, free: 13.89 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001047/0.503, allocations: 440.7 kB / 0.8082 GB, free: 13.69 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00164/0.5047, allocations: 1.517 MB / 0.8097 GB, free: 12.6 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002716/0.5049, allocations: 374.7 kB / 0.81 GB, free: 12.38 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001219/0.5051, allocations: 61.8 kB / 0.8101 GB, free: 12.36 MB / 0.6667 GB Notification: Performance of SimCode: time 6.61e-07/0.5051, allocations: 2.094 kB / 0.8101 GB, free: 12.36 MB / 0.6667 GB Notification: Performance of Templates: time 0.00991/0.515, allocations: 11.46 MB / 0.8213 GB, free: 4.242 MB / 0.6667 GB " [Timeout remaining time 659] make -j1 -f IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.pipe ; mkfifo IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.pipe >> ../files/IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.sim & ./IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.929785024374723] Failed to read output from testmodel.py, exit status != 0: 0.5206951927393675 0.5283694999999999 0.043464762000000004 Calling exit ...