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.00141/0.00141, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001619/0.001619, allocations: 210.1 kB / 22.24 MB, free: 5.262 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.514/1.514, allocations: 230.6 MB / 256 MB, free: 7.812 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.003158/0.003158, allocations: 0.5739 MB / 313 MB, free: 2.328 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullSteadyState,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Mechanical_TwoMassesEquationsFullSteadyState",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002066/0.002066, allocations: 59.89 kB / 435.1 MB, free: 16.91 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09978/0.1019, allocations: 53.53 MB / 488.6 MB, free: 11.28 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullSteadyState): time 0.001834/0.1037, allocations: 0.5117 MB / 489.1 MB, free: 10.77 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001658/0.1039, allocations: 27.86 kB / 489.2 MB, free: 10.74 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.524e-05/0.1039, allocations: 0 / 489.2 MB, free: 10.74 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.218e-05/0.1039, allocations: 8 kB / 489.2 MB, free: 10.73 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 3.181e-05/0.1039, allocations: 3.938 kB / 489.2 MB, free: 10.73 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001175/0.104, allocations: 7.969 kB / 489.2 MB, free: 10.72 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 5.413e-05/0.1041, allocations: 15.98 kB / 489.2 MB, free: 10.71 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.3e-05/0.1041, allocations: 4.406 kB / 489.2 MB, free: 10.7 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.605e-05/0.1042, allocations: 15.92 kB / 489.2 MB, free: 10.69 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.688e-05/0.1042, allocations: 7.984 kB / 489.2 MB, free: 10.68 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.348e-05/0.1042, allocations: 0 / 489.2 MB, free: 10.68 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.492e-05/0.1042, allocations: 4 kB / 489.2 MB, free: 10.68 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.791e-05/0.1043, allocations: 7.922 kB / 489.2 MB, free: 10.67 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.859e-05/0.1043, allocations: 8 kB / 489.2 MB, free: 10.66 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 6.687e-05/0.1044, allocations: 28.06 kB / 489.3 MB, free: 10.63 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.1044, allocations: 0 / 489.3 MB, free: 10.63 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.903e-06/0.1044, allocations: 0 / 489.3 MB, free: 10.63 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.711e-06/0.1044, allocations: 0 / 489.3 MB, free: 10.63 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.0004288/0.1048, allocations: 258.4 kB / 489.5 MB, free: 10.35 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.336e-05/0.1048, allocations: 12.03 kB / 489.5 MB, free: 10.34 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.302e-05/0.1049, allocations: 34.73 kB / 489.6 MB, free: 10.29 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.971e-05/0.1049, allocations: 4.938 kB / 489.6 MB, free: 10.29 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001118/0.105, allocations: 106.5 kB / 489.7 MB, free: 10.16 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.625e-05/0.105, allocations: 8.375 kB / 489.7 MB, free: 10.15 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.168e-05/0.1051, allocations: 4.375 kB / 489.7 MB, free: 10.15 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001144/0.1052, allocations: 42.25 kB / 489.7 MB, free: 10.1 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.465e-05/0.1052, allocations: 11.88 kB / 489.7 MB, free: 10.09 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.161e-05/0.1052, allocations: 4 kB / 489.8 MB, free: 10.09 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/0.1052, allocations: 0 / 489.8 MB, free: 10.09 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.334e-05/0.1053, allocations: 15.92 kB / 489.8 MB, free: 10.07 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003535/0.1056, allocations: 219.9 kB / 490 MB, free: 9.812 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000123/0.1057, allocations: 54.56 kB / 490 MB, free: 9.75 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.138e-05/0.1058, allocations: 20.97 kB / 490.1 MB, free: 9.727 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.3e-05/0.1058, allocations: 0 / 490.1 MB, free: 9.727 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.533e-05/0.1058, allocations: 42.5 kB / 490.1 MB, free: 9.676 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.032e-06/0.1058, allocations: 0 / 490.1 MB, free: 9.676 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0007576/0.1066, allocations: 356.3 kB / 490.4 MB, free: 9.27 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.242e-05/0.1066, allocations: 51.41 kB / 490.5 MB, free: 9.207 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.368e-05/0.1067, allocations: 101.8 kB / 490.6 MB, free: 9.098 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.789e-05/0.1067, allocations: 29.7 kB / 490.6 MB, free: 9.062 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.231e-05/0.1068, allocations: 84.08 kB / 490.7 MB, free: 8.977 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.803e-05/0.1068, allocations: 31.73 kB / 490.7 MB, free: 8.945 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.321e-05/0.1069, allocations: 29.72 kB / 490.8 MB, free: 8.91 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001322/0.107, allocations: 314.8 kB / 491.1 MB, free: 8.594 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.41e-05/0.107, allocations: 15.98 kB / 491.1 MB, free: 8.578 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.456e-05/0.1071, allocations: 33.7 kB / 491.1 MB, free: 8.539 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002675/0.1073, allocations: 101.8 kB / 491.2 MB, free: 8.434 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-06/0.1073, allocations: 0 / 491.2 MB, free: 8.434 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001193/0.1075, allocations: 73.92 kB / 491.3 MB, free: 8.355 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.389e-05/0.1075, allocations: 7.938 kB / 491.3 MB, free: 8.348 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.009e-06/0.1075, allocations: 0 / 491.3 MB, free: 8.348 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.246e-05/0.1075, allocations: 0 / 491.3 MB, free: 8.348 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001076/0.1076, allocations: 27.97 kB / 491.3 MB, free: 8.32 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.506e-06/0.1076, allocations: 4 kB / 491.3 MB, free: 8.316 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.466e-05/0.1076, allocations: 7.938 kB / 491.3 MB, free: 8.309 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.823e-06/0.1076, allocations: 4 kB / 491.3 MB, free: 8.305 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.0001483/0.1078, allocations: 105.8 kB / 491.4 MB, free: 8.191 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.879e-05/0.1078, allocations: 15.89 kB / 491.5 MB, free: 8.176 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.174e-05/0.1079, allocations: 8.062 kB / 491.5 MB, free: 8.164 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.833e-06/0.1079, allocations: 0 / 491.5 MB, free: 8.164 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.414e-06/0.1079, allocations: 7.984 kB / 491.5 MB, free: 8.156 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.628e-06/0.1079, allocations: 3.938 kB / 491.5 MB, free: 8.152 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004641/0.1083, allocations: 337.4 kB / 491.8 MB, free: 7.762 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.462e-06/0.1083, allocations: 8 kB / 491.8 MB, free: 7.754 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.228e-05/0.1084, allocations: 11.94 kB / 491.8 MB, free: 7.742 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001116/0.1085, allocations: 20.84 kB / 491.9 MB, free: 7.719 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.618e-06/0.1085, allocations: 4 kB / 491.9 MB, free: 7.715 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001171/0.1097, allocations: 1.279 MB / 493.1 MB, free: 6.316 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.1097, allocations: 4.156 kB / 493.1 MB, free: 6.312 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000279/0.11, allocations: 223 kB / 493.4 MB, free: 6.066 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.897e-05/0.11, allocations: 11.88 kB / 493.4 MB, free: 6.055 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.337e-05/0.11, allocations: 8 kB / 493.4 MB, free: 6.047 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.74e-05/0.1101, allocations: 0 / 493.4 MB, free: 6.047 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.176e-05/0.1101, allocations: 7.984 kB / 493.4 MB, free: 6.039 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.281e-06/0.1101, allocations: 4 kB / 493.4 MB, free: 6.035 MB / 350.1 MB Notification: Performance of sorting global known variables: time 4.616e-05/0.1101, allocations: 83.38 kB / 493.5 MB, free: 5.953 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1101, allocations: 3.938 kB / 493.5 MB, free: 5.949 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002386/0.1104, allocations: 8 kB / 493.5 MB, free: 5.941 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.0006246/0.111, allocations: 0.7616 MB / 494.2 MB, free: 5.145 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001206/0.1111, allocations: 39.98 kB / 494.3 MB, free: 5.105 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.245e-06/0.1111, allocations: 3.938 kB / 494.3 MB, free: 5.102 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002523/0.1114, allocations: 142.6 kB / 494.4 MB, free: 4.949 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002232/0.1116, allocations: 4 kB / 494.4 MB, free: 4.945 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00134/0.1129, allocations: 1.36 MB / 495.8 MB, free: 3.484 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.677e-05/0.113, allocations: 67.34 kB / 495.9 MB, free: 3.398 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 2.686e-05/0.113, allocations: 4 kB / 495.9 MB, free: 3.395 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.833e-05/0.1131, allocations: 19.42 kB / 495.9 MB, free: 3.375 MB / 350.1 MB Notification: Performance of SimCode: time 4.21e-07/0.1131, allocations: 0 / 495.9 MB, free: 3.375 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03281/0.1459, allocations: 2.101 MB / 498 MB, free: 1.457 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.47/11.61, allocations: 18.28 kB / 498 MB, free: 1.441 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.186975197866559] Failed to read output from testmodel.py, exit status != 0: 11.720714313909411 11.737909056 11.630429636 Calling exit ...