Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsReducedInitial.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001059/0.001059, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00124/0.00124, allocations: 165.9 kB / 22.46 MB, free: 2.105 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8746/0.8746, allocations: 177.1 MB / 202.8 MB, free: 5.754 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.1.0+maint.om/package.mo): time 0.002098/0.002098, allocations: 426.5 kB / 259.6 MB, free: 12.85 MB / 250.7 MB " [Timeout remaining time 180] Using package ModelicaTestOverdetermined with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsReducedInitial,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Fluid_TwoVolumesEquationsReducedInitial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsReducedInitial,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Fluid_TwoVolumesEquationsReducedInitial",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.994e-06/1.994e-06, allocations: 0 / 381.8 MB, free: 116 kB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.674e-05/1.874e-05, allocations: 6.281 kB / 381.8 MB, free: 108 kB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsReducedInitial): time 0.001528/0.001547, allocations: 0.5656 MB / 382.4 MB, free: 15.54 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002421/0.001789, allocations: 39.86 kB / 382.4 MB, free: 15.5 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.192e-05/0.001831, allocations: 0 / 382.4 MB, free: 15.5 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 2.211e-05/0.001853, allocations: 3.938 kB / 382.4 MB, free: 15.5 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 9.19e-05/0.001945, allocations: 11.94 kB / 382.4 MB, free: 15.48 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001219/0.002067, allocations: 15.91 kB / 382.4 MB, free: 15.47 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 9.701e-05/0.002164, allocations: 47.88 kB / 382.5 MB, free: 15.42 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.107e-05/0.002225, allocations: 4 kB / 382.5 MB, free: 15.42 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.327e-05/0.002298, allocations: 31.91 kB / 382.5 MB, free: 15.39 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.978e-05/0.002388, allocations: 23.89 kB / 382.5 MB, free: 15.36 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 3.502e-05/0.002423, allocations: 4 kB / 382.5 MB, free: 15.36 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.233e-05/0.002435, allocations: 4 kB / 382.5 MB, free: 15.36 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 2.256e-05/0.002458, allocations: 7.984 kB / 382.5 MB, free: 15.35 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.368e-05/0.002491, allocations: 23.91 kB / 382.6 MB, free: 15.32 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 9.405e-05/0.002585, allocations: 31.89 kB / 382.6 MB, free: 15.29 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.033e-06/0.002587, allocations: 0 / 382.6 MB, free: 15.29 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.643e-06/0.002589, allocations: 0 / 382.6 MB, free: 15.29 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.14e-06/0.002594, allocations: 0 / 382.6 MB, free: 15.29 MB / 362.7 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.0005161/0.00311, allocations: 298.1 kB / 382.9 MB, free: 14.97 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.354e-05/0.003154, allocations: 15.97 kB / 382.9 MB, free: 14.95 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.467e-05/0.003188, allocations: 34.75 kB / 382.9 MB, free: 14.91 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.769e-05/0.003216, allocations: 8.891 kB / 383 MB, free: 14.9 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.872e-05/0.003315, allocations: 125.7 kB / 383.1 MB, free: 14.75 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.25e-05/0.003327, allocations: 4.375 kB / 383.1 MB, free: 14.75 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.892e-05/0.003346, allocations: 8.375 kB / 383.1 MB, free: 14.74 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001112/0.003458, allocations: 71.48 kB / 383.2 MB, free: 14.67 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.862e-06/0.003464, allocations: 192 / 383.2 MB, free: 14.67 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.285e-06/0.003473, allocations: 384 / 383.2 MB, free: 14.67 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.302e-06/0.003479, allocations: 8.125 kB / 383.2 MB, free: 14.66 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.2e-05/0.003541, allocations: 35.92 kB / 383.2 MB, free: 14.62 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003716/0.003913, allocations: 271.9 kB / 383.5 MB, free: 14.32 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002426/0.004155, allocations: 106.5 kB / 383.6 MB, free: 14.2 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.291e-05/0.004208, allocations: 32.84 kB / 383.6 MB, free: 14.17 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.5e-05/0.004223, allocations: 3.938 kB / 383.6 MB, free: 14.16 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.995e-05/0.004243, allocations: 34.56 kB / 383.6 MB, free: 14.12 MB / 362.7 MB Notification: Performance of pre-optimization done (n=11): time 1.382e-06/0.004244, allocations: 7.938 kB / 383.6 MB, free: 14.11 MB / 362.7 MB Notification: Performance of matching and sorting (n=15): time 0.002179/0.006424, allocations: 0.7724 MB / 384.4 MB, free: 13.3 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.327e-05/0.006457, allocations: 59.41 kB / 384.5 MB, free: 13.23 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.791e-05/0.006525, allocations: 109.8 kB / 384.6 MB, free: 13.12 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.34e-05/0.006538, allocations: 29.7 kB / 384.6 MB, free: 13.08 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.148e-05/0.00658, allocations: 92.08 kB / 384.7 MB, free: 12.99 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.649e-05/0.006606, allocations: 55.47 kB / 384.8 MB, free: 12.93 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.869e-05/0.006645, allocations: 33.72 kB / 384.8 MB, free: 12.89 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 7.587e-05/0.006721, allocations: 322.8 kB / 385.1 MB, free: 12.57 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.57e-05/0.006767, allocations: 35.98 kB / 385.1 MB, free: 12.54 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.212e-05/0.006829, allocations: 65.62 kB / 385.2 MB, free: 12.46 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001135/0.006942, allocations: 109 kB / 385.3 MB, free: 12.36 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.006944, allocations: 3.938 kB / 385.3 MB, free: 12.35 MB / 362.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0004578/0.007402, allocations: 258.1 kB / 385.6 MB, free: 12.09 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.242e-05/0.007414, allocations: 4 kB / 385.6 MB, free: 12.09 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.007419, allocations: 4.031 kB / 385.6 MB, free: 12.08 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004333/0.007852, allocations: 156.7 kB / 385.7 MB, free: 11.93 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.31e-05/0.007895, allocations: 23.94 kB / 385.8 MB, free: 11.9 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001422/0.009317, allocations: 1.813 MB / 387.6 MB, free: 9.973 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.736e-05/0.009355, allocations: 8 kB / 387.6 MB, free: 9.965 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.476e-06/0.009363, allocations: 4 kB / 387.6 MB, free: 9.961 MB / 362.7 MB 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 (12): * Single equations (assignments): 11 * 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 prepare postOptimizeDAE: time 0.0001279/0.009491, allocations: 125.8 kB / 387.7 MB, free: 9.828 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.768e-05/0.009509, allocations: 7.891 kB / 387.7 MB, free: 9.82 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.697e-05/0.009526, allocations: 20.44 kB / 387.7 MB, free: 9.801 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.22e-07/0.009527, allocations: 0 / 387.7 MB, free: 9.801 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.009531, allocations: 4 kB / 387.7 MB, free: 9.797 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.504e-06/0.009533, allocations: 0 / 387.7 MB, free: 9.797 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001259/0.009659, allocations: 164.8 kB / 387.9 MB, free: 9.594 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.009661, allocations: 0 / 387.9 MB, free: 9.594 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.387e-05/0.009685, allocations: 8 kB / 387.9 MB, free: 9.586 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008098/0.01049, allocations: 280.4 kB / 388.2 MB, free: 9.309 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.788e-06/0.0105, allocations: 4 kB / 388.2 MB, free: 9.305 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001254/0.01176, allocations: 1.836 MB / 390 MB, free: 7.359 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.01176, allocations: 0 / 390 MB, free: 7.359 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005354/0.01229, allocations: 396 kB / 390.4 MB, free: 6.953 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.555e-06/0.0123, allocations: 7.953 kB / 390.4 MB, free: 6.945 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.068e-05/0.01231, allocations: 8.031 kB / 390.4 MB, free: 6.938 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.425e-05/0.01237, allocations: 8 kB / 390.4 MB, free: 6.93 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.823e-05/0.01239, allocations: 15.91 kB / 390.4 MB, free: 6.914 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.063e-06/0.0124, allocations: 8 kB / 390.4 MB, free: 6.906 MB / 362.7 MB Notification: Performance of sorting global known variables: time 2.977e-05/0.01243, allocations: 79.28 kB / 390.5 MB, free: 6.828 MB / 362.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.01243, allocations: 3.938 kB / 390.5 MB, free: 6.824 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002311/0.01266, allocations: 36 kB / 390.6 MB, free: 6.789 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (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.0007074/0.01337, allocations: 0.929 MB / 391.5 MB, free: 5.828 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003516/0.01372, allocations: 271.4 kB / 391.8 MB, free: 5.551 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.01372, allocations: 4.062 kB / 391.8 MB, free: 5.547 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001677/0.01389, allocations: 218.5 kB / 392 MB, free: 5.32 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001686/0.01406, allocations: 12.53 kB / 392 MB, free: 5.309 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00181/0.01587, allocations: 1.89 MB / 393.9 MB, free: 3.332 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.802e-05/0.01593, allocations: 91.75 kB / 394 MB, free: 3.223 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 2.49e-05/0.01595, allocations: 4.5 kB / 394 MB, free: 3.219 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.191e-05/0.01599, allocations: 24.5 kB / 394 MB, free: 3.195 MB / 362.7 MB Notification: Performance of SimCode: time 2.7e-07/0.01599, allocations: 0 / 394 MB, free: 3.195 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01721/0.03321, allocations: 3.853 MB / 397.8 MB, free: 15.55 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.509/7.542, allocations: 7.5 kB / 397.9 MB, free: 15.55 MB / 378.7 MB " [Timeout remaining time 652] (rm -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsReducedInitial.pipe ; mkfifo ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsReducedInitial.pipe ; head -c 1048576 < ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsReducedInitial.pipe >> ../files/ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsReducedInitial.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Fluid_TwoVolumesEquationsReducedInitial_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Fluid_TwoVolumesEquationsReducedInitial.fmu > ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsReducedInitial.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.23770850803703] Failed to read output from testmodel.py, exit status != 0: 7.622880322858691 7.63411991 7.629851426 Calling exit ...