Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsReducedInitial.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.TwoVolumesEquationsReducedInitial,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Fluid_TwoVolumesEquationsReducedInitial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsReducedInitial,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Fluid_TwoVolumesEquationsReducedInitial",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.004769/0.004769, allocations: 100 kB / 15.73 MB, free: 6.469 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001147/0.001147, allocations: 193.1 kB / 16.67 MB, free: 6.379 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.291/1.291, allocations: 222.9 MB / 240.4 MB, free: 4.309 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.002962/0.002961, allocations: 0.5741 MB / 291.1 MB, free: 1.605 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.1354/0.1354, allocations: 56.83 kB / 401.9 MB, free: 9.887 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08602/0.2215, allocations: 49.59 MB / 451.5 MB, free: 5.914 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsReducedInitial): time 0.001865/0.2234, allocations: 0.5808 MB / 452.1 MB, free: 5.336 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002193/0.2236, allocations: 46.91 kB / 452.2 MB, free: 5.293 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.339e-05/0.2237, allocations: 0 / 452.2 MB, free: 5.293 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 1.566e-05/0.2237, allocations: 3.938 kB / 452.2 MB, free: 5.289 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 7.84e-05/0.2238, allocations: 7.922 kB / 452.2 MB, free: 5.281 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 9.368e-05/0.2239, allocations: 15.97 kB / 452.2 MB, free: 5.266 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 8.023e-05/0.224, allocations: 51.83 kB / 452.2 MB, free: 5.215 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.182e-05/0.2241, allocations: 4 kB / 452.2 MB, free: 5.211 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.721e-05/0.2241, allocations: 19.92 kB / 452.3 MB, free: 5.191 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.948e-05/0.2242, allocations: 27.84 kB / 452.3 MB, free: 5.164 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.744e-05/0.2242, allocations: 8 kB / 452.3 MB, free: 5.156 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.168e-05/0.2242, allocations: 4 kB / 452.3 MB, free: 5.152 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.948e-05/0.2242, allocations: 7.984 kB / 452.3 MB, free: 5.145 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.693e-05/0.2243, allocations: 31.84 kB / 452.3 MB, free: 5.113 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 8.014e-05/0.2244, allocations: 31.84 kB / 452.4 MB, free: 5.082 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.2244, allocations: 0 / 452.4 MB, free: 5.082 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.2244, allocations: 0 / 452.4 MB, free: 5.082 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.889e-06/0.2244, allocations: 3.938 kB / 452.4 MB, free: 5.078 MB / 318.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.0005423/0.2249, allocations: 373.6 kB / 452.7 MB, free: 4.664 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.675e-05/0.225, allocations: 8.031 kB / 452.7 MB, free: 4.656 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.381e-05/0.225, allocations: 38.73 kB / 452.8 MB, free: 4.609 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.55e-05/0.2251, allocations: 8.844 kB / 452.8 MB, free: 4.602 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001565/0.2252, allocations: 172.3 kB / 453 MB, free: 4.395 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.544e-05/0.2253, allocations: 4.375 kB / 453 MB, free: 4.391 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.042e-05/0.2253, allocations: 12.28 kB / 453 MB, free: 4.379 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001398/0.2254, allocations: 74.22 kB / 453 MB, free: 4.301 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.04e-05/0.2255, allocations: 3.938 kB / 453 MB, free: 4.297 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.999e-06/0.2255, allocations: 4 kB / 453.1 MB, free: 4.293 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.589e-06/0.2255, allocations: 0 / 453.1 MB, free: 4.293 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.816e-05/0.2256, allocations: 43.92 kB / 453.1 MB, free: 4.25 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004998/0.2261, allocations: 308.7 kB / 453.4 MB, free: 3.898 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002554/0.2263, allocations: 106.5 kB / 453.5 MB, free: 3.785 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.149e-05/0.2264, allocations: 36.84 kB / 453.5 MB, free: 3.746 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.359e-05/0.2264, allocations: 8 kB / 453.5 MB, free: 3.738 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.601e-05/0.2264, allocations: 30.56 kB / 453.6 MB, free: 3.699 MB / 318.1 MB Notification: Performance of pre-optimization done (n=11): time 1.162e-06/0.2265, allocations: 0 / 453.6 MB, free: 3.699 MB / 318.1 MB Notification: Performance of matching and sorting (n=15): time 0.003142/0.2296, allocations: 0.8576 MB / 454.4 MB, free: 2.785 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.339e-05/0.2296, allocations: 51.41 kB / 454.5 MB, free: 2.723 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.109e-05/0.2297, allocations: 113.8 kB / 454.6 MB, free: 2.602 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.71e-05/0.2297, allocations: 25.7 kB / 454.6 MB, free: 2.57 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.705e-05/0.2298, allocations: 84.14 kB / 454.7 MB, free: 2.484 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.313e-05/0.2299, allocations: 59.19 kB / 454.8 MB, free: 2.426 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.164e-05/0.2299, allocations: 33.62 kB / 454.8 MB, free: 2.387 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001045/0.23, allocations: 322.8 kB / 455.1 MB, free: 2.062 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.46e-05/0.2301, allocations: 43.98 kB / 455.1 MB, free: 2.02 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.635e-05/0.2302, allocations: 63.34 kB / 455.2 MB, free: 1.953 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001428/0.2303, allocations: 103.8 kB / 455.3 MB, free: 1.848 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.11e-07/0.2303, allocations: 0 / 455.3 MB, free: 1.848 MB / 318.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0008914/0.2312, allocations: 274 kB / 455.6 MB, free: 1.57 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.299e-05/0.2312, allocations: 4 kB / 455.6 MB, free: 1.566 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.092e-06/0.2313, allocations: 4 kB / 455.6 MB, free: 1.562 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008743/0.2321, allocations: 152.7 kB / 455.7 MB, free: 1.41 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.086e-05/0.2322, allocations: 19.98 kB / 455.8 MB, free: 1.391 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002069/0.2343, allocations: 1.936 MB / 457.7 MB, free: 15.31 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.751e-05/0.2344, allocations: 8 kB / 457.7 MB, free: 15.3 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.888e-06/0.2344, allocations: 4 kB / 457.7 MB, free: 15.3 MB / 334.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 (12): * Single equations (assignments): 11 * 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 prepare postOptimizeDAE: time 8.066e-05/0.2345, allocations: 121.6 kB / 457.8 MB, free: 15.18 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.202e-05/0.2345, allocations: 7.906 kB / 457.8 MB, free: 15.17 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.642e-05/0.2346, allocations: 20.5 kB / 457.8 MB, free: 15.14 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.976e-06/0.2346, allocations: 4.031 kB / 457.9 MB, free: 15.14 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.2346, allocations: 4 kB / 457.9 MB, free: 15.14 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.907e-06/0.2346, allocations: 4 kB / 457.9 MB, free: 15.13 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001856/0.2348, allocations: 205.6 kB / 458.1 MB, free: 14.88 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.2348, allocations: 0 / 458.1 MB, free: 14.88 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.049e-05/0.2348, allocations: 11.98 kB / 458.1 MB, free: 14.87 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001798/0.2366, allocations: 272.4 kB / 458.3 MB, free: 14.6 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.398e-05/0.2367, allocations: 7.984 kB / 458.3 MB, free: 14.59 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001967/0.2386, allocations: 1.939 MB / 460.3 MB, free: 12.52 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/0.2387, allocations: 0 / 460.3 MB, free: 12.52 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009688/0.2396, allocations: 406.8 kB / 460.7 MB, free: 12.11 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.247e-05/0.2397, allocations: 81.02 kB / 460.8 MB, free: 12.01 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.606e-05/0.2397, allocations: 3.938 kB / 460.8 MB, free: 12 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001063/0.2398, allocations: 8 kB / 460.8 MB, free: 12 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.294e-05/0.2399, allocations: 12.02 kB / 460.8 MB, free: 11.98 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.435e-06/0.2399, allocations: 4 kB / 460.8 MB, free: 11.98 MB / 334.1 MB Notification: Performance of sorting global known variables: time 4.618e-05/0.2399, allocations: 99.72 kB / 460.9 MB, free: 11.88 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2399, allocations: 0 / 460.9 MB, free: 11.88 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003189/0.2402, allocations: 32 kB / 460.9 MB, free: 11.85 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (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.001181/0.2414, allocations: 0.9353 MB / 461.9 MB, free: 10.88 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0004505/0.2419, allocations: 272.9 kB / 462.1 MB, free: 10.61 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.2419, allocations: 4.062 kB / 462.1 MB, free: 10.6 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002868/0.2422, allocations: 230.5 kB / 462.4 MB, free: 10.36 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002165/0.2424, allocations: 7.047 kB / 462.4 MB, free: 10.36 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002765/0.2452, allocations: 1.907 MB / 464.3 MB, free: 8.367 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002268/0.2454, allocations: 0.7005 MB / 465 MB, free: 7.641 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 2.899e-05/0.2455, allocations: 4.547 kB / 465 MB, free: 7.633 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.22e-05/0.2455, allocations: 23.44 kB / 465 MB, free: 7.609 MB / 334.1 MB Notification: Performance of SimCode: time 3.31e-07/0.2455, allocations: 0 / 465 MB, free: 7.609 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02153/0.2671, allocations: 3.204 MB / 468.2 MB, free: 4.637 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.615/8.882, allocations: 16.19 kB / 468.2 MB, free: 4.625 MB / 334.1 MB (rm -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsReducedInitial.pipe ; mkfifo ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsReducedInitial.pipe ; head -c 1048576 < ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsReducedInitial.pipe >> ../files/ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsReducedInitial.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Fluid_TwoVolumesEquationsReducedInitial_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Fluid_TwoVolumesEquationsReducedInitial.fmu > ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsReducedInitial.pipe 2>&1)