Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullSteadyState.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.001762/0.001762, allocations: 117.4 kB / 17.17 MB, free: 5.977 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.002263/0.002263, allocations: 214.3 kB / 20.13 MB, free: 3.035 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.58/1.58, allocations: 230.6 MB / 253.5 MB, free: 15.1 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.003763/0.003763, allocations: 0.5725 MB / 310.1 MB, free: 3.379 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.TwoMassesEquationsFullSteadyState,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Mechanical_TwoMassesEquationsFullSteadyState",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullSteadyState,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Mechanical_TwoMassesEquationsFullSteadyState",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001989/0.001989, allocations: 66.52 kB / 430.7 MB, free: 41.01 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09475/0.09674, allocations: 53.49 MB / 484.2 MB, free: 18.95 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullSteadyState): time 0.001543/0.09828, allocations: 0.5052 MB / 484.7 MB, free: 18.63 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001653/0.09845, allocations: 31.05 kB / 484.7 MB, free: 18.61 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.55e-05/0.09847, allocations: 3.938 kB / 484.7 MB, free: 18.6 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.217e-05/0.09849, allocations: 4 kB / 484.7 MB, free: 18.6 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 3.14e-05/0.09852, allocations: 0 / 484.7 MB, free: 18.6 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001107/0.09863, allocations: 18.14 kB / 484.7 MB, free: 18.58 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 5.575e-05/0.09868, allocations: 21.3 kB / 484.8 MB, free: 18.57 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.771e-05/0.09873, allocations: 2.312 kB / 484.8 MB, free: 18.57 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.103e-05/0.09875, allocations: 8.797 kB / 484.8 MB, free: 18.57 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.713e-05/0.09881, allocations: 14.23 kB / 484.8 MB, free: 18.55 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.444e-05/0.09882, allocations: 1.156 kB / 484.8 MB, free: 18.55 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.345e-06/0.09883, allocations: 2.344 kB / 484.8 MB, free: 18.55 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.444e-05/0.09885, allocations: 1.094 kB / 484.8 MB, free: 18.55 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.558e-05/0.09887, allocations: 23.31 kB / 484.8 MB, free: 18.54 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 5.779e-05/0.09893, allocations: 11.55 kB / 484.8 MB, free: 18.53 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.848e-06/0.09893, allocations: 1.188 kB / 484.8 MB, free: 18.53 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.382e-06/0.09894, allocations: 0 / 484.8 MB, free: 18.53 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.759e-06/0.09894, allocations: 0 / 484.8 MB, free: 18.53 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.000339/0.09928, allocations: 337.1 kB / 485.2 MB, free: 18.16 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.682e-05/0.09932, allocations: 9.281 kB / 485.2 MB, free: 18.16 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.705e-05/0.09933, allocations: 5.344 kB / 485.2 MB, free: 18.16 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 1.697e-05/0.09935, allocations: 31.97 kB / 485.2 MB, free: 18.12 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.375e-05/0.09937, allocations: 7.188 kB / 485.2 MB, free: 18.12 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.355e-05/0.09945, allocations: 169.5 kB / 485.4 MB, free: 17.91 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.098e-05/0.09946, allocations: 1.531 kB / 485.4 MB, free: 17.91 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.151e-05/0.09948, allocations: 7.656 kB / 485.4 MB, free: 17.91 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.346e-05/0.09957, allocations: 46.31 kB / 485.4 MB, free: 17.87 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.369e-05/0.09959, allocations: 5.328 kB / 485.4 MB, free: 17.86 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.025e-06/0.0996, allocations: 3.984 kB / 485.4 MB, free: 17.86 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-06/0.0996, allocations: 1.281 kB / 485.4 MB, free: 17.86 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.687e-05/0.09964, allocations: 15.05 kB / 485.5 MB, free: 17.85 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002236/0.09986, allocations: 251.9 kB / 485.7 MB, free: 17.57 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.364e-05/0.09995, allocations: 58.95 kB / 485.8 MB, free: 17.52 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.965e-05/0.09998, allocations: 21.02 kB / 485.8 MB, free: 17.5 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.355e-06/0.09999, allocations: 1.062 kB / 485.8 MB, free: 17.5 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.132e-05/0.1, allocations: 35.75 kB / 485.8 MB, free: 17.46 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.313e-06/0.1, allocations: 4 kB / 485.8 MB, free: 17.46 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005962/0.1006, allocations: 0.4946 MB / 486.3 MB, free: 16.95 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.198e-05/0.1006, allocations: 56.48 kB / 486.4 MB, free: 16.88 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.802e-05/0.1007, allocations: 97.02 kB / 486.5 MB, free: 16.78 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 8.947e-06/0.1007, allocations: 30.8 kB / 486.5 MB, free: 16.75 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.994e-05/0.1007, allocations: 85.33 kB / 486.6 MB, free: 16.66 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.605e-05/0.1007, allocations: 30.98 kB / 486.6 MB, free: 16.63 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.412e-05/0.1008, allocations: 24.34 kB / 486.6 MB, free: 16.61 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 4.278e-05/0.1008, allocations: 317.2 kB / 486.9 MB, free: 16.29 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.953e-05/0.1008, allocations: 17.12 kB / 487 MB, free: 16.29 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.897e-05/0.1009, allocations: 36.83 kB / 487 MB, free: 16.25 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002517/0.1011, allocations: 244.2 kB / 487.2 MB, free: 16.02 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.1011, allocations: 1.156 kB / 487.2 MB, free: 16.02 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001022/0.1012, allocations: 83.86 kB / 487.3 MB, free: 15.96 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.232e-05/0.1012, allocations: 5.062 kB / 487.3 MB, free: 15.96 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.009e-06/0.1012, allocations: 1.266 kB / 487.3 MB, free: 15.96 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.55e-05/0.1013, allocations: 5.391 kB / 487.3 MB, free: 15.95 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001052/0.1014, allocations: 19.78 kB / 487.3 MB, free: 15.95 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.58e-06/0.1014, allocations: 1.188 kB / 487.4 MB, free: 15.95 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.22e-05/0.1014, allocations: 5.031 kB / 487.4 MB, free: 15.95 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.811e-06/0.1014, allocations: 6.312 kB / 487.4 MB, free: 15.94 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: $DER.v1 = 0.0 $DER.x1 = 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): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001094/0.1015, allocations: 116.6 kB / 487.5 MB, free: 15.82 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.563e-05/0.1015, allocations: 2.406 kB / 487.5 MB, free: 15.82 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.037e-05/0.1016, allocations: 13.09 kB / 487.5 MB, free: 15.8 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.285e-06/0.1016, allocations: 1.094 kB / 487.5 MB, free: 15.8 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.75e-06/0.1016, allocations: 1.219 kB / 487.5 MB, free: 15.8 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.408e-06/0.1016, allocations: 3.938 kB / 487.5 MB, free: 15.8 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003495/0.1019, allocations: 375.9 kB / 487.9 MB, free: 15.41 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.385e-06/0.1019, allocations: 1.094 kB / 487.9 MB, free: 15.41 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.989e-05/0.102, allocations: 14.64 kB / 487.9 MB, free: 15.4 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000103/0.1021, allocations: 24.73 kB / 487.9 MB, free: 15.38 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.137e-06/0.1021, allocations: 5 kB / 487.9 MB, free: 15.38 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007263/0.1028, allocations: 1.388 MB / 489.3 MB, free: 13.93 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.075e-06/0.1028, allocations: 5.344 kB / 489.3 MB, free: 13.93 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001898/0.103, allocations: 218 kB / 489.5 MB, free: 13.73 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.95e-05/0.103, allocations: 91.3 kB / 489.6 MB, free: 13.62 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.026e-05/0.103, allocations: 2.281 kB / 489.6 MB, free: 13.62 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.169e-05/0.1031, allocations: 5.312 kB / 489.6 MB, free: 13.62 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.617e-05/0.1031, allocations: 8.438 kB / 489.6 MB, free: 13.62 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.094e-06/0.1031, allocations: 6.766 kB / 489.6 MB, free: 13.61 MB / 350.1 MB Notification: Performance of sorting global known variables: time 2.262e-05/0.1032, allocations: 77.69 kB / 489.7 MB, free: 13.54 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1032, allocations: 0 / 489.7 MB, free: 13.54 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002439/0.1034, allocations: 11.94 kB / 489.7 MB, free: 13.54 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.0003696/0.1038, allocations: 0.7631 MB / 490.5 MB, free: 12.79 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001264/0.1039, allocations: 50.27 kB / 490.5 MB, free: 12.77 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.1039, allocations: 0 / 490.5 MB, free: 12.77 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002222/0.1041, allocations: 143.6 kB / 490.7 MB, free: 12.64 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002302/0.1044, allocations: 9.688 kB / 490.7 MB, free: 12.63 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008348/0.1052, allocations: 1.35 MB / 492 MB, free: 11.3 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001111/0.1053, allocations: 0.6872 MB / 492.7 MB, free: 10.6 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 2.19e-05/0.1053, allocations: 9.062 kB / 492.7 MB, free: 10.6 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.389e-05/0.1054, allocations: 14.53 kB / 492.7 MB, free: 10.59 MB / 350.1 MB Notification: Performance of SimCode: time 3.01e-07/0.1054, allocations: 0 / 492.7 MB, free: 10.59 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02119/0.1265, allocations: 1.733 MB / 494.5 MB, free: 9.754 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.05/10.18, allocations: 13.97 kB / 494.5 MB, free: 9.746 MB / 350.1 MB " [Timeout remaining time 649] (rm -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullSteadyState.pipe ; mkfifo ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullSteadyState.pipe ; head -c 1048576 < ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullSteadyState.pipe >> ../files/ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullSteadyState.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Mechanical_TwoMassesEquationsFullSteadyState_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Mechanical_TwoMassesEquationsFullSteadyState.fmu > ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullSteadyState.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.04146880400367] Failed to read output from testmodel.py, exit status != 0: 10.515448883990757 10.337267341 10.235129489 Calling exit ...