Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesFullInitial.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001573/0.001573, allocations: 111 kB / 16.46 MB, free: 6.504 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001274/0.001274, allocations: 196.5 kB / 19.41 MB, free: 3.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.363/1.363, allocations: 225.6 MB / 247.8 MB, free: 13.95 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.0.0+maint.om/package.mo): time 0.002728/0.002728, allocations: 0.5742 MB / 303.3 MB, free: 9.203 MB / 238.1 MB " [Timeout remaining time 180] Using package ModelicaTestOverdetermined with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.0.0+maint.om/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(ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesFullInitial,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Fluid_TwoVolumesFullInitial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesFullInitial,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Fluid_TwoVolumesFullInitial",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001851/0.001851, allocations: 75.83 kB / 421.5 MB, free: 25.33 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09212/0.09397, allocations: 52.29 MB / 473.8 MB, free: 4.941 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesFullInitial): time 0.4006/0.4945, allocations: 179.9 MB / 0.6384 GB, free: 188 kB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.005713/0.5003, allocations: 3.178 MB / 0.6415 GB, free: 13 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005468/0.5008, allocations: 23.88 kB / 0.6415 GB, free: 12.97 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001068/0.5019, allocations: 413.3 kB / 0.6419 GB, free: 12.57 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003828/0.5057, allocations: 1.62 MB / 0.6435 GB, free: 10.95 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002597/0.5083, allocations: 1.106 MB / 0.6446 GB, free: 9.848 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.002698/0.511, allocations: 2.427 MB / 0.647 GB, free: 7.418 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007544/0.5117, allocations: 0.5488 MB / 0.6475 GB, free: 6.859 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00156/0.5133, allocations: 1.009 MB / 0.6485 GB, free: 5.848 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009545/0.5143, allocations: 0.7823 MB / 0.6492 GB, free: 5.062 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001291/0.5144, allocations: 80 kB / 0.6493 GB, free: 4.984 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002012/0.5164, allocations: 1.045 MB / 0.6503 GB, free: 3.938 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003257/0.5167, allocations: 335 kB / 0.6507 GB, free: 3.609 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004944/0.5172, allocations: 489.8 kB / 0.6511 GB, free: 3.129 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002209/0.5194, allocations: 1.741 MB / 0.6528 GB, free: 1.383 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.456e-06/0.5194, allocations: 4 kB / 0.6528 GB, free: 1.379 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.5194, allocations: 0 / 0.6528 GB, free: 1.379 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.109e-05/0.5194, allocations: 0 / 0.6528 GB, free: 1.379 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 178 * Number of variables: 178 Notification: Performance of Generate backend data structure: time 0.00251/0.522, allocations: 1.328 MB / 0.6541 GB, free: 15.99 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.783e-05/0.522, allocations: 8.031 kB / 0.6541 GB, free: 15.98 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000156/0.5222, allocations: 122.5 kB / 0.6542 GB, free: 15.86 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001047/0.5232, allocations: 179.2 kB / 0.6544 GB, free: 15.68 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001061/0.5243, allocations: 0.5941 MB / 0.655 GB, free: 15.05 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001569/0.5244, allocations: 180.8 kB / 0.6552 GB, free: 14.85 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001219/0.5245, allocations: 71.94 kB / 0.6552 GB, free: 14.78 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001606/0.5261, allocations: 1.086 MB / 0.6563 GB, free: 13.59 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.606e-05/0.5262, allocations: 7.938 kB / 0.6563 GB, free: 13.58 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.113e-05/0.5263, allocations: 35.94 kB / 0.6563 GB, free: 13.55 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.641e-05/0.5263, allocations: 33.31 kB / 0.6564 GB, free: 13.52 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00127/0.5276, allocations: 0.7855 MB / 0.6571 GB, free: 12.73 MB / 494.1 MB 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.00602/0.5336, allocations: 5.714 MB / 0.6627 GB, free: 6.625 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006931/0.5343, allocations: 388.2 kB / 0.6631 GB, free: 6.238 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003383/0.5346, allocations: 204.4 kB / 0.6633 GB, free: 6.039 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002669/0.5349, allocations: 267.3 kB / 0.6635 GB, free: 5.723 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.223e-05/0.5349, allocations: 38.56 kB / 0.6636 GB, free: 5.676 MB / 494.1 MB Notification: Performance of pre-optimization done (n=44): time 2.555e-06/0.5349, allocations: 0 / 0.6636 GB, free: 5.676 MB / 494.1 MB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: V1.medium.T 2: V2.medium.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=55): time 0.009743/0.5447, allocations: 3.005 MB / 0.6665 GB, free: 2.586 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.833e-05/0.5448, allocations: 115.3 kB / 0.6666 GB, free: 2.449 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000805/0.5456, allocations: 0.6799 MB / 0.6673 GB, free: 1.762 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 5.844e-05/0.5456, allocations: 37.7 kB / 0.6673 GB, free: 1.719 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003449/0.546, allocations: 483.4 kB / 0.6678 GB, free: 1.242 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001737/0.5461, allocations: 210.3 kB / 0.668 GB, free: 1.035 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000286/0.5464, allocations: 226.8 kB / 0.6682 GB, free: 0.8086 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001912/0.5466, allocations: 386.8 kB / 0.6686 GB, free: 432 kB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004668/0.5471, allocations: 278.5 kB / 0.6688 GB, free: 152 kB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008566/0.5479, allocations: 0.7669 MB / 0.6696 GB, free: 15.15 MB / 0.4981 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: V1.medium.p = V1.p_start (V2.p_start = V1.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.01557/0.5635, allocations: 3.307 MB / 0.6728 GB, free: 11.59 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.093e-05/0.5635, allocations: 8 kB / 0.6728 GB, free: 11.58 MB / 0.4981 GB Notification: Performance of matching and sorting (n=131) (initialization): time 0.001982/0.5655, allocations: 1.218 MB / 0.674 GB, free: 10.36 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.355e-05/0.5655, allocations: 15.94 kB / 0.674 GB, free: 10.34 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.257e-05/0.5655, allocations: 16 kB / 0.674 GB, free: 10.33 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008745/0.5664, allocations: 272.9 kB / 0.6743 GB, free: 10.06 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000604/0.567, allocations: 211.6 kB / 0.6745 GB, free: 9.852 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009486/0.568, allocations: 0.9035 MB / 0.6754 GB, free: 8.926 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005863/0.5686, allocations: 47.97 kB / 0.6754 GB, free: 8.879 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001226/0.5687, allocations: 95.98 kB / 0.6755 GB, free: 8.785 MB / 0.4981 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: V1.medium.p = V1.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 74 * Number of states: 0 () * Number of discrete variables: 8 (V1.regularFlow[1],V1.regularFlow[2],V2.regularFlow[1],V2.regularFlow[2],V2.inFlow[2],V2.inFlow[1],V1.inFlow[2],V1.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (113): * Single equations (assignments): 112 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,16)} Notification: Performance of prepare postOptimizeDAE: time 0.0004328/0.5691, allocations: 298.2 kB / 0.6758 GB, free: 8.484 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001448/0.5693, allocations: 83.48 kB / 0.6759 GB, free: 8.402 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002261/0.5715, allocations: 1.202 MB / 0.6771 GB, free: 7.184 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.869e-06/0.5715, allocations: 7.938 kB / 0.6771 GB, free: 7.176 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.07e-06/0.5715, allocations: 0 / 0.6771 GB, free: 7.176 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.454e-06/0.5715, allocations: 3.984 kB / 0.6771 GB, free: 7.172 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003078/0.5746, allocations: 1.978 MB / 0.679 GB, free: 5.047 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.276e-06/0.5746, allocations: 0 / 0.679 GB, free: 5.047 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003382/0.575, allocations: 95.83 kB / 0.6791 GB, free: 4.953 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001453/0.5764, allocations: 288.6 kB / 0.6794 GB, free: 4.668 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.414e-05/0.5765, allocations: 27.98 kB / 0.6794 GB, free: 4.641 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009657/0.5774, allocations: 0.8437 MB / 0.6802 GB, free: 3.773 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.5774, allocations: 4 kB / 0.6802 GB, free: 3.77 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001966/0.5794, allocations: 1.132 MB / 0.6813 GB, free: 2.605 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000391/0.5798, allocations: 224.5 kB / 0.6815 GB, free: 2.367 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001107/0.5799, allocations: 12 kB / 0.6816 GB, free: 2.355 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004349/0.5803, allocations: 27.98 kB / 0.6816 GB, free: 2.328 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.062e-05/0.5804, allocations: 40.52 kB / 0.6816 GB, free: 2.289 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.142e-05/0.5805, allocations: 67.97 kB / 0.6817 GB, free: 2.223 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.000576/0.5811, allocations: 478.9 kB / 0.6821 GB, free: 1.762 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.5811, allocations: 4 kB / 0.6821 GB, free: 1.758 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001112/0.5822, allocations: 347.5 kB / 0.6825 GB, free: 1.418 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 3 (V1.medium.T,V2.medium.p,V2.medium.T) * 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 (44): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,14)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00309/0.5853, allocations: 1.961 MB / 0.6844 GB, free: 15.42 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001501/0.5868, allocations: 0.763 MB / 0.6851 GB, free: 14.66 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 5.34e-06/0.5868, allocations: 3.859 kB / 0.6851 GB, free: 14.66 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0007657/0.5876, allocations: 319 kB / 0.6854 GB, free: 14.34 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001717/0.5893, allocations: 427.9 kB / 0.6858 GB, free: 13.93 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009846/0.5991, allocations: 7.504 MB / 0.6932 GB, free: 5.812 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006133/0.5997, allocations: 0.9907 MB / 0.6941 GB, free: 4.793 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.001274/0.601, allocations: 0.579 MB / 0.6947 GB, free: 4.207 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000537/0.6015, allocations: 343.3 kB / 0.695 GB, free: 3.871 MB / 0.5137 GB Notification: Performance of SimCode: time 7.01e-07/0.6015, allocations: 0 / 0.695 GB, free: 3.871 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2335/0.8351, allocations: 29.09 MB / 0.7234 GB, free: 205.1 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.06/13.89, allocations: 8.641 kB / 0.7235 GB, free: 205.1 MB / 0.5294 GB " [Timeout remaining time 646] (rm -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesFullInitial.pipe ; mkfifo ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesFullInitial.pipe ; head -c 1048576 < ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesFullInitial.pipe >> ../files/ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesFullInitial.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Fluid_TwoVolumesFullInitial_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Fluid_TwoVolumesFullInitial.fmu > ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesFullInitial.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.363912574015558] Failed to read output from testmodel.py, exit status != 0: 13.999073971994221 14.015580455 13.493080378 Calling exit ...