Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullInitial.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.TwoVolumesEquationsFullInitial,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Fluid_TwoVolumesEquationsFullInitial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullInitial,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Fluid_TwoVolumesEquationsFullInitial",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.001864/0.001863, 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.002567/0.002568, allocations: 194.7 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.073/2.073, allocations: 222.9 MB / 240.2 MB, free: 4.387 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.00419/0.00419, allocations: 0.5661 MB / 291 MB, free: 1.707 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002133/0.002133, allocations: 75.88 kB / 351.7 MB, free: 2.207 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2039/0.2061, allocations: 49.59 MB / 401.3 MB, free: 0.5742 MB / 286.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullInitial): time 0.002962/0.2092, allocations: 0.5614 MB / 401.8 MB, free: 12 kB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.4363/0.6454, allocations: 50.97 kB / 401.9 MB, free: 10.36 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002016/0.6458, allocations: 1.031 kB / 401.9 MB, free: 10.36 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 7.441e-05/0.6461, allocations: 4.125 kB / 401.9 MB, free: 10.36 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001994/0.6463, allocations: 5.859 kB / 401.9 MB, free: 10.36 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002107/0.6465, allocations: 14.58 kB / 401.9 MB, free: 10.36 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001941/0.6467, allocations: 50.42 kB / 401.9 MB, free: 10.36 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001212/0.6468, allocations: 6.844 kB / 402 MB, free: 10.36 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.358e-05/0.6469, allocations: 19.23 kB / 402 MB, free: 10.35 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001485/0.6471, allocations: 33.47 kB / 402 MB, free: 10.34 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.328e-05/0.6471, allocations: 3.062 kB / 402 MB, free: 10.34 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.641e-05/0.6472, allocations: 3.75 kB / 402 MB, free: 10.34 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 5.17e-05/0.6472, allocations: 16.12 kB / 402 MB, free: 10.34 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 7.53e-05/0.6473, allocations: 25.09 kB / 402 MB, free: 10.33 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001579/0.6475, allocations: 28.05 kB / 402.1 MB, free: 10.33 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.925e-06/0.6475, allocations: 3.938 kB / 402.1 MB, free: 10.32 MB / 286.1 MB Notification: Performance of FrontEnd: time 3.918e-06/0.6475, allocations: 0 / 402.1 MB, free: 10.32 MB / 286.1 MB Notification: Performance of Transformations before backend: time 9.418e-06/0.6475, 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.001049/0.6486, allocations: 376 kB / 402.4 MB, free: 9.965 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.505e-05/0.6487, allocations: 10.03 kB / 402.5 MB, free: 9.965 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.469e-05/0.6487, allocations: 38.25 kB / 402.5 MB, free: 9.926 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.108e-05/0.6488, allocations: 8.281 kB / 402.5 MB, free: 9.922 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00023/0.649, allocations: 177.7 kB / 402.7 MB, free: 9.719 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.681e-05/0.6491, allocations: 10.81 kB / 402.7 MB, free: 9.715 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.506e-05/0.6491, allocations: 6 kB / 402.7 MB, free: 9.715 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002311/0.6494, allocations: 71.61 kB / 402.8 MB, free: 9.68 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.61e-05/0.6494, allocations: 7.875 kB / 402.8 MB, free: 9.672 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.995e-05/0.6494, allocations: 4.406 kB / 402.8 MB, free: 9.672 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.638e-06/0.6494, allocations: 4.812 kB / 402.8 MB, free: 9.668 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001534/0.6496, allocations: 35.08 kB / 402.8 MB, free: 9.668 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001141/0.6507, allocations: 306.1 kB / 403.1 MB, free: 9.406 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004891/0.6512, allocations: 126.8 kB / 403.2 MB, free: 9.371 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001235/0.6514, allocations: 40.72 kB / 403.3 MB, free: 9.363 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.576e-05/0.6514, allocations: 1.188 kB / 403.3 MB, free: 9.363 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.637e-05/0.6515, allocations: 32.62 kB / 403.3 MB, free: 9.324 MB / 286.1 MB Notification: Performance of pre-optimization done (n=12): time 1.393e-06/0.6515, allocations: 4 kB / 403.3 MB, free: 9.32 MB / 286.1 MB Notification: Performance of matching and sorting (n=17): time 0.005836/0.6573, allocations: 0.9286 MB / 404.2 MB, free: 9.012 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.381e-05/0.6574, allocations: 53.19 kB / 404.3 MB, free: 8.949 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000147/0.6575, allocations: 111.4 kB / 404.4 MB, free: 8.848 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 8.8e-05/0.6577, allocations: 30.11 kB / 404.4 MB, free: 8.816 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001981/0.6579, allocations: 86.47 kB / 404.5 MB, free: 8.734 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001386/0.6581, allocations: 60.95 kB / 404.6 MB, free: 8.695 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.968e-05/0.6582, allocations: 38.06 kB / 404.6 MB, free: 8.68 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001628/0.6583, allocations: 323.4 kB / 404.9 MB, free: 8.363 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001387/0.6585, allocations: 42.2 kB / 405 MB, free: 8.363 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001869/0.6587, allocations: 65.58 kB / 405 MB, free: 8.344 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003252/0.6619, allocations: 0.57 MB / 405.6 MB, free: 8.211 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.662, allocations: 0 / 405.6 MB, free: 8.211 MB / 286.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.001219/0.6632, allocations: 276.5 kB / 405.9 MB, free: 8.137 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.019e-05/0.6633, allocations: 6.625 kB / 405.9 MB, free: 8.137 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.304e-05/0.6633, allocations: 1.375 kB / 405.9 MB, free: 8.137 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001153/0.6644, allocations: 163.6 kB / 406 MB, free: 8.105 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000119/0.6646, allocations: 20.55 kB / 406.1 MB, free: 8.102 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003698/0.6683, allocations: 1.98 MB / 408 MB, free: 6.383 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.74e-05/0.6684, allocations: 3.875 kB / 408 MB, free: 6.383 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.59e-05/0.6684, allocations: 7.938 kB / 408.1 MB, free: 6.379 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: p1 = 100000.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 (13): * Single equations (assignments): 12 * 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 prepare postOptimizeDAE: time 0.0003818/0.6688, allocations: 130.4 kB / 408.2 MB, free: 6.25 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.739e-05/0.6689, allocations: 7.219 kB / 408.2 MB, free: 6.246 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.144e-05/0.6689, allocations: 21.48 kB / 408.2 MB, free: 6.227 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.925e-06/0.6689, allocations: 0 / 408.2 MB, free: 6.227 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.997e-05/0.669, allocations: 2.562 kB / 408.2 MB, free: 6.227 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.055e-06/0.669, allocations: 0.5156 kB / 408.2 MB, free: 6.227 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001785/0.6708, allocations: 0.5651 MB / 408.8 MB, free: 5.828 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.683e-06/0.6708, allocations: 1.438 kB / 408.8 MB, free: 5.828 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.294e-05/0.6709, allocations: 17.77 kB / 408.8 MB, free: 5.824 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002246/0.6731, allocations: 285.6 kB / 409.1 MB, free: 5.789 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.454e-05/0.6732, allocations: 7.203 kB / 409.1 MB, free: 5.785 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003804/0.677, allocations: 1.977 MB / 411.1 MB, free: 4.074 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.543e-06/0.677, allocations: 0.7031 kB / 411.1 MB, free: 4.074 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001844/0.6789, allocations: 433.8 kB / 411.5 MB, free: 3.836 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.992e-05/0.6789, allocations: 84.19 kB / 411.6 MB, free: 3.738 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.41e-05/0.679, allocations: 9.953 kB / 411.6 MB, free: 3.73 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001226/0.6791, allocations: 2.375 kB / 411.6 MB, free: 3.73 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.247e-05/0.6792, allocations: 22.12 kB / 411.6 MB, free: 3.723 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.861e-05/0.6792, allocations: 7.922 kB / 411.6 MB, free: 3.719 MB / 286.1 MB Notification: Performance of sorting global known variables: time 8.736e-05/0.6793, allocations: 88.34 kB / 411.7 MB, free: 3.641 MB / 286.1 MB Notification: Performance of sort global known variables: time 1e-07/0.6793, allocations: 0 / 411.7 MB, free: 3.641 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0004764/0.6798, allocations: 30.95 kB / 411.7 MB, free: 3.637 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.002015/0.6818, allocations: 0.9664 MB / 412.7 MB, free: 2.855 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.001265/0.6831, allocations: 318.2 kB / 413 MB, free: 2.676 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 5.3e-06/0.6832, allocations: 5.281 kB / 413 MB, free: 2.672 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007966/0.684, allocations: 251.7 kB / 413.3 MB, free: 2.516 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003235/0.6843, allocations: 13.92 kB / 413.3 MB, free: 2.508 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004527/0.6888, allocations: 1.963 MB / 415.2 MB, free: 1.012 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000434/0.6893, allocations: 0.7011 MB / 415.9 MB, free: 324 kB / 286.1 MB Notification: Performance of simCode: alias equations: time 5.316e-05/0.6894, allocations: 6.891 kB / 415.9 MB, free: 324 kB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.774e-05/0.6894, allocations: 20.11 kB / 416 MB, free: 308 kB / 286.1 MB Notification: Performance of SimCode: time 7.71e-07/0.6894, allocations: 1.562 kB / 416 MB, free: 308 kB / 286.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05504/0.7445, allocations: 3.081 MB / 419 MB, free: 15.89 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 21.46/22.2, allocations: 10.38 kB / 419 MB, free: 15.88 MB / 302.1 MB (rm -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullInitial.pipe ; mkfifo ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullInitial.pipe ; head -c 1048576 < ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullInitial.pipe >> ../files/ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullInitial.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Fluid_TwoVolumesEquationsFullInitial_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Fluid_TwoVolumesEquationsFullInitial.fmu > ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullInitial.pipe 2>&1)