Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullSteadyStatePressureAndTemperature.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.TwoVolumesEquationsFullSteadyStatePressureAndTemperature,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Fluid_TwoVolumesEquationsFullSteadyStatePressureAndTemperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullSteadyStatePressureAndTemperature,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Fluid_TwoVolumesEquationsFullSteadyStatePressureAndTemperature",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.002174/0.002174, allocations: 108 kB / 15.6 MB, free: 132 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.002809/0.00281, allocations: 192.8 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.115/2.115, allocations: 222.9 MB / 240.2 MB, free: 4.414 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.005392/0.005392, allocations: 0.5469 MB / 291 MB, free: 1.723 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001903/0.001903, allocations: 59.91 kB / 351.7 MB, free: 2.215 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1873/0.1892, allocations: 49.6 MB / 401.3 MB, free: 0.5781 MB / 286.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullSteadyStatePressureAndTemperature): time 0.00273/0.1921, allocations: 0.5692 MB / 401.8 MB, free: 8 kB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.3512/0.5433, allocations: 41.28 kB / 401.9 MB, free: 10.35 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.745e-05/0.5434, allocations: 1.156 kB / 401.9 MB, free: 10.35 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 2.725e-05/0.5436, allocations: 5.625 kB / 401.9 MB, free: 10.35 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001342/0.5437, allocations: 9.406 kB / 401.9 MB, free: 10.35 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001577/0.5439, allocations: 12.55 kB / 401.9 MB, free: 10.35 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001489/0.544, allocations: 47.47 kB / 401.9 MB, free: 10.35 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001029/0.5441, allocations: 5.188 kB / 401.9 MB, free: 10.35 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.913e-05/0.5442, allocations: 29.5 kB / 402 MB, free: 10.35 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001256/0.5443, allocations: 33.83 kB / 402 MB, free: 10.34 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.219e-05/0.5444, allocations: 2.594 kB / 402 MB, free: 10.34 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.247e-05/0.5444, allocations: 4.031 kB / 402 MB, free: 10.34 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 3.63e-05/0.5444, allocations: 9.406 kB / 402 MB, free: 10.34 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 6.761e-05/0.5445, allocations: 30.23 kB / 402.1 MB, free: 10.33 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001356/0.5447, allocations: 30 kB / 402.1 MB, free: 10.32 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.093e-06/0.5447, allocations: 1.938 kB / 402.1 MB, free: 10.32 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.735e-06/0.5447, allocations: 0 / 402.1 MB, free: 10.32 MB / 286.1 MB Notification: Performance of Transformations before backend: time 8.256e-06/0.5447, allocations: 0.9375 kB / 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.0009082/0.5456, allocations: 372 kB / 402.5 MB, free: 9.965 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.043e-05/0.5457, allocations: 13.77 kB / 402.5 MB, free: 9.961 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.465e-05/0.5457, allocations: 37.14 kB / 402.5 MB, free: 9.922 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.636e-05/0.5458, allocations: 10.25 kB / 402.5 MB, free: 9.918 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001499/0.5459, allocations: 177.7 kB / 402.7 MB, free: 9.715 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.698e-05/0.546, allocations: 5.969 kB / 402.7 MB, free: 9.715 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.016e-05/0.546, allocations: 12.7 kB / 402.7 MB, free: 9.715 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001701/0.5462, allocations: 67.59 kB / 402.8 MB, free: 9.68 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.551e-05/0.5462, allocations: 7.875 kB / 402.8 MB, free: 9.672 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.68e-05/0.5462, allocations: 4.469 kB / 402.8 MB, free: 9.672 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.805e-06/0.5463, allocations: 8.812 kB / 402.8 MB, free: 9.664 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001312/0.5464, allocations: 36.58 kB / 402.8 MB, free: 9.664 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008448/0.5473, allocations: 305.9 kB / 403.1 MB, free: 9.398 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004231/0.5477, allocations: 125.3 kB / 403.2 MB, free: 9.363 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000107/0.5478, allocations: 40.41 kB / 403.3 MB, free: 9.355 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.877e-05/0.5478, allocations: 1.312 kB / 403.3 MB, free: 9.355 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.779e-05/0.5479, allocations: 32.52 kB / 403.3 MB, free: 9.316 MB / 286.1 MB Notification: Performance of pre-optimization done (n=12): time 1.653e-06/0.5479, allocations: 0 / 403.3 MB, free: 9.316 MB / 286.1 MB Notification: Performance of matching and sorting (n=17): time 0.003427/0.5513, allocations: 0.7873 MB / 404.1 MB, free: 9.016 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.715e-05/0.5514, allocations: 53.69 kB / 404.2 MB, free: 8.953 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001031/0.5515, allocations: 115.1 kB / 404.3 MB, free: 8.852 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.038e-05/0.5515, allocations: 29.98 kB / 404.3 MB, free: 8.82 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.504e-05/0.5516, allocations: 86.44 kB / 404.4 MB, free: 8.738 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.582e-05/0.5516, allocations: 61.89 kB / 404.4 MB, free: 8.699 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.247e-05/0.5517, allocations: 42.06 kB / 404.5 MB, free: 8.68 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 9.72e-05/0.5518, allocations: 318.8 kB / 404.8 MB, free: 8.367 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.25e-05/0.5519, allocations: 42.44 kB / 404.8 MB, free: 8.367 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001148/0.552, allocations: 69.44 kB / 404.9 MB, free: 8.348 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002998/0.555, allocations: 0.5638 MB / 405.5 MB, free: 8.219 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.183e-06/0.5551, allocations: 0 / 405.5 MB, free: 8.219 MB / 286.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.001851/0.5569, allocations: 375.1 kB / 405.8 MB, free: 8.129 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.342e-05/0.557, allocations: 7.516 kB / 405.8 MB, free: 8.129 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.08e-05/0.557, allocations: 5.125 kB / 405.8 MB, free: 8.125 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00199/0.559, allocations: 284 kB / 406.1 MB, free: 8.09 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.068e-05/0.5591, allocations: 14.56 kB / 406.1 MB, free: 8.086 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004493/0.5636, allocations: 2.375 MB / 408.5 MB, free: 6.219 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.83e-05/0.5637, allocations: 8.594 kB / 408.5 MB, free: 6.215 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.556e-05/0.5637, allocations: 3.562 kB / 408.5 MB, free: 6.215 MB / 286.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.p2 = 0.0. 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 (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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,11)} Notification: Performance of prepare postOptimizeDAE: time 0.0004645/0.5642, allocations: 128.7 kB / 408.7 MB, free: 6.086 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.128e-05/0.5642, allocations: 8.5 kB / 408.7 MB, free: 6.082 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.666e-05/0.5643, allocations: 22.09 kB / 408.7 MB, free: 6.059 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.208e-06/0.5643, allocations: 6.812 kB / 408.7 MB, free: 6.059 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.817e-05/0.5643, allocations: 1.312 kB / 408.7 MB, free: 6.059 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.105e-06/0.5643, allocations: 1.547 kB / 408.7 MB, free: 6.059 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001578/0.5659, allocations: 0.5732 MB / 409.3 MB, free: 5.652 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/0.5659, allocations: 0 / 409.3 MB, free: 5.652 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.594e-05/0.566, allocations: 12.14 kB / 409.3 MB, free: 5.652 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00215/0.5682, allocations: 292.1 kB / 409.6 MB, free: 5.613 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.149e-05/0.5682, allocations: 6.562 kB / 409.6 MB, free: 5.609 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003034/0.5712, allocations: 1.973 MB / 411.5 MB, free: 3.906 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.404e-05/0.5713, allocations: 2.344 kB / 411.5 MB, free: 3.906 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001245/0.5726, allocations: 433.5 kB / 412 MB, free: 3.664 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.145e-05/0.5726, allocations: 84.92 kB / 412.1 MB, free: 3.566 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.063e-05/0.5727, allocations: 2.75 kB / 412.1 MB, free: 3.566 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001271/0.5728, allocations: 6.062 kB / 412.1 MB, free: 3.562 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001182/0.573, allocations: 20.64 kB / 412.1 MB, free: 3.555 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.659e-05/0.573, allocations: 8.078 kB / 412.1 MB, free: 3.551 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.000102/0.5731, allocations: 92.2 kB / 412.2 MB, free: 3.469 MB / 286.1 MB Notification: Performance of sort global known variables: time 1e-07/0.5731, allocations: 0 / 412.2 MB, free: 3.469 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003989/0.5735, allocations: 36.59 kB / 412.2 MB, free: 3.465 MB / 286.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (p2,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 (9): * Single equations (assignments): 8 * 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 {(4,5,62.5%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001679/0.5752, allocations: 0.9645 MB / 413.2 MB, free: 2.688 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0009136/0.5762, allocations: 324.9 kB / 413.5 MB, free: 2.496 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 5.381e-06/0.5762, allocations: 1.25 kB / 413.5 MB, free: 2.496 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007214/0.5769, allocations: 263.8 kB / 413.8 MB, free: 2.328 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002661/0.5772, allocations: 11.36 kB / 413.8 MB, free: 2.32 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005483/0.5827, allocations: 2.134 MB / 415.9 MB, free: 0.7969 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002505/0.5829, allocations: 0.7035 MB / 416.6 MB, free: 104 kB / 286.1 MB Notification: Performance of simCode: alias equations: time 3.527e-05/0.583, allocations: 6.516 kB / 416.6 MB, free: 104 kB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.301e-05/0.5831, allocations: 28.09 kB / 416.6 MB, free: 80 kB / 286.1 MB Notification: Performance of SimCode: time 1.472e-06/0.5831, allocations: 1.375 kB / 416.6 MB, free: 80 kB / 286.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03986/0.6229, allocations: 3.952 MB / 420.6 MB, free: 15.36 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 16.03/16.65, allocations: 8.172 kB / 420.6 MB, free: 15.35 MB / 302.1 MB (rm -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullSteadyStatePressureAndTemperature.pipe ; mkfifo ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullSteadyStatePressureAndTemperature.pipe ; head -c 1048576 < ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullSteadyStatePressureAndTemperature.pipe >> ../files/ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullSteadyStatePressureAndTemperature.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Fluid_TwoVolumesEquationsFullSteadyStatePressureAndTemperature_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Fluid_TwoVolumesEquationsFullSteadyStatePressureAndTemperature.fmu > ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullSteadyStatePressureAndTemperature.pipe 2>&1)