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.001301/0.001301, allocations: 101.5 kB / 19.73 MB, free: 2.23 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.001541/0.001541, allocations: 217.9 kB / 23.04 MB, free: 5.074 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.499/1.499, allocations: 230.6 MB / 256.8 MB, free: 8.004 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.002868/0.002868, allocations: 0.5799 MB / 313.8 MB, free: 2.523 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.002361/0.002361, allocations: 59.91 kB / 436 MB, free: 17.1 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.103/0.1053, allocations: 53.52 MB / 489.5 MB, free: 11.48 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullSteadyState): time 0.001738/0.1071, allocations: 0.5195 MB / 490 MB, free: 10.96 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001702/0.1072, allocations: 32.3 kB / 490 MB, free: 10.93 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.78e-05/0.1073, allocations: 0 / 490 MB, free: 10.93 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.536e-05/0.1073, allocations: 3.938 kB / 490 MB, free: 10.93 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 2.801e-05/0.1073, allocations: 0 / 490 MB, free: 10.93 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001296/0.1074, allocations: 11.98 kB / 490 MB, free: 10.92 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 8.647e-05/0.1075, allocations: 19.92 kB / 490.1 MB, free: 10.9 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.384e-05/0.1076, allocations: 7.984 kB / 490.1 MB, free: 10.89 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.137e-05/0.1076, allocations: 7.938 kB / 490.1 MB, free: 10.88 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.487e-05/0.1077, allocations: 15.92 kB / 490.1 MB, free: 10.87 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.395e-05/0.1077, allocations: 4 kB / 490.1 MB, free: 10.86 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.456e-06/0.1077, allocations: 0 / 490.1 MB, free: 10.86 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.841e-05/0.1077, allocations: 4 kB / 490.1 MB, free: 10.86 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.907e-05/0.1077, allocations: 15.91 kB / 490.1 MB, free: 10.84 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 6.901e-05/0.1078, allocations: 16.14 kB / 490.1 MB, free: 10.83 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.93e-06/0.1078, allocations: 0 / 490.1 MB, free: 10.83 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.1078, allocations: 4 kB / 490.1 MB, free: 10.82 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.1e-06/0.1078, allocations: 0 / 490.1 MB, free: 10.82 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.0004164/0.1082, allocations: 262.4 kB / 490.4 MB, free: 10.54 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.251e-05/0.1083, allocations: 8.031 kB / 490.4 MB, free: 10.53 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.723e-05/0.1083, allocations: 192 / 490.4 MB, free: 10.53 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.875e-05/0.1083, allocations: 34.75 kB / 490.4 MB, free: 10.48 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.302e-05/0.1084, allocations: 0.9375 kB / 490.4 MB, free: 10.48 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001099/0.1085, allocations: 118.5 kB / 490.6 MB, free: 10.34 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.161e-05/0.1085, allocations: 4.375 kB / 490.6 MB, free: 10.34 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.415e-05/0.1085, allocations: 4.375 kB / 490.6 MB, free: 10.34 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000117/0.1086, allocations: 46 kB / 490.6 MB, free: 10.29 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.188e-05/0.1086, allocations: 4 kB / 490.6 MB, free: 10.28 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.728e-06/0.1086, allocations: 4 kB / 490.6 MB, free: 10.28 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.841e-06/0.1086, allocations: 4 kB / 490.6 MB, free: 10.27 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.325e-05/0.1087, allocations: 11.98 kB / 490.6 MB, free: 10.26 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002968/0.109, allocations: 216 kB / 490.8 MB, free: 10.01 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001086/0.1091, allocations: 58.44 kB / 490.9 MB, free: 9.941 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.633e-05/0.1091, allocations: 28.91 kB / 490.9 MB, free: 9.91 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.568e-06/0.1091, allocations: 4 kB / 490.9 MB, free: 9.906 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.79e-05/0.1092, allocations: 34.56 kB / 491 MB, free: 9.863 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 9.72e-07/0.1092, allocations: 0 / 491 MB, free: 9.863 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006873/0.1099, allocations: 355.9 kB / 491.3 MB, free: 9.457 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.02e-05/0.1099, allocations: 59.41 kB / 491.4 MB, free: 9.387 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.842e-05/0.11, allocations: 105.8 kB / 491.5 MB, free: 9.273 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.012e-05/0.11, allocations: 25.7 kB / 491.5 MB, free: 9.242 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.202e-05/0.11, allocations: 80.14 kB / 491.6 MB, free: 9.16 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.409e-05/0.1101, allocations: 31.73 kB / 491.6 MB, free: 9.129 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.205e-05/0.1101, allocations: 25.72 kB / 491.6 MB, free: 9.098 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001509/0.1103, allocations: 314.8 kB / 491.9 MB, free: 8.781 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.498e-05/0.1103, allocations: 15.98 kB / 492 MB, free: 8.766 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.159e-05/0.1104, allocations: 37.64 kB / 492 MB, free: 8.723 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002631/0.1106, allocations: 97.86 kB / 492.1 MB, free: 8.621 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.32e-07/0.1106, allocations: 0 / 492.1 MB, free: 8.621 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001196/0.1108, allocations: 73.62 kB / 492.2 MB, free: 8.543 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.692e-05/0.1108, allocations: 8 kB / 492.2 MB, free: 8.535 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.1108, allocations: 0 / 492.2 MB, free: 8.535 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.505e-05/0.1108, allocations: 4 kB / 492.2 MB, free: 8.531 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001114/0.1109, allocations: 20.86 kB / 492.2 MB, free: 8.512 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.98e-06/0.1109, allocations: 0 / 492.2 MB, free: 8.512 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.58e-05/0.1109, allocations: 7.938 kB / 492.2 MB, free: 8.504 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.789e-06/0.1109, allocations: 4 kB / 492.2 MB, free: 8.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: $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.000171/0.1111, allocations: 117.8 kB / 492.3 MB, free: 8.375 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.623e-05/0.1111, allocations: 3.953 kB / 492.3 MB, free: 8.371 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.02e-05/0.1112, allocations: 16.05 kB / 492.3 MB, free: 8.352 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.833e-06/0.1112, allocations: 4 kB / 492.3 MB, free: 8.348 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.274e-06/0.1112, allocations: 4 kB / 492.3 MB, free: 8.344 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.963e-06/0.1112, allocations: 3.938 kB / 492.4 MB, free: 8.34 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004664/0.1117, allocations: 340.9 kB / 492.7 MB, free: 7.945 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.1117, allocations: 0 / 492.7 MB, free: 7.945 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.125e-05/0.1117, allocations: 8 kB / 492.7 MB, free: 7.938 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001155/0.1118, allocations: 28.94 kB / 492.7 MB, free: 7.906 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.965e-06/0.1118, allocations: 0 / 492.7 MB, free: 7.906 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001227/0.1131, allocations: 1.287 MB / 494 MB, free: 6.5 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.1131, allocations: 4.031 kB / 494 MB, free: 6.496 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002646/0.1133, allocations: 226.8 kB / 494.2 MB, free: 6.246 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.177e-05/0.1133, allocations: 12.02 kB / 494.2 MB, free: 6.234 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.184e-05/0.1134, allocations: 4.031 kB / 494.2 MB, free: 6.23 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.628e-05/0.1134, allocations: 0 / 494.2 MB, free: 6.23 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.952e-05/0.1134, allocations: 15.92 kB / 494.3 MB, free: 6.215 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.224e-06/0.1134, allocations: 4 kB / 494.3 MB, free: 6.211 MB / 350.1 MB Notification: Performance of sorting global known variables: time 4.388e-05/0.1135, allocations: 75.28 kB / 494.3 MB, free: 6.137 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1135, allocations: 0 / 494.3 MB, free: 6.137 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002421/0.1137, allocations: 12 kB / 494.4 MB, free: 6.125 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.0006048/0.1143, allocations: 0.7514 MB / 495.1 MB, free: 5.336 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001388/0.1145, allocations: 52.05 kB / 495.2 MB, free: 5.285 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.1145, allocations: 0 / 495.2 MB, free: 5.285 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000253/0.1147, allocations: 142.8 kB / 495.3 MB, free: 5.133 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002712/0.115, allocations: 11.98 kB / 495.3 MB, free: 5.121 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001261/0.1163, allocations: 1.365 MB / 496.7 MB, free: 3.656 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003242/0.1166, allocations: 0.6884 MB / 497.4 MB, free: 2.941 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 2.56e-05/0.1166, allocations: 4 kB / 497.4 MB, free: 2.938 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.953e-05/0.1166, allocations: 11.42 kB / 497.4 MB, free: 2.926 MB / 350.1 MB Notification: Performance of SimCode: time 7.51e-07/0.1167, allocations: 0 / 497.4 MB, free: 2.926 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02383/0.1405, allocations: 1.762 MB / 499.1 MB, free: 1.355 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.64/11.78, allocations: 11.92 kB / 499.1 MB, free: 1.344 MB / 350.1 MB " [Timeout remaining time 648] (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: 14.412133342004381] Failed to read output from testmodel.py, exit status != 0: 11.945129626023117 11.974857664 11.861583992 Calling exit ...