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.001016/0.001016, allocations: 90.75 kB / 15.06 MB, free: 1.098 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.00122/0.00122, allocations: 172.7 kB / 15.95 MB, free: 208 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.464/1.464, allocations: 223.3 MB / 240 MB, free: 5.289 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.0.0-master/package.mo): time 0.002723/0.002724, allocations: 0.5352 MB / 291.6 MB, free: 1.562 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003279/0.0003281, allocations: 8 kB / 352.8 MB, free: 2.719 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1221/0.1224, allocations: 50.56 MB / 403.3 MB, free: 112 kB / 286.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullSteadyStateMassAndEnergy): time 0.2241/0.3466, allocations: 295 kB / 403.6 MB, free: 9.832 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002163/0.3469, allocations: 52.03 kB / 403.7 MB, free: 9.832 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.012e-05/0.347, allocations: 0 / 403.7 MB, free: 9.832 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 1.609e-05/0.347, allocations: 3.938 kB / 403.7 MB, free: 9.828 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 7.829e-05/0.3471, allocations: 5.031 kB / 403.7 MB, free: 9.828 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001113/0.3472, allocations: 14.42 kB / 403.7 MB, free: 9.828 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 9.024e-05/0.3473, allocations: 43.59 kB / 403.7 MB, free: 9.82 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.445e-05/0.3473, allocations: 2.766 kB / 403.7 MB, free: 9.82 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.137e-05/0.3474, allocations: 25.08 kB / 403.8 MB, free: 9.816 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.522e-05/0.3475, allocations: 27.83 kB / 403.8 MB, free: 9.812 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.944e-05/0.3475, allocations: 3.688 kB / 403.8 MB, free: 9.812 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.932e-05/0.3475, allocations: 3.656 kB / 403.8 MB, free: 9.812 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 2.306e-05/0.3476, allocations: 15.33 kB / 403.8 MB, free: 9.809 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 2.557e-05/0.3476, allocations: 31.8 kB / 403.9 MB, free: 9.777 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 6.692e-05/0.3477, allocations: 19.17 kB / 403.9 MB, free: 9.773 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.372e-06/0.3477, allocations: 3.375 kB / 403.9 MB, free: 9.773 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.904e-06/0.3477, allocations: 0 / 403.9 MB, free: 9.773 MB / 286.1 MB Notification: Performance of Transformations before backend: time 7.945e-06/0.3477, allocations: 4.844 kB / 403.9 MB, free: 9.77 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.0004379/0.3481, allocations: 363.4 kB / 404.2 MB, free: 9.414 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.656e-05/0.3482, allocations: 9.312 kB / 404.2 MB, free: 9.414 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.596e-05/0.3482, allocations: 37.28 kB / 404.3 MB, free: 9.375 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.396e-05/0.3483, allocations: 8.016 kB / 404.3 MB, free: 9.371 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001211/0.3484, allocations: 168.1 kB / 404.4 MB, free: 9.172 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.531e-05/0.3484, allocations: 10.66 kB / 404.5 MB, free: 9.168 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.627e-05/0.3485, allocations: 8.625 kB / 404.5 MB, free: 9.168 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001476/0.3486, allocations: 71.8 kB / 404.5 MB, free: 9.129 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.205e-06/0.3486, allocations: 0 / 404.5 MB, free: 9.129 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.25e-05/0.3486, allocations: 5.516 kB / 404.5 MB, free: 9.129 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.075e-06/0.3487, allocations: 0.9375 kB / 404.5 MB, free: 9.129 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000109/0.3488, allocations: 37.81 kB / 404.6 MB, free: 9.129 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005014/0.3493, allocations: 309.9 kB / 404.9 MB, free: 8.855 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002992/0.3496, allocations: 107.6 kB / 405 MB, free: 8.828 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.989e-05/0.3497, allocations: 39.48 kB / 405 MB, free: 8.82 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.801e-05/0.3497, allocations: 4.781 kB / 405 MB, free: 8.816 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.492e-05/0.3497, allocations: 32.17 kB / 405.1 MB, free: 8.777 MB / 286.1 MB Notification: Performance of pre-optimization done (n=11): time 1.202e-06/0.3497, allocations: 4.719 kB / 405.1 MB, free: 8.773 MB / 286.1 MB Notification: Performance of matching and sorting (n=15): time 0.0034/0.3531, allocations: 0.8614 MB / 405.9 MB, free: 8.473 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.18e-05/0.3532, allocations: 54.08 kB / 406 MB, free: 8.41 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.333e-05/0.3533, allocations: 112.7 kB / 406.1 MB, free: 8.309 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.528e-05/0.3533, allocations: 33.08 kB / 406.1 MB, free: 8.273 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.229e-05/0.3534, allocations: 95.5 kB / 406.2 MB, free: 8.184 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.345e-05/0.3534, allocations: 55.42 kB / 406.3 MB, free: 8.148 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.175e-06/0.3534, allocations: 4.344 kB / 406.3 MB, free: 8.148 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 7.265e-05/0.3535, allocations: 319 kB / 406.6 MB, free: 7.836 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.726e-05/0.3536, allocations: 43.31 kB / 406.6 MB, free: 7.832 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001151/0.3537, allocations: 60.36 kB / 406.7 MB, free: 7.816 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.002427/0.3561, allocations: 396.5 kB / 407.1 MB, free: 7.801 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.122e-06/0.3561, allocations: 0 / 407.1 MB, free: 7.801 MB / 286.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.001399/0.3575, allocations: 337.9 kB / 407.4 MB, free: 7.734 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.526e-05/0.3576, allocations: 9.359 kB / 407.4 MB, free: 7.73 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.3576, allocations: 0 / 407.4 MB, free: 7.73 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001875/0.3595, allocations: 299.9 kB / 407.7 MB, free: 7.707 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.889e-05/0.3596, allocations: 19.58 kB / 407.7 MB, free: 7.707 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003169/0.3628, allocations: 1.918 MB / 409.6 MB, free: 6.32 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.966e-05/0.3629, allocations: 3.859 kB / 409.7 MB, free: 6.32 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.093e-05/0.3629, allocations: 4.781 kB / 409.7 MB, free: 6.32 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.0001618/0.363, allocations: 126.7 kB / 409.8 MB, free: 6.199 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.356e-05/0.3631, allocations: 7.469 kB / 409.8 MB, free: 6.195 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.606e-05/0.3631, allocations: 17.3 kB / 409.8 MB, free: 6.191 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.242e-06/0.3632, allocations: 4.016 kB / 409.8 MB, free: 6.191 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.061e-05/0.3632, allocations: 0 / 409.8 MB, free: 6.191 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.022e-06/0.3632, allocations: 1.359 kB / 409.8 MB, free: 6.191 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002058/0.3634, allocations: 201.6 kB / 410 MB, free: 6 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.895e-06/0.3634, allocations: 0.6562 kB / 410 MB, free: 6 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.084e-05/0.3635, allocations: 10.84 kB / 410 MB, free: 6 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001852/0.3653, allocations: 305.5 kB / 410.3 MB, free: 5.969 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.774e-05/0.3654, allocations: 4.969 kB / 410.3 MB, free: 5.969 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002015/0.3674, allocations: 1.758 MB / 412.1 MB, free: 4.496 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.995e-06/0.3674, allocations: 0 / 412.1 MB, free: 4.496 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00101/0.3684, allocations: 410.4 kB / 412.5 MB, free: 4.273 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.113e-05/0.3685, allocations: 87.73 kB / 412.6 MB, free: 4.172 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.745e-05/0.3685, allocations: 5.766 kB / 412.6 MB, free: 4.168 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.644e-05/0.3686, allocations: 1.156 kB / 412.6 MB, free: 4.168 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.108e-05/0.3686, allocations: 15.27 kB / 412.6 MB, free: 4.168 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.546e-05/0.3687, allocations: 9 kB / 412.6 MB, free: 4.164 MB / 286.1 MB Notification: Performance of sorting global known variables: time 4.666e-05/0.3687, allocations: 87.81 kB / 412.7 MB, free: 4.086 MB / 286.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3687, allocations: 0 / 412.7 MB, free: 4.086 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.000396/0.3691, allocations: 36.5 kB / 412.7 MB, free: 4.078 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.001272/0.3704, allocations: 0.9436 MB / 413.7 MB, free: 3.316 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0008788/0.3713, allocations: 320.3 kB / 414 MB, free: 3.137 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/0.3713, allocations: 0 / 414 MB, free: 3.137 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000338/0.3716, allocations: 220.3 kB / 414.2 MB, free: 2.988 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002317/0.3719, allocations: 6.891 kB / 414.2 MB, free: 2.984 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002159/0.3741, allocations: 0.8966 MB / 415.1 MB, free: 2.426 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001873/0.3743, allocations: 0.7004 MB / 415.8 MB, free: 1.73 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 3.468e-05/0.3743, allocations: 4.797 kB / 415.8 MB, free: 1.73 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.648e-05/0.3744, allocations: 22.25 kB / 415.8 MB, free: 1.715 MB / 286.1 MB Notification: Performance of SimCode: time 2.2e-07/0.3744, allocations: 96 / 415.8 MB, free: 1.715 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01718/0.3915, allocations: 3.287 MB / 419.1 MB, free: 1.418 MB / 286.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001664/0.3918, allocations: 308.9 kB / 419.4 MB, free: 1.055 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.969/2.361, allocations: 0 / 419.4 MB, free: 1.055 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)