Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullSteadyStateMassAndEnergy.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.TwoVolumesEquationsFullSteadyStateMassAndEnergy,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Fluid_TwoVolumesEquationsFullSteadyStateMassAndEnergy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullSteadyStateMassAndEnergy,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Fluid_TwoVolumesEquationsFullSteadyStateMassAndEnergy",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.006568/0.006568, allocations: 102.2 kB / 15.73 MB, free: 6.031 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: 194.5 kB / 16.67 MB, free: 5.969 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.285/1.285, allocations: 222.9 MB / 240.4 MB, free: 4.188 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.002849/0.002849, allocations: 0.5624 MB / 291.1 MB, free: 1.508 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.1387/0.1387, allocations: 55.53 kB / 401.9 MB, free: 9.852 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09262/0.2314, allocations: 49.6 MB / 451.5 MB, free: 5.898 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullSteadyStateMassAndEnergy): time 0.002024/0.2335, allocations: 0.573 MB / 452.1 MB, free: 5.328 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002761/0.2338, allocations: 54.89 kB / 452.2 MB, free: 5.277 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.849e-05/0.2339, allocations: 0 / 452.2 MB, free: 5.277 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 2.327e-05/0.2339, allocations: 3.938 kB / 452.2 MB, free: 5.273 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 9.12e-05/0.234, allocations: 7.938 kB / 452.2 MB, free: 5.266 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001324/0.2341, allocations: 15.97 kB / 452.2 MB, free: 5.25 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 9.502e-05/0.2342, allocations: 47.78 kB / 452.2 MB, free: 5.203 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.823e-05/0.2343, allocations: 4 kB / 452.2 MB, free: 5.199 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.706e-05/0.2344, allocations: 27.91 kB / 452.3 MB, free: 5.172 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001029/0.2345, allocations: 31.83 kB / 452.3 MB, free: 5.141 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.307e-05/0.2345, allocations: 4 kB / 452.3 MB, free: 5.137 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.459e-05/0.2345, allocations: 4 kB / 452.3 MB, free: 5.133 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.611e-05/0.2346, allocations: 8 kB / 452.3 MB, free: 5.125 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.39e-05/0.2346, allocations: 27.78 kB / 452.3 MB, free: 5.098 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001023/0.2347, allocations: 39.83 kB / 452.4 MB, free: 5.059 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.701e-06/0.2347, allocations: 0 / 452.4 MB, free: 5.059 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.825e-06/0.2347, allocations: 0 / 452.4 MB, free: 5.059 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.034e-06/0.2348, allocations: 4 kB / 452.4 MB, free: 5.055 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.0006128/0.2354, allocations: 365.6 kB / 452.7 MB, free: 4.648 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.028e-05/0.2354, allocations: 15.89 kB / 452.7 MB, free: 4.633 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.8e-05/0.2355, allocations: 34.75 kB / 452.8 MB, free: 4.59 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.39e-05/0.2355, allocations: 16.83 kB / 452.8 MB, free: 4.574 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001676/0.2357, allocations: 172.3 kB / 453 MB, free: 4.367 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.265e-05/0.2357, allocations: 8.375 kB / 453 MB, free: 4.359 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.334e-05/0.2358, allocations: 12.28 kB / 453 MB, free: 4.348 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000145/0.2359, allocations: 78.22 kB / 453.1 MB, free: 4.266 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.818e-06/0.2359, allocations: 3.938 kB / 453.1 MB, free: 4.262 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.055e-05/0.2359, allocations: 0 / 453.1 MB, free: 4.262 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.659e-06/0.2359, allocations: 0 / 453.1 MB, free: 4.262 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.179e-05/0.236, allocations: 39.97 kB / 453.1 MB, free: 4.223 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005354/0.2366, allocations: 312.8 kB / 453.4 MB, free: 3.867 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002643/0.2368, allocations: 110.5 kB / 453.5 MB, free: 3.75 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.669e-05/0.2369, allocations: 28.86 kB / 453.5 MB, free: 3.719 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.455e-05/0.2369, allocations: 0 / 453.5 MB, free: 3.719 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.023e-05/0.237, allocations: 38.55 kB / 453.6 MB, free: 3.672 MB / 318.1 MB Notification: Performance of pre-optimization done (n=11): time 9.42e-07/0.237, allocations: 4 kB / 453.6 MB, free: 3.668 MB / 318.1 MB Notification: Performance of matching and sorting (n=15): time 0.003158/0.2402, allocations: 0.8555 MB / 454.4 MB, free: 2.758 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.725e-05/0.2402, allocations: 59.39 kB / 454.5 MB, free: 2.688 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.782e-05/0.2403, allocations: 105.8 kB / 454.6 MB, free: 2.574 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.032e-05/0.2403, allocations: 33.7 kB / 454.6 MB, free: 2.535 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.228e-05/0.2404, allocations: 88.14 kB / 454.7 MB, free: 2.445 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.903e-05/0.2404, allocations: 51.2 kB / 454.8 MB, free: 2.395 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.211e-05/0.2405, allocations: 37.61 kB / 454.8 MB, free: 2.352 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001076/0.2406, allocations: 326.8 kB / 455.1 MB, free: 2.023 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.44e-05/0.2407, allocations: 39.98 kB / 455.2 MB, free: 1.984 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.631e-05/0.2408, allocations: 55.94 kB / 455.2 MB, free: 1.926 MB / 318.1 MB Notification: It was not possible to check the given initialization system for consistency symbolically, because the relevant equations are part of an algebraic loop. This is not supported yet. Notification: Performance of analyzeInitialSystem (initialization): time 0.002423/0.2432, allocations: 484 kB / 455.7 MB, free: 1.449 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.2432, allocations: 0 / 455.7 MB, free: 1.449 MB / 318.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.001432/0.2447, allocations: 333.9 kB / 456 MB, free: 1.113 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.712e-05/0.2447, allocations: 6.031 kB / 456 MB, free: 1.109 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.101e-06/0.2447, allocations: 0 / 456 MB, free: 1.109 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001715/0.2464, allocations: 264.5 kB / 456.3 MB, free: 0.8477 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.022e-05/0.2465, allocations: 19.94 kB / 456.3 MB, free: 0.8281 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00307/0.2496, allocations: 1.938 MB / 458.2 MB, free: 14.75 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.783e-05/0.2497, allocations: 0 / 458.2 MB, free: 14.75 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.204e-05/0.2497, allocations: 8.062 kB / 458.3 MB, free: 14.74 MB / 334.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.E1 = 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 (10): * Single equations (assignments): 9 * 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 {(5,5)} Notification: Performance of prepare postOptimizeDAE: time 0.0001841/0.2499, allocations: 125.1 kB / 458.4 MB, free: 14.61 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.503e-05/0.2499, allocations: 15.83 kB / 458.4 MB, free: 14.59 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.122e-05/0.25, allocations: 24.48 kB / 458.4 MB, free: 14.57 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.25, allocations: 0 / 458.4 MB, free: 14.57 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.039e-06/0.25, allocations: 0 / 458.4 MB, free: 14.57 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.098e-06/0.25, allocations: 416 / 458.4 MB, free: 14.57 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002/0.2502, allocations: 209.5 kB / 458.6 MB, free: 14.32 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.2502, allocations: 0 / 458.6 MB, free: 14.32 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.097e-05/0.2503, allocations: 15.92 kB / 458.6 MB, free: 14.3 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001773/0.2521, allocations: 280.4 kB / 458.9 MB, free: 14.02 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.3e-05/0.2521, allocations: 4 kB / 458.9 MB, free: 14.02 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002027/0.2541, allocations: 1.928 MB / 460.8 MB, free: 11.95 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.995e-06/0.2541, allocations: 4.031 kB / 460.8 MB, free: 11.95 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00102/0.2552, allocations: 399.9 kB / 461.2 MB, free: 11.54 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.984e-05/0.2552, allocations: 85.02 kB / 461.3 MB, free: 11.44 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.785e-05/0.2552, allocations: 11.94 kB / 461.3 MB, free: 11.43 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001128/0.2554, allocations: 8.031 kB / 461.3 MB, free: 11.42 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.259e-05/0.2554, allocations: 11.98 kB / 461.3 MB, free: 11.41 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.526e-06/0.2554, allocations: 4 kB / 461.3 MB, free: 11.4 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.008e-05/0.2555, allocations: 87.27 kB / 461.4 MB, free: 11.32 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.2555, allocations: 0 / 461.4 MB, free: 11.32 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002973/0.2558, allocations: 40 kB / 461.5 MB, free: 11.28 MB / 334.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.001256/0.257, allocations: 0.9323 MB / 462.4 MB, free: 10.31 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0007454/0.2578, allocations: 332.8 kB / 462.7 MB, free: 9.977 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.075e-06/0.2578, allocations: 3.938 kB / 462.7 MB, free: 9.973 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003145/0.2581, allocations: 226.5 kB / 463 MB, free: 9.738 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002222/0.2584, allocations: 8 kB / 463 MB, free: 9.73 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004028/0.2624, allocations: 2.03 MB / 465 MB, free: 7.613 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002911/0.2627, allocations: 0.7007 MB / 465.7 MB, free: 6.887 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 3.792e-05/0.2627, allocations: 8.547 kB / 465.7 MB, free: 6.875 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.232e-05/0.2628, allocations: 27.44 kB / 465.7 MB, free: 6.848 MB / 334.1 MB Notification: Performance of SimCode: time 7.31e-07/0.2628, allocations: 0 / 465.7 MB, free: 6.848 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02563/0.2885, allocations: 3.919 MB / 469.6 MB, free: 3.148 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.46/10.75, allocations: 6.141 kB / 469.7 MB, free: 3.141 MB / 334.1 MB (rm -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullSteadyStateMassAndEnergy.pipe ; mkfifo ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullSteadyStateMassAndEnergy.pipe ; head -c 1048576 < ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullSteadyStateMassAndEnergy.pipe >> ../files/ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullSteadyStateMassAndEnergy.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Fluid_TwoVolumesEquationsFullSteadyStateMassAndEnergy_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Fluid_TwoVolumesEquationsFullSteadyStateMassAndEnergy.fmu > ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullSteadyStateMassAndEnergy.pipe 2>&1)