Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsReducedSteadyStatePressureAndTemperature.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.0.0+maint.om/package.mo", uses=false) 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.TwoVolumesEquationsReducedSteadyStatePressureAndTemperature,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Fluid_TwoVolumesEquationsReducedSteadyStatePressureAndTemperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsReducedSteadyStatePressureAndTemperature,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Fluid_TwoVolumesEquationsReducedSteadyStatePressureAndTemperature",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001885/0.001885, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00219/0.002191, allocations: 194.3 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.872/1.872, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.0.0+maint.om/package.mo): time 0.005434/0.005434, allocations: 0.5623 MB / 291 MB, free: 1.715 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002093/0.002093, allocations: 59.91 kB / 351.7 MB, free: 2.242 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1905/0.1926, allocations: 49.59 MB / 401.2 MB, free: 0.6172 MB / 286.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsReducedSteadyStatePressureAndTemperature): time 0.003808/0.1965, allocations: 0.5885 MB / 401.8 MB, free: 28 kB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.377/0.5735, allocations: 40.62 kB / 401.9 MB, free: 10.34 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001204/0.5737, allocations: 2.25 kB / 401.9 MB, free: 10.34 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 3.782e-05/0.5739, allocations: 4.938 kB / 401.9 MB, free: 10.34 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001539/0.574, allocations: 3.094 kB / 401.9 MB, free: 10.34 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002158/0.5742, allocations: 13.09 kB / 401.9 MB, free: 10.34 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.000168/0.5744, allocations: 51.17 kB / 401.9 MB, free: 10.34 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001043/0.5745, allocations: 8.438 kB / 402 MB, free: 10.34 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.373e-05/0.5746, allocations: 22.5 kB / 402 MB, free: 10.34 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002479/0.5749, allocations: 30.08 kB / 402 MB, free: 10.33 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 8.545e-05/0.575, allocations: 3.5 kB / 402 MB, free: 10.33 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.848e-05/0.575, allocations: 3.406 kB / 402 MB, free: 10.33 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 4.775e-05/0.5751, allocations: 11.92 kB / 402 MB, free: 10.33 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 7.842e-05/0.5752, allocations: 28.61 kB / 402.1 MB, free: 10.32 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001664/0.5754, allocations: 31.78 kB / 402.1 MB, free: 10.32 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.03e-05/0.5754, allocations: 0 / 402.1 MB, free: 10.32 MB / 286.1 MB Notification: Performance of FrontEnd: time 4.539e-06/0.5754, allocations: 4.25 kB / 402.1 MB, free: 10.32 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.118e-05/0.5754, allocations: 0 / 402.1 MB, free: 10.32 MB / 286.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0007763/0.5762, allocations: 371.5 kB / 402.4 MB, free: 9.957 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.533e-05/0.5763, allocations: 14.08 kB / 402.5 MB, free: 9.953 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.51e-05/0.5763, allocations: 37.77 kB / 402.5 MB, free: 9.914 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.635e-05/0.5764, allocations: 8 kB / 402.5 MB, free: 9.91 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001946/0.5766, allocations: 176.5 kB / 402.7 MB, free: 9.707 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.47e-05/0.5766, allocations: 5.594 kB / 402.7 MB, free: 9.707 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.615e-05/0.5767, allocations: 11.88 kB / 402.7 MB, free: 9.707 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002095/0.5769, allocations: 71.14 kB / 402.8 MB, free: 9.672 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.65e-05/0.5769, allocations: 4.469 kB / 402.8 MB, free: 9.668 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.842e-05/0.577, allocations: 4.938 kB / 402.8 MB, free: 9.664 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.378e-05/0.577, allocations: 3.141 kB / 402.8 MB, free: 9.664 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001267/0.5771, allocations: 37.17 kB / 402.8 MB, free: 9.664 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009534/0.5781, allocations: 314.8 kB / 403.1 MB, free: 9.387 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003894/0.5785, allocations: 106 kB / 403.2 MB, free: 9.363 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.136e-05/0.5786, allocations: 34.22 kB / 403.3 MB, free: 9.355 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.529e-05/0.5786, allocations: 2.281 kB / 403.3 MB, free: 9.355 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.202e-05/0.5786, allocations: 31.31 kB / 403.3 MB, free: 9.316 MB / 286.1 MB Notification: Performance of pre-optimization done (n=11): time 1.243e-06/0.5786, allocations: 0 / 403.3 MB, free: 9.316 MB / 286.1 MB Notification: Performance of matching and sorting (n=15): time 0.003357/0.582, allocations: 0.756 MB / 404 MB, free: 9.016 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.592e-05/0.5821, allocations: 53.25 kB / 404.1 MB, free: 8.953 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001212/0.5822, allocations: 106.7 kB / 404.2 MB, free: 8.855 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.072e-05/0.5822, allocations: 29.95 kB / 404.2 MB, free: 8.824 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.95e-05/0.5823, allocations: 99.25 kB / 404.3 MB, free: 8.73 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.738e-05/0.5824, allocations: 59.95 kB / 404.4 MB, free: 8.691 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.426e-05/0.5825, allocations: 33.02 kB / 404.4 MB, free: 8.676 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001104/0.5826, allocations: 323.8 kB / 404.7 MB, free: 8.359 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001088/0.5827, allocations: 38.69 kB / 404.8 MB, free: 8.359 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001333/0.5829, allocations: 59.27 kB / 404.8 MB, free: 8.344 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002362/0.5831, allocations: 114.6 kB / 404.9 MB, free: 8.32 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.5831, allocations: 0 / 404.9 MB, free: 8.32 MB / 286.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.001931/0.5851, allocations: 351.3 kB / 405.3 MB, free: 8.254 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.282e-05/0.5851, allocations: 10.17 kB / 405.3 MB, free: 8.25 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.205e-06/0.5851, allocations: 0 / 405.3 MB, free: 8.25 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002068/0.5872, allocations: 275.6 kB / 405.6 MB, free: 8.23 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.595e-05/0.5873, allocations: 7.375 kB / 405.6 MB, free: 8.23 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004689/0.592, allocations: 2.332 MB / 407.9 MB, free: 6.402 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001396/0.5923, allocations: 4 kB / 407.9 MB, free: 6.398 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.663e-05/0.5923, allocations: 9.344 kB / 407.9 MB, free: 6.395 MB / 286.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (7): * Single equations (assignments): 6 * 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,10)} Notification: Performance of prepare postOptimizeDAE: time 0.0001323/0.5924, allocations: 116.2 kB / 408 MB, free: 6.273 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.715e-05/0.5925, allocations: 12.58 kB / 408 MB, free: 6.27 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.531e-05/0.5925, allocations: 18.97 kB / 408.1 MB, free: 6.254 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.307e-06/0.5925, allocations: 1.094 kB / 408.1 MB, free: 6.254 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.408e-05/0.5926, allocations: 1.562 kB / 408.1 MB, free: 6.254 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.822e-06/0.5926, allocations: 0.6094 kB / 408.1 MB, free: 6.254 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002486/0.5928, allocations: 196.7 kB / 408.3 MB, free: 6.051 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.907e-06/0.5929, allocations: 7.938 kB / 408.3 MB, free: 6.043 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.147e-05/0.5929, allocations: 13.7 kB / 408.3 MB, free: 6.039 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002198/0.5951, allocations: 278.6 kB / 408.6 MB, free: 6.004 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.976e-05/0.5952, allocations: 6.641 kB / 408.6 MB, free: 6 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002463/0.5976, allocations: 1.931 MB / 410.5 MB, free: 4.305 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/0.5977, allocations: 0 / 410.5 MB, free: 4.305 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001395/0.5991, allocations: 413.8 kB / 410.9 MB, free: 4.074 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.016e-05/0.5991, allocations: 86.84 kB / 411 MB, free: 3.977 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.001e-05/0.5991, allocations: 5.469 kB / 411 MB, free: 3.973 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001361/0.5993, allocations: 6.984 kB / 411 MB, free: 3.969 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.313e-05/0.5994, allocations: 11.02 kB / 411 MB, free: 3.969 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.2e-05/0.5994, allocations: 3.719 kB / 411 MB, free: 3.969 MB / 286.1 MB Notification: Performance of sorting global known variables: time 5.786e-05/0.5995, allocations: 96.05 kB / 411.1 MB, free: 3.883 MB / 286.1 MB Notification: Performance of sort global known variables: time 1e-07/0.5995, allocations: 3.938 kB / 411.1 MB, free: 3.879 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0004304/0.5999, allocations: 39.41 kB / 411.1 MB, free: 3.871 MB / 286.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (p1,T1,T2) * 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 (8): * Single equations (assignments): 7 * 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): 1 system {(3,5,88.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001857/0.6018, allocations: 0.9314 MB / 412.1 MB, free: 3.117 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.000998/0.6028, allocations: 308.9 kB / 412.4 MB, free: 2.938 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 4.669e-06/0.6028, allocations: 0 / 412.4 MB, free: 2.938 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004739/0.6033, allocations: 226.3 kB / 412.6 MB, free: 2.781 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003172/0.6036, allocations: 10.97 kB / 412.6 MB, free: 2.773 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005318/0.6089, allocations: 2.068 MB / 414.7 MB, free: 1.289 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003162/0.6093, allocations: 0.7083 MB / 415.4 MB, free: 0.5859 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 3.704e-05/0.6093, allocations: 5.281 kB / 415.4 MB, free: 0.5859 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.584e-05/0.6094, allocations: 20.11 kB / 415.4 MB, free: 0.5703 MB / 286.1 MB Notification: Performance of SimCode: time 1.633e-06/0.6094, allocations: 0 / 415.4 MB, free: 0.5703 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0524/0.6618, allocations: 3.874 MB / 419.3 MB, free: 0 / 286.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 19.32/19.98, allocations: 8.266 kB / 419.3 MB, free: 15.99 MB / 302.1 MB (rm -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsReducedSteadyStatePressureAndTemperature.pipe ; mkfifo ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsReducedSteadyStatePressureAndTemperature.pipe ; head -c 1048576 < ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsReducedSteadyStatePressureAndTemperature.pipe >> ../files/ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsReducedSteadyStatePressureAndTemperature.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Fluid_TwoVolumesEquationsReducedSteadyStatePressureAndTemperature_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Fluid_TwoVolumesEquationsReducedSteadyStatePressureAndTemperature.fmu > ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsReducedSteadyStatePressureAndTemperature.pipe 2>&1)