Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullInitial.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.001439/0.001439, allocations: 115.6 kB / 17.16 MB, free: 5.895 MB / 14.72 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.001405/0.001405, allocations: 215 kB / 20.13 MB, free: 2.949 MB / 14.72 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 1.526/1.526, allocations: 230.6 MB / 253.5 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] 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.002968/0.002968, allocations: 0.577 MB / 310.1 MB, free: 3.375 MB / 238.1 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.Mechanical.TwoMassesEquationsFullInitial,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Mechanical_TwoMassesEquationsFullInitial",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullInitial,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Mechanical_TwoMassesEquationsFullInitial",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002007/0.002007, allocations: 64.89 kB / 430.7 MB, free: 41.08 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0942/0.09621, allocations: 53.49 MB / 484.2 MB, free: 19 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullInitial): time 0.00206/0.09827, allocations: 0.5094 MB / 484.7 MB, free: 18.66 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002212/0.09849, allocations: 25.25 kB / 484.7 MB, free: 18.64 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.405e-05/0.09852, allocations: 0 / 484.7 MB, free: 18.64 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.704e-05/0.09854, allocations: 11.88 kB / 484.7 MB, free: 18.63 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 4.362e-05/0.09858, allocations: 1.219 kB / 484.7 MB, free: 18.63 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001495/0.09873, allocations: 13.16 kB / 484.7 MB, free: 18.62 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 7.783e-05/0.09881, allocations: 25.08 kB / 484.8 MB, free: 18.61 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.983e-05/0.09886, allocations: 1.156 kB / 484.8 MB, free: 18.61 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.826e-05/0.09889, allocations: 4.219 kB / 484.8 MB, free: 18.61 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.4e-05/0.09896, allocations: 15.45 kB / 484.8 MB, free: 18.59 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.115e-05/0.09898, allocations: 1.031 kB / 484.8 MB, free: 18.59 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.397e-06/0.09899, allocations: 1.031 kB / 484.8 MB, free: 18.59 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.92e-05/0.09901, allocations: 6.484 kB / 484.8 MB, free: 18.59 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.989e-05/0.09904, allocations: 18.58 kB / 484.8 MB, free: 18.57 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 7.415e-05/0.09912, allocations: 7.062 kB / 484.8 MB, free: 18.57 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/0.09912, allocations: 3.984 kB / 484.8 MB, free: 18.57 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.09912, allocations: 0.875 kB / 484.8 MB, free: 18.57 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.981e-06/0.09913, allocations: 0 / 484.8 MB, free: 18.57 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0003799/0.09951, allocations: 338.4 kB / 485.2 MB, free: 18.2 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.715e-05/0.09956, allocations: 9.938 kB / 485.2 MB, free: 18.2 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.588e-05/0.09957, allocations: 1.312 kB / 485.2 MB, free: 18.2 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.769e-05/0.0996, allocations: 31.84 kB / 485.2 MB, free: 18.16 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.609e-05/0.09963, allocations: 7.219 kB / 485.2 MB, free: 18.16 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001071/0.09973, allocations: 165.5 kB / 485.4 MB, free: 17.96 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.68e-05/0.09975, allocations: 6.562 kB / 485.4 MB, free: 17.95 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.21e-05/0.09978, allocations: 7.812 kB / 485.4 MB, free: 17.95 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001172/0.0999, allocations: 45.88 kB / 485.4 MB, free: 17.91 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.539e-05/0.09991, allocations: 3.953 kB / 485.4 MB, free: 17.9 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.066e-05/0.09992, allocations: 5.125 kB / 485.4 MB, free: 17.9 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.392e-06/0.09993, allocations: 1.094 kB / 485.4 MB, free: 17.9 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.376e-05/0.09998, allocations: 11.89 kB / 485.4 MB, free: 17.89 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002807/0.1003, allocations: 251.3 kB / 485.7 MB, free: 17.61 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001025/0.1004, allocations: 62.19 kB / 485.8 MB, free: 17.56 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.516e-05/0.1004, allocations: 17.78 kB / 485.8 MB, free: 17.55 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.453e-05/0.1004, allocations: 4 kB / 485.8 MB, free: 17.54 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.553e-05/0.1004, allocations: 31.75 kB / 485.8 MB, free: 17.5 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.172e-06/0.1004, allocations: 4 kB / 485.8 MB, free: 17.5 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0007633/0.1012, allocations: 0.4989 MB / 486.3 MB, free: 16.99 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.771e-05/0.1012, allocations: 52.53 kB / 486.4 MB, free: 16.93 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.132e-05/0.1013, allocations: 101.2 kB / 486.5 MB, free: 16.82 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 9.468e-06/0.1013, allocations: 30.89 kB / 486.5 MB, free: 16.79 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.321e-05/0.1013, allocations: 85.23 kB / 486.6 MB, free: 16.7 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.16e-05/0.1013, allocations: 31.05 kB / 486.6 MB, free: 16.67 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.807e-05/0.1014, allocations: 24.66 kB / 486.6 MB, free: 16.65 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 4.926e-05/0.1014, allocations: 316 kB / 486.9 MB, free: 16.33 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.122e-05/0.1015, allocations: 17.36 kB / 487 MB, free: 16.32 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.842e-05/0.1015, allocations: 37.48 kB / 487 MB, free: 16.29 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002663/0.1018, allocations: 247.1 kB / 487.2 MB, free: 16.05 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.22e-07/0.1018, allocations: 0 / 487.2 MB, free: 16.05 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001557/0.1019, allocations: 98.95 kB / 487.3 MB, free: 15.98 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.614e-05/0.1019, allocations: 4.656 kB / 487.3 MB, free: 15.98 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/0.1019, allocations: 5.031 kB / 487.3 MB, free: 15.98 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001142/0.1021, allocations: 23.8 kB / 487.4 MB, free: 15.96 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.179e-05/0.1021, allocations: 13.09 kB / 487.4 MB, free: 15.96 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009128/0.103, allocations: 1.384 MB / 488.8 MB, free: 14.51 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.408e-05/0.1031, allocations: 5.031 kB / 488.8 MB, free: 14.5 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.294e-06/0.1031, allocations: 2.438 kB / 488.8 MB, free: 14.5 MB / 350.1 MB Warning: The initial conditions are over specified. The following 2 initial equations are redundant, so they are removed from the initialization system: x1 = 0.0 v1 = 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 (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 {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001512/0.1032, allocations: 124 kB / 488.9 MB, free: 14.38 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.808e-05/0.1033, allocations: 6.172 kB / 488.9 MB, free: 14.38 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.399e-05/0.1033, allocations: 12.98 kB / 488.9 MB, free: 14.36 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.545e-06/0.1033, allocations: 1.094 kB / 488.9 MB, free: 14.36 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.079e-06/0.1033, allocations: 1.031 kB / 488.9 MB, free: 14.36 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/0.1033, allocations: 0 / 488.9 MB, free: 14.36 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003757/0.1037, allocations: 364.1 kB / 489.3 MB, free: 13.98 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.456e-06/0.1037, allocations: 9.219 kB / 489.3 MB, free: 13.98 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.111e-05/0.1037, allocations: 7.688 kB / 489.3 MB, free: 13.98 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.04e-05/0.1038, allocations: 23.25 kB / 489.3 MB, free: 13.96 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.977e-06/0.1038, allocations: 1.438 kB / 489.3 MB, free: 13.96 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006946/0.1045, allocations: 1.392 MB / 490.7 MB, free: 12.51 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.1045, allocations: 5.531 kB / 490.7 MB, free: 12.51 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002119/0.1047, allocations: 234.3 kB / 490.9 MB, free: 12.29 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.552e-05/0.1047, allocations: 83.22 kB / 491 MB, free: 12.2 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.087e-05/0.1048, allocations: 6.094 kB / 491 MB, free: 12.19 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.703e-05/0.1048, allocations: 1.062 kB / 491 MB, free: 12.19 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.538e-05/0.1048, allocations: 20.45 kB / 491 MB, free: 12.18 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.592e-06/0.1049, allocations: 2.219 kB / 491 MB, free: 12.18 MB / 350.1 MB Notification: Performance of sorting global known variables: time 2.974e-05/0.1049, allocations: 78.56 kB / 491.1 MB, free: 12.1 MB / 350.1 MB Notification: Performance of sort global known variables: time 6.1e-08/0.1049, allocations: 0 / 491.1 MB, free: 12.1 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002504/0.1051, allocations: 12.62 kB / 491.1 MB, free: 12.1 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (x2,v2) * 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 (6): * Single equations (assignments): 5 * 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 {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004033/0.1055, allocations: 0.7514 MB / 491.9 MB, free: 11.36 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003215/0.1059, allocations: 166 kB / 492 MB, free: 11.22 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.1059, allocations: 1.094 kB / 492 MB, free: 11.22 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001607/0.106, allocations: 147.3 kB / 492.2 MB, free: 11.09 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002343/0.1063, allocations: 9 kB / 492.2 MB, free: 11.09 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001116/0.1074, allocations: 1.393 MB / 493.6 MB, free: 9.723 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001382/0.1075, allocations: 0.6871 MB / 494.3 MB, free: 9.02 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 2.331e-05/0.1075, allocations: 4.094 kB / 494.3 MB, free: 9.02 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.671e-05/0.1076, allocations: 15.28 kB / 494.3 MB, free: 9.008 MB / 350.1 MB Notification: Performance of SimCode: time 4.51e-07/0.1076, allocations: 0 / 494.3 MB, free: 9.008 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02105/0.1286, allocations: 1.845 MB / 496.1 MB, free: 8.109 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.21/10.34, allocations: 8.609 kB / 496.1 MB, free: 8.105 MB / 350.1 MB " [Timeout remaining time 649] (rm -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullInitial.pipe ; mkfifo ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullInitial.pipe ; head -c 1048576 < ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullInitial.pipe >> ../files/ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullInitial.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Mechanical_TwoMassesEquationsFullInitial_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Mechanical_TwoMassesEquationsFullInitial.fmu > ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullInitial.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.103086931980215] Failed to read output from testmodel.py, exit status != 0: 10.678526567993686 10.486813496 10.384901446 Calling exit ...