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.001332/0.001332, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001463/0.001463, allocations: 213.1 kB / 22.25 MB, free: 4.855 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.516/1.516, allocations: 230.6 MB / 256 MB, free: 7.789 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.002872/0.002872, allocations: 0.5681 MB / 313 MB, free: 2.43 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullInitial,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Mechanical_TwoMassesEquationsFullInitial",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002068/0.002068, allocations: 63.91 kB / 435.1 MB, free: 16.8 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1054/0.1075, allocations: 53.52 MB / 488.6 MB, free: 11.18 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullInitial): time 0.001745/0.1092, allocations: 0.5226 MB / 489.1 MB, free: 10.66 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001806/0.1094, allocations: 23.91 kB / 489.2 MB, free: 10.64 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.058e-05/0.1095, allocations: 3.938 kB / 489.2 MB, free: 10.64 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.332e-05/0.1095, allocations: 0 / 489.2 MB, free: 10.64 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 3.543e-05/0.1095, allocations: 3.938 kB / 489.2 MB, free: 10.63 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001316/0.1096, allocations: 11.98 kB / 489.2 MB, free: 10.62 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 5.687e-05/0.1097, allocations: 15.98 kB / 489.2 MB, free: 10.61 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.945e-05/0.1097, allocations: 4.391 kB / 489.2 MB, free: 10.6 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.202e-05/0.1098, allocations: 4 kB / 489.2 MB, free: 10.6 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.082e-05/0.1098, allocations: 15.92 kB / 489.2 MB, free: 10.58 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.421e-05/0.1098, allocations: 3.938 kB / 489.2 MB, free: 10.58 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.789e-06/0.1099, allocations: 4 kB / 489.2 MB, free: 10.57 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.055e-05/0.1099, allocations: 7.938 kB / 489.2 MB, free: 10.57 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.696e-05/0.1099, allocations: 7.984 kB / 489.2 MB, free: 10.56 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 7.197e-05/0.11, allocations: 24.12 kB / 489.3 MB, free: 10.54 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.477e-06/0.11, allocations: 0 / 489.3 MB, free: 10.54 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.11, allocations: 0 / 489.3 MB, free: 10.54 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.994e-06/0.11, allocations: 0 / 489.3 MB, free: 10.54 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.000416/0.1104, allocations: 254.4 kB / 489.5 MB, free: 10.25 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.058e-05/0.1104, allocations: 16.03 kB / 489.5 MB, free: 10.24 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.131e-05/0.1105, allocations: 30.75 kB / 489.6 MB, free: 10.2 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.475e-05/0.1105, allocations: 4.938 kB / 489.6 MB, free: 10.2 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001179/0.1106, allocations: 114.5 kB / 489.7 MB, free: 10.06 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.33e-05/0.1106, allocations: 4.375 kB / 489.7 MB, free: 10.05 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.787e-05/0.1107, allocations: 384 / 489.7 MB, free: 10.05 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001059/0.1108, allocations: 46.25 kB / 489.7 MB, free: 10 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.19e-05/0.1108, allocations: 7.938 kB / 489.7 MB, free: 9.996 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.882e-06/0.1108, allocations: 3.938 kB / 489.7 MB, free: 9.992 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.418e-06/0.1108, allocations: 0 / 489.7 MB, free: 9.992 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.3e-05/0.1108, allocations: 19.92 kB / 489.8 MB, free: 9.973 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002967/0.1111, allocations: 224 kB / 490 MB, free: 9.711 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000113/0.1112, allocations: 50.5 kB / 490 MB, free: 9.652 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.485e-05/0.1113, allocations: 16.98 kB / 490 MB, free: 9.633 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.004e-05/0.1113, allocations: 3.938 kB / 490.1 MB, free: 9.629 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.194e-05/0.1113, allocations: 34.56 kB / 490.1 MB, free: 9.586 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.032e-06/0.1113, allocations: 0 / 490.1 MB, free: 9.586 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006907/0.112, allocations: 364.2 kB / 490.4 MB, free: 9.172 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.736e-05/0.112, allocations: 51.41 kB / 490.5 MB, free: 9.109 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.153e-05/0.1121, allocations: 101.9 kB / 490.6 MB, free: 9 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.865e-05/0.1121, allocations: 29.7 kB / 490.6 MB, free: 8.965 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.278e-05/0.1122, allocations: 84.14 kB / 490.7 MB, free: 8.879 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.63e-05/0.1122, allocations: 31.73 kB / 490.7 MB, free: 8.848 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.899e-05/0.1123, allocations: 21.72 kB / 490.8 MB, free: 8.82 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001844/0.1124, allocations: 322.8 kB / 491.1 MB, free: 8.496 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.082e-05/0.1125, allocations: 12.25 kB / 491.1 MB, free: 8.484 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.384e-05/0.1125, allocations: 29.7 kB / 491.1 MB, free: 8.449 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002565/0.1128, allocations: 101.6 kB / 491.2 MB, free: 8.344 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.22e-07/0.1128, allocations: 0 / 491.2 MB, free: 8.344 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001683/0.1129, allocations: 98.47 kB / 491.3 MB, free: 8.238 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.496e-05/0.113, allocations: 4 kB / 491.3 MB, free: 8.234 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.057e-06/0.113, allocations: 0 / 491.3 MB, free: 8.234 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001281/0.1131, allocations: 24.78 kB / 491.3 MB, free: 8.207 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.502e-05/0.1131, allocations: 8 kB / 491.3 MB, free: 8.199 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001187/0.1143, allocations: 1.284 MB / 492.6 MB, free: 6.797 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.362e-05/0.1144, allocations: 4.031 kB / 492.6 MB, free: 6.793 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.649e-06/0.1144, allocations: 0 / 492.6 MB, free: 6.793 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.0001701/0.1145, allocations: 125.8 kB / 492.8 MB, free: 6.66 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.509e-05/0.1146, allocations: 3.953 kB / 492.8 MB, free: 6.656 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.576e-05/0.1146, allocations: 12.06 kB / 492.8 MB, free: 6.641 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.323e-06/0.1146, allocations: 0 / 492.8 MB, free: 6.641 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.325e-06/0.1146, allocations: 4.188 kB / 492.8 MB, free: 6.637 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/0.1146, allocations: 0 / 492.8 MB, free: 6.637 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004605/0.1151, allocations: 344.9 kB / 493.1 MB, free: 6.238 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.834e-06/0.1151, allocations: 4.094 kB / 493.1 MB, free: 6.234 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.228e-05/0.1151, allocations: 11.94 kB / 493.1 MB, free: 6.223 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.97e-05/0.1152, allocations: 24.84 kB / 493.1 MB, free: 6.195 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.923e-06/0.1152, allocations: 0 / 493.1 MB, free: 6.195 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001081/0.1163, allocations: 1.283 MB / 494.4 MB, free: 4.801 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.1163, allocations: 144 / 494.4 MB, free: 4.801 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000261/0.1165, allocations: 226.8 kB / 494.7 MB, free: 4.551 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.05e-05/0.1165, allocations: 8.141 kB / 494.7 MB, free: 4.543 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.065e-05/0.1165, allocations: 8.031 kB / 494.7 MB, free: 4.535 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.108e-05/0.1166, allocations: 11.94 kB / 494.7 MB, free: 4.523 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.188e-05/0.1166, allocations: 7.984 kB / 494.7 MB, free: 4.516 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.867e-06/0.1166, allocations: 0 / 494.7 MB, free: 4.516 MB / 350.1 MB Notification: Performance of sorting global known variables: time 5.138e-05/0.1167, allocations: 83.22 kB / 494.8 MB, free: 4.434 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1167, allocations: 0 / 494.8 MB, free: 4.434 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002438/0.1169, allocations: 12 kB / 494.8 MB, free: 4.422 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.0006192/0.1175, allocations: 0.7623 MB / 495.5 MB, free: 3.625 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003231/0.1179, allocations: 166.6 kB / 495.7 MB, free: 3.449 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.1179, allocations: 0 / 495.7 MB, free: 3.449 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001926/0.1181, allocations: 138.7 kB / 495.8 MB, free: 3.301 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002233/0.1183, allocations: 4 kB / 495.8 MB, free: 3.297 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001488/0.1198, allocations: 1.412 MB / 497.3 MB, free: 1.773 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.055e-05/0.1198, allocations: 75.52 kB / 497.3 MB, free: 1.68 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 1.713e-05/0.1199, allocations: 0 / 497.3 MB, free: 1.68 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.628e-05/0.1199, allocations: 11.44 kB / 497.3 MB, free: 1.668 MB / 350.1 MB Notification: Performance of SimCode: time 3.1e-07/0.1199, allocations: 0 / 497.3 MB, free: 1.668 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03676/0.1567, allocations: 2.231 MB / 499.6 MB, free: 15.62 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.44/11.6, allocations: 10.91 kB / 499.6 MB, free: 15.62 MB / 366.1 MB " [Timeout remaining time 648] (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: 14.215358627960086] Failed to read output from testmodel.py, exit status != 0: 11.706200055778027 11.723207868 11.609957096 Calling exit ...