Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesFullSteadyStatePressureAndTemperature.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.001759/0.001759, allocations: 117.4 kB / 17.17 MB, free: 5.977 MB / 14.72 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.002104/0.002104, allocations: 214.3 kB / 20.13 MB, free: 3.035 MB / 14.72 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 1.513/1.513, allocations: 230.6 MB / 253.5 MB, free: 15.08 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.1.0+maint.om/package.mo): time 0.003157/0.003157, allocations: 0.5815 MB / 310.1 MB, free: 3.367 MB / 238.1 MB " [Timeout remaining time 180] Using package ModelicaTestOverdetermined with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.1.0+maint.om/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(ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesFullSteadyStatePressureAndTemperature,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Fluid_TwoVolumesFullSteadyStatePressureAndTemperature",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesFullSteadyStatePressureAndTemperature,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Fluid_TwoVolumesFullSteadyStatePressureAndTemperature",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001993/0.001993, allocations: 63.78 kB / 430.7 MB, free: 41.03 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1057/0.1077, allocations: 53.49 MB / 484.2 MB, free: 18.97 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesFullSteadyStatePressureAndTemperature): time 0.5002/0.6078, allocations: 182.9 MB / 0.6514 GB, free: 9.426 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.006735/0.6146, allocations: 3.17 MB / 0.6545 GB, free: 7.824 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008691/0.6155, allocations: 28.75 kB / 0.6546 GB, free: 7.809 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001154/0.6166, allocations: 410.4 kB / 0.6549 GB, free: 7.5 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004674/0.6213, allocations: 1.62 MB / 0.6565 GB, free: 6.488 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002773/0.6241, allocations: 1.094 MB / 0.6576 GB, free: 5.812 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.002995/0.627, allocations: 2.401 MB / 0.6599 GB, free: 4.562 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008556/0.6279, allocations: 0.5379 MB / 0.6605 GB, free: 4.203 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001961/0.6299, allocations: 1.023 MB / 0.6615 GB, free: 3.738 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001341/0.6312, allocations: 0.7763 MB / 0.6622 GB, free: 3.355 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001755/0.6314, allocations: 78.38 kB / 0.6623 GB, free: 3.355 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002876/0.6343, allocations: 1.059 MB / 0.6633 GB, free: 2.859 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004635/0.6347, allocations: 329.4 kB / 0.6636 GB, free: 2.637 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007671/0.6355, allocations: 493.8 kB / 0.6641 GB, free: 2.344 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00368/0.6392, allocations: 1.734 MB / 0.6658 GB, free: 1.367 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.232e-06/0.6392, allocations: 2.5 kB / 0.6658 GB, free: 1.367 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.565e-06/0.6392, allocations: 0 / 0.6658 GB, free: 1.367 MB / 462.1 MB Notification: Performance of Transformations before backend: time 2.333e-05/0.6392, allocations: 0 / 0.6658 GB, free: 1.367 MB / 462.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.003286/0.6425, allocations: 1.323 MB / 0.6671 GB, free: 396 kB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.555e-05/0.6425, allocations: 13.56 kB / 0.6671 GB, free: 392 kB / 462.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.064e-05/0.6426, allocations: 23.94 kB / 0.6671 GB, free: 388 kB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001704/0.6427, allocations: 122 kB / 0.6673 GB, free: 284 kB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00111/0.6438, allocations: 172.7 kB / 0.6674 GB, free: 208 kB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001161/0.645, allocations: 0.5896 MB / 0.668 GB, free: 15.74 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002147/0.6452, allocations: 186.4 kB / 0.6682 GB, free: 15.57 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000134/0.6454, allocations: 69.73 kB / 0.6682 GB, free: 15.55 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001818/0.6472, allocations: 1.083 MB / 0.6693 GB, free: 14.77 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.663e-05/0.6472, allocations: 6.625 kB / 0.6693 GB, free: 14.77 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001216/0.6473, allocations: 32.64 kB / 0.6693 GB, free: 14.75 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.096e-05/0.6474, allocations: 41.58 kB / 0.6694 GB, free: 14.73 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001289/0.6487, allocations: 0.7871 MB / 0.6701 GB, free: 14.35 MB / 478.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.007662/0.6563, allocations: 5.646 MB / 0.6757 GB, free: 9.164 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007875/0.6571, allocations: 372.1 kB / 0.676 GB, free: 8.797 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003703/0.6575, allocations: 212.6 kB / 0.6762 GB, free: 8.586 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000329/0.6578, allocations: 266 kB / 0.6765 GB, free: 8.273 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.806e-05/0.6579, allocations: 42.56 kB / 0.6765 GB, free: 8.223 MB / 478.1 MB Notification: Performance of pre-optimization done (n=44): time 3.096e-06/0.6579, allocations: 0 / 0.6765 GB, free: 8.223 MB / 478.1 MB Notification: Performance of matching and sorting (n=55): time 0.008/0.6659, allocations: 2.258 MB / 0.6787 GB, free: 5.902 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000104/0.666, allocations: 115.4 kB / 0.6788 GB, free: 5.766 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009028/0.6669, allocations: 0.6798 MB / 0.6795 GB, free: 5.074 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 7.178e-05/0.6669, allocations: 37.7 kB / 0.6795 GB, free: 5.031 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004466/0.6674, allocations: 483.2 kB / 0.68 GB, free: 4.559 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002386/0.6676, allocations: 215.4 kB / 0.6802 GB, free: 4.352 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003359/0.668, allocations: 230.8 kB / 0.6804 GB, free: 4.121 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0002226/0.6682, allocations: 386.8 kB / 0.6808 GB, free: 3.734 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005254/0.6687, allocations: 278.5 kB / 0.6811 GB, free: 3.461 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009171/0.6696, allocations: 0.7708 MB / 0.6818 GB, free: 2.457 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01658/0.6862, allocations: 3.106 MB / 0.6848 GB, free: 15.1 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.689e-06/0.6862, allocations: 4 kB / 0.6848 GB, free: 15.09 MB / 494.1 MB Notification: Performance of matching and sorting (n=131) (initialization): time 0.002419/0.6886, allocations: 1.268 MB / 0.6861 GB, free: 13.82 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.005e-05/0.6887, allocations: 12.97 kB / 0.6861 GB, free: 13.8 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.434e-05/0.6887, allocations: 16 kB / 0.6861 GB, free: 13.79 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002021/0.6907, allocations: 464.5 kB / 0.6865 GB, free: 13.33 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005759/0.6913, allocations: 191.7 kB / 0.6867 GB, free: 13.14 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001597/0.6929, allocations: 1.108 MB / 0.6878 GB, free: 12.01 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007266/0.6936, allocations: 44.03 kB / 0.6879 GB, free: 11.97 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001445/0.6937, allocations: 99.94 kB / 0.688 GB, free: 11.87 MB / 494.1 MB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: $DER.V2.medium.p = 0.0. 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 (101): * Single equations (assignments): 100 * 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,28)} Notification: Performance of prepare postOptimizeDAE: time 0.0005229/0.6943, allocations: 289.3 kB / 0.6882 GB, free: 11.58 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001988/0.6945, allocations: 79.53 kB / 0.6883 GB, free: 11.5 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00258/0.697, allocations: 1.2 MB / 0.6895 GB, free: 10.29 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.095e-05/0.6971, allocations: 11.94 kB / 0.6895 GB, free: 10.28 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.6971, allocations: 3.938 kB / 0.6895 GB, free: 10.28 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.645e-06/0.6971, allocations: 3.938 kB / 0.6895 GB, free: 10.27 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003615/0.7007, allocations: 1.982 MB / 0.6914 GB, free: 8.16 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.176e-06/0.7007, allocations: 8.031 kB / 0.6914 GB, free: 8.152 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003493/0.701, allocations: 95.83 kB / 0.6915 GB, free: 8.059 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001542/0.7026, allocations: 272.5 kB / 0.6918 GB, free: 7.789 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.372e-05/0.7027, allocations: 31.98 kB / 0.6918 GB, free: 7.758 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001129/0.7038, allocations: 0.8396 MB / 0.6926 GB, free: 6.895 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.345e-06/0.7038, allocations: 8.031 kB / 0.6926 GB, free: 6.887 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002332/0.7061, allocations: 1.132 MB / 0.6938 GB, free: 5.719 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004654/0.7066, allocations: 220.6 kB / 0.694 GB, free: 5.484 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001475/0.7067, allocations: 12 kB / 0.694 GB, free: 5.473 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004732/0.7072, allocations: 19.98 kB / 0.694 GB, free: 5.453 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001006/0.7073, allocations: 48.5 kB / 0.694 GB, free: 5.406 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001031/0.7074, allocations: 63.98 kB / 0.6941 GB, free: 5.344 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0007361/0.7082, allocations: 471 kB / 0.6945 GB, free: 4.887 MB / 494.1 MB Notification: Performance of sort global known variables: time 7e-08/0.7082, allocations: 0 / 0.6945 GB, free: 4.887 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001641/0.7098, allocations: 355.5 kB / 0.6949 GB, free: 4.539 MB / 494.1 MB 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.004055/0.7139, allocations: 1.946 MB / 0.6968 GB, free: 2.566 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.002049/0.7159, allocations: 0.7613 MB / 0.6975 GB, free: 1.809 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 6.602e-06/0.7159, allocations: 0 / 0.6975 GB, free: 1.809 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008914/0.7168, allocations: 327.9 kB / 0.6978 GB, free: 1.488 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002314/0.7191, allocations: 410.1 kB / 0.6982 GB, free: 1.102 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01316/0.7323, allocations: 7.6 MB / 0.7057 GB, free: 8.887 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007451/0.733, allocations: 0.9868 MB / 0.7066 GB, free: 7.875 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.001414/0.7344, allocations: 0.5631 MB / 0.7072 GB, free: 7.316 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006777/0.7351, allocations: 339.3 kB / 0.7075 GB, free: 6.984 MB / 0.4981 GB Notification: Performance of SimCode: time 1.563e-06/0.7351, allocations: 0 / 0.7075 GB, free: 6.984 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06646/0.8016, allocations: 29.84 MB / 0.7366 GB, free: 9.5 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.04/14.84, allocations: 19.84 kB / 0.7367 GB, free: 9.484 MB / 0.5294 GB " [Timeout remaining time 645] (rm -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesFullSteadyStatePressureAndTemperature.pipe ; mkfifo ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesFullSteadyStatePressureAndTemperature.pipe ; head -c 1048576 < ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesFullSteadyStatePressureAndTemperature.pipe >> ../files/ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesFullSteadyStatePressureAndTemperature.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Fluid_TwoVolumesFullSteadyStatePressureAndTemperature_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Fluid_TwoVolumesFullSteadyStatePressureAndTemperature.fmu > ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesFullSteadyStatePressureAndTemperature.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 17.874705196009018] Failed to read output from testmodel.py, exit status != 0: 15.219811786024366 15.02618138 14.383744677 Calling exit ...