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-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.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.0009556/0.0009557, allocations: 99.55 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.0009488/0.000949, 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.499/1.499, allocations: 223.2 MB / 239.9 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.0.0-master/package.mo): time 0.003828/0.003828, allocations: 0.5504 MB / 291.5 MB, free: 1.629 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003458/0.0003458, allocations: 8 kB / 352.7 MB, free: 2.758 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1363/0.1366, allocations: 50.58 MB / 403.3 MB, free: 144 kB / 286.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullInitial): time 0.2888/0.4256, allocations: 286.1 kB / 403.5 MB, free: 9.844 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002168/0.4258, allocations: 46.91 kB / 403.6 MB, free: 9.844 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.966e-05/0.4259, allocations: 0.9688 kB / 403.6 MB, free: 9.844 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 1.373e-05/0.4259, allocations: 4.594 kB / 403.6 MB, free: 9.84 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 8.506e-05/0.426, allocations: 10.72 kB / 403.6 MB, free: 9.84 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 9.65e-05/0.4261, allocations: 13.83 kB / 403.6 MB, free: 9.84 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 9.403e-05/0.4262, allocations: 27.91 kB / 403.6 MB, free: 9.84 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.121e-05/0.4263, allocations: 4.125 kB / 403.6 MB, free: 9.84 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.815e-05/0.4263, allocations: 20.83 kB / 403.7 MB, free: 9.836 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.614e-05/0.4264, allocations: 31.28 kB / 403.7 MB, free: 9.828 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.235e-05/0.4264, allocations: 3.156 kB / 403.7 MB, free: 9.828 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.538e-05/0.4265, allocations: 4.156 kB / 403.7 MB, free: 9.828 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 2.421e-05/0.4265, allocations: 12.48 kB / 403.7 MB, free: 9.828 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 3.03e-05/0.4265, allocations: 36.08 kB / 403.7 MB, free: 9.793 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 7.152e-05/0.4266, allocations: 18.3 kB / 403.8 MB, free: 9.789 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.006e-06/0.4266, allocations: 0 / 403.8 MB, free: 9.789 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.824e-06/0.4266, allocations: 1.062 kB / 403.8 MB, free: 9.789 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.21e-06/0.4266, allocations: 0 / 403.8 MB, free: 9.789 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.0004607/0.4271, allocations: 367.2 kB / 404.1 MB, free: 9.43 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.059e-05/0.4272, allocations: 9.344 kB / 404.1 MB, free: 9.43 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.189e-05/0.4272, allocations: 37.31 kB / 404.2 MB, free: 9.391 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.242e-05/0.4272, allocations: 8.562 kB / 404.2 MB, free: 9.387 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001362/0.4274, allocations: 171.5 kB / 404.3 MB, free: 9.188 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.858e-05/0.4274, allocations: 3.062 kB / 404.3 MB, free: 9.188 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.444e-05/0.4274, allocations: 16.95 kB / 404.4 MB, free: 9.18 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001719/0.4276, allocations: 71.31 kB / 404.4 MB, free: 9.145 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.899e-06/0.4276, allocations: 0 / 404.4 MB, free: 9.145 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.123e-05/0.4277, allocations: 0 / 404.4 MB, free: 9.145 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.406e-06/0.4277, allocations: 1.719 kB / 404.4 MB, free: 9.145 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001141/0.4278, allocations: 37.5 kB / 404.5 MB, free: 9.145 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005968/0.4284, allocations: 309.2 kB / 404.8 MB, free: 8.879 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003885/0.4288, allocations: 126.3 kB / 404.9 MB, free: 8.844 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.094e-05/0.4288, allocations: 1.812 kB / 404.9 MB, free: 8.844 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.635e-05/0.4289, allocations: 36.33 kB / 404.9 MB, free: 8.801 MB / 286.1 MB Notification: Performance of pre-optimization done (n=12): time 1.252e-06/0.4289, allocations: 1.062 kB / 404.9 MB, free: 8.801 MB / 286.1 MB Notification: Performance of matching and sorting (n=17): time 0.00398/0.4328, allocations: 0.9375 MB / 405.9 MB, free: 8.492 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.531e-05/0.4329, allocations: 53.06 kB / 405.9 MB, free: 8.43 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.428e-05/0.433, allocations: 117.9 kB / 406 MB, free: 8.324 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.862e-05/0.433, allocations: 30.5 kB / 406.1 MB, free: 8.293 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.089e-05/0.4331, allocations: 90.2 kB / 406.2 MB, free: 8.199 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.212e-05/0.4331, allocations: 61.89 kB / 406.2 MB, free: 8.16 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.715e-06/0.4332, allocations: 4.688 kB / 406.2 MB, free: 8.16 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 8.386e-05/0.4332, allocations: 328 kB / 406.5 MB, free: 7.84 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.71e-05/0.4333, allocations: 43 kB / 406.6 MB, free: 7.84 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001289/0.4335, allocations: 63.8 kB / 406.6 MB, free: 7.824 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002957/0.4364, allocations: 492.7 kB / 407.1 MB, free: 7.711 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/0.4365, allocations: 0 / 407.1 MB, free: 7.711 MB / 286.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.001069/0.4375, allocations: 283.4 kB / 407.4 MB, free: 7.648 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.256e-05/0.4376, allocations: 4.625 kB / 407.4 MB, free: 7.648 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.106e-06/0.4376, allocations: 1.25 kB / 407.4 MB, free: 7.648 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00126/0.4388, allocations: 189.7 kB / 407.6 MB, free: 7.629 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.491e-05/0.4389, allocations: 21.27 kB / 407.6 MB, free: 7.625 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002789/0.4417, allocations: 1.817 MB / 409.4 MB, free: 6.254 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.602e-05/0.4418, allocations: 5.531 kB / 409.4 MB, free: 6.254 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.5e-05/0.4419, allocations: 5.906 kB / 409.4 MB, free: 6.254 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: 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 (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 {(4,62.5%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001655/0.442, allocations: 125.1 kB / 409.6 MB, free: 6.133 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.921e-05/0.4421, allocations: 7.344 kB / 409.6 MB, free: 6.129 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.99e-05/0.4422, allocations: 19.44 kB / 409.6 MB, free: 6.121 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.338e-06/0.4422, allocations: 3.203 kB / 409.6 MB, free: 6.121 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.071e-05/0.4422, allocations: 1.344 kB / 409.6 MB, free: 6.121 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.241e-06/0.4422, allocations: 4.703 kB / 409.6 MB, free: 6.117 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001478/0.4437, allocations: 0.5736 MB / 410.2 MB, free: 5.781 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.557e-06/0.4437, allocations: 8.578 kB / 410.2 MB, free: 5.777 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.504e-05/0.4438, allocations: 12.11 kB / 410.2 MB, free: 5.777 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002265/0.446, allocations: 307.4 kB / 410.5 MB, free: 5.754 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.865e-05/0.4461, allocations: 4.625 kB / 410.5 MB, free: 5.754 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002469/0.4485, allocations: 1.83 MB / 412.3 MB, free: 4.227 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.956e-06/0.4485, allocations: 0.6094 kB / 412.3 MB, free: 4.227 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001183/0.4497, allocations: 451.1 kB / 412.8 MB, free: 3.969 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.539e-05/0.4498, allocations: 83.98 kB / 412.9 MB, free: 3.871 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.109e-05/0.4498, allocations: 7.172 kB / 412.9 MB, free: 3.867 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001083/0.4499, allocations: 1.484 kB / 412.9 MB, free: 3.867 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.905e-05/0.45, allocations: 17.27 kB / 412.9 MB, free: 3.863 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.305e-05/0.45, allocations: 4.375 kB / 412.9 MB, free: 3.863 MB / 286.1 MB Notification: Performance of sorting global known variables: time 4.216e-05/0.4501, allocations: 86.72 kB / 413 MB, free: 3.785 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.4501, allocations: 0 / 413 MB, free: 3.785 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0004144/0.4505, allocations: 39.62 kB / 413 MB, free: 3.773 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 (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 {(4,62.5%) 5} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001343/0.4518, allocations: 1.038 MB / 414 MB, free: 2.922 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0008395/0.4527, allocations: 319.5 kB / 414.4 MB, free: 2.742 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/0.4527, allocations: 0 / 414.4 MB, free: 2.742 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000551/0.4533, allocations: 267 kB / 414.6 MB, free: 2.574 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001525/0.4534, allocations: 6.891 kB / 414.6 MB, free: 2.57 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00185/0.4553, allocations: 1.001 MB / 415.6 MB, free: 1.867 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001939/0.4555, allocations: 0.709 MB / 416.3 MB, free: 1.168 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 3.374e-05/0.4555, allocations: 11.11 kB / 416.3 MB, free: 1.164 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.024e-05/0.4556, allocations: 29.2 kB / 416.4 MB, free: 1.141 MB / 286.1 MB Notification: Performance of SimCode: time 2.2e-07/0.4556, allocations: 0 / 416.4 MB, free: 1.141 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01641/0.472, allocations: 2.806 MB / 419.2 MB, free: 0.9375 MB / 286.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002357/0.4723, allocations: 263.9 kB / 419.4 MB, free: 0.5781 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.829/2.302, allocations: 1.469 kB / 419.4 MB, free: 0.5781 MB / 286.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/linux/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)