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-master/package.mo", uses=false) Using package ModelicaTestOverdetermined with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.0.0-master/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.00107/0.00107, allocations: 99.47 kB / 15.05 MB, free: 1.105 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.001366/0.001366, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.61/1.61, allocations: 223.2 MB / 239.9 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.0.0-master/package.mo): time 0.00394/0.00394, allocations: 0.5582 MB / 291.5 MB, free: 1.621 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003446/0.0003449, allocations: 12 kB / 352.7 MB, free: 2.723 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1145/0.1149, allocations: 50.57 MB / 403.2 MB, free: 116 kB / 286.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullSteadyStateMassAndEnergy): time 0.2387/0.3537, allocations: 288.6 kB / 403.5 MB, free: 9.836 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002548/0.354, allocations: 50 kB / 403.6 MB, free: 9.836 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.495e-05/0.3541, allocations: 0.9062 kB / 403.6 MB, free: 9.836 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 1.901e-05/0.3541, allocations: 4.594 kB / 403.6 MB, free: 9.832 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001123/0.3542, allocations: 7.672 kB / 403.6 MB, free: 9.832 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000115/0.3543, allocations: 16.14 kB / 403.6 MB, free: 9.832 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001033/0.3544, allocations: 27.61 kB / 403.6 MB, free: 9.832 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.678e-05/0.3545, allocations: 2.984 kB / 403.6 MB, free: 9.832 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.723e-05/0.3546, allocations: 25.56 kB / 403.7 MB, free: 9.824 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.578e-05/0.3547, allocations: 31.52 kB / 403.7 MB, free: 9.816 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.795e-05/0.3547, allocations: 3.875 kB / 403.7 MB, free: 9.816 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.053e-05/0.3547, allocations: 3.562 kB / 403.7 MB, free: 9.816 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 3.025e-05/0.3548, allocations: 14.16 kB / 403.7 MB, free: 9.816 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 3.131e-05/0.3548, allocations: 35.95 kB / 403.8 MB, free: 9.781 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 8.234e-05/0.3549, allocations: 15.83 kB / 403.8 MB, free: 9.781 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/0.3549, allocations: 0 / 403.8 MB, free: 9.781 MB / 286.1 MB Notification: Performance of FrontEnd: time 3.427e-06/0.3549, allocations: 0 / 403.8 MB, free: 9.781 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.601e-06/0.3549, allocations: 1.375 kB / 403.8 MB, free: 9.781 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.0006371/0.3556, allocations: 367 kB / 404.1 MB, free: 9.422 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.631e-05/0.3557, allocations: 9.031 kB / 404.1 MB, free: 9.422 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.222e-05/0.3557, allocations: 41.62 kB / 404.2 MB, free: 9.383 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.055e-05/0.3558, allocations: 7.375 kB / 404.2 MB, free: 9.379 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001724/0.3559, allocations: 168.6 kB / 404.3 MB, free: 9.18 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.871e-05/0.356, allocations: 5.156 kB / 404.4 MB, free: 9.18 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.6e-05/0.356, allocations: 13.97 kB / 404.4 MB, free: 9.172 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001789/0.3562, allocations: 70.34 kB / 404.4 MB, free: 9.137 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.928e-06/0.3562, allocations: 0 / 404.4 MB, free: 9.137 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.162e-05/0.3562, allocations: 0.625 kB / 404.4 MB, free: 9.137 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.198e-05/0.3563, allocations: 1.688 kB / 404.4 MB, free: 9.137 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001214/0.3564, allocations: 38.03 kB / 404.5 MB, free: 9.137 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006429/0.357, allocations: 307.4 kB / 404.8 MB, free: 8.867 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003677/0.3574, allocations: 111.9 kB / 404.9 MB, free: 8.836 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.83e-05/0.3574, allocations: 1.719 kB / 404.9 MB, free: 8.836 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.658e-05/0.3575, allocations: 32.44 kB / 404.9 MB, free: 8.797 MB / 286.1 MB Notification: Performance of pre-optimization done (n=11): time 1.463e-06/0.3575, allocations: 3.938 kB / 404.9 MB, free: 8.793 MB / 286.1 MB Notification: Performance of matching and sorting (n=15): time 0.003889/0.3614, allocations: 0.8621 MB / 405.8 MB, free: 8.488 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.003e-05/0.3614, allocations: 53.7 kB / 405.8 MB, free: 8.426 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.446e-05/0.3615, allocations: 111 kB / 405.9 MB, free: 8.328 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.628e-05/0.3615, allocations: 29.45 kB / 406 MB, free: 8.297 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.849e-05/0.3616, allocations: 89.77 kB / 406.1 MB, free: 8.211 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.084e-05/0.3616, allocations: 60.33 kB / 406.1 MB, free: 8.172 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.338e-06/0.3617, allocations: 4.562 kB / 406.1 MB, free: 8.172 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 6.329e-05/0.3617, allocations: 320.3 kB / 406.4 MB, free: 7.855 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.493e-05/0.3618, allocations: 41.2 kB / 406.5 MB, free: 7.855 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.687e-05/0.3619, allocations: 59.89 kB / 406.5 MB, free: 7.836 MB / 286.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.002786/0.3647, allocations: 398.2 kB / 406.9 MB, free: 7.82 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.82e-07/0.3647, allocations: 0 / 406.9 MB, free: 7.82 MB / 286.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.001542/0.3663, allocations: 336.1 kB / 407.3 MB, free: 7.758 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.335e-05/0.3663, allocations: 13.45 kB / 407.3 MB, free: 7.75 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.963e-06/0.3663, allocations: 5.094 kB / 407.3 MB, free: 7.746 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002109/0.3684, allocations: 298.2 kB / 407.6 MB, free: 7.723 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001024/0.3685, allocations: 20.84 kB / 407.6 MB, free: 7.723 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00394/0.3725, allocations: 1.947 MB / 409.5 MB, free: 6.336 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001014/0.3726, allocations: 3.531 kB / 409.5 MB, free: 6.336 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.736e-05/0.3726, allocations: 5.188 kB / 409.5 MB, free: 6.336 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 sytem: $DER.M2 = 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {5 5} Notification: Performance of prepare postOptimizeDAE: time 0.0002415/0.3729, allocations: 120.8 kB / 409.7 MB, free: 6.219 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.578e-05/0.373, allocations: 8.75 kB / 409.7 MB, free: 6.215 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.435e-05/0.373, allocations: 22.56 kB / 409.7 MB, free: 6.207 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.087e-06/0.373, allocations: 1.938 kB / 409.7 MB, free: 6.207 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.407e-05/0.3731, allocations: 1.188 kB / 409.7 MB, free: 6.207 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.194e-06/0.3731, allocations: 2.078 kB / 409.7 MB, free: 6.207 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003385/0.3734, allocations: 207.4 kB / 409.9 MB, free: 6.012 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.148e-06/0.3734, allocations: 0 / 409.9 MB, free: 6.012 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.313e-05/0.3735, allocations: 14.67 kB / 409.9 MB, free: 6.008 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002378/0.3759, allocations: 296.6 kB / 410.2 MB, free: 5.984 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.209e-05/0.3759, allocations: 8.25 kB / 410.2 MB, free: 5.98 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002398/0.3783, allocations: 1.77 MB / 412 MB, free: 4.512 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.624e-06/0.3783, allocations: 0 / 412 MB, free: 4.512 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00125/0.3796, allocations: 417.2 kB / 412.4 MB, free: 4.285 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.244e-05/0.3796, allocations: 86.27 kB / 412.5 MB, free: 4.188 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.704e-05/0.3797, allocations: 4.938 kB / 412.5 MB, free: 4.184 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001107/0.3798, allocations: 6.953 kB / 412.5 MB, free: 4.18 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.41e-05/0.3798, allocations: 15.88 kB / 412.5 MB, free: 4.176 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.352e-05/0.3799, allocations: 3.578 kB / 412.5 MB, free: 4.176 MB / 286.1 MB Notification: Performance of sorting global known variables: time 4.573e-05/0.3799, allocations: 91.39 kB / 412.6 MB, free: 4.094 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.3799, allocations: 1.25 kB / 412.6 MB, free: 4.094 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0004279/0.3804, allocations: 31.53 kB / 412.6 MB, free: 4.09 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,88.9%) 5} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001288/0.3817, allocations: 0.9395 MB / 413.6 MB, free: 3.328 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0008794/0.3825, allocations: 312.4 kB / 413.9 MB, free: 3.156 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.3826, allocations: 4.062 kB / 413.9 MB, free: 3.152 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003462/0.3829, allocations: 226.5 kB / 414.1 MB, free: 3 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001513/0.3831, allocations: 6.547 kB / 414.1 MB, free: 2.996 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002335/0.3854, allocations: 1.043 MB / 415.1 MB, free: 2.297 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002076/0.3856, allocations: 0.7077 MB / 415.8 MB, free: 1.598 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 4.069e-05/0.3857, allocations: 5.906 kB / 415.9 MB, free: 1.598 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.443e-05/0.3857, allocations: 20.64 kB / 415.9 MB, free: 1.582 MB / 286.1 MB Notification: Performance of SimCode: time 6.01e-07/0.3858, allocations: 1.281 kB / 415.9 MB, free: 1.582 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01678/0.4025, allocations: 3.25 MB / 419.1 MB, free: 1.297 MB / 286.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002149/0.4028, allocations: 307.6 kB / 419.4 MB, free: 0.9258 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.952/2.355, allocations: 0 / 419.4 MB, free: 0.9258 MB / 286.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/linux/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)