Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullInitial.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.001377/0.001377, allocations: 103.6 kB / 18.95 MB, free: 2.664 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: 210.8 kB / 22.24 MB, free: 5.266 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.542/1.542, allocations: 230.6 MB / 256 MB, free: 7.77 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.003024/0.003024, allocations: 0.5785 MB / 313 MB, free: 2.301 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.TwoMassesFullInitial,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Mechanical_TwoMassesFullInitial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullInitial,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Mechanical_TwoMassesFullInitial",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002085/0.002085, allocations: 59.91 kB / 435.1 MB, free: 16.9 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1032/0.1053, allocations: 53.53 MB / 488.6 MB, free: 11.28 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullInitial): time 0.0035/0.1088, allocations: 1.615 MB / 490.2 MB, free: 9.652 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.000318/0.1092, allocations: 99.62 kB / 490.3 MB, free: 9.555 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.418e-05/0.1092, allocations: 4 kB / 490.3 MB, free: 9.551 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 5.765e-05/0.1093, allocations: 11.86 kB / 490.3 MB, free: 9.539 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000113/0.1094, allocations: 27.72 kB / 490.4 MB, free: 9.512 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001483/0.1095, allocations: 31.89 kB / 490.4 MB, free: 9.48 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001529/0.1097, allocations: 99.53 kB / 490.5 MB, free: 9.383 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002974/0.11, allocations: 23.98 kB / 490.5 MB, free: 9.359 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.104e-05/0.1101, allocations: 43.86 kB / 490.6 MB, free: 9.316 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.871e-05/0.1102, allocations: 43.77 kB / 490.6 MB, free: 9.273 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.838e-05/0.1102, allocations: 12 kB / 490.6 MB, free: 9.262 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.405e-05/0.1102, allocations: 8 kB / 490.6 MB, free: 9.254 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.655e-05/0.1103, allocations: 15.98 kB / 490.6 MB, free: 9.238 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.182e-05/0.1103, allocations: 47.73 kB / 490.7 MB, free: 9.191 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003294/0.1106, allocations: 111.8 kB / 490.8 MB, free: 9.082 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.284e-06/0.1107, allocations: 4 kB / 490.8 MB, free: 9.078 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.904e-06/0.1107, allocations: 0 / 490.8 MB, free: 9.078 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.248e-05/0.1107, allocations: 0 / 490.8 MB, free: 9.078 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: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0006102/0.1113, allocations: 318.2 kB / 491.1 MB, free: 8.734 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.391e-05/0.1113, allocations: 12.03 kB / 491.1 MB, free: 8.723 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.321e-05/0.1114, allocations: 46.73 kB / 491.2 MB, free: 8.668 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.919e-05/0.1114, allocations: 12.84 kB / 491.2 MB, free: 8.656 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002105/0.1116, allocations: 126.4 kB / 491.3 MB, free: 8.508 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.636e-05/0.1117, allocations: 8.562 kB / 491.3 MB, free: 8.5 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.282e-05/0.1117, allocations: 12.33 kB / 491.3 MB, free: 8.488 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003282/0.112, allocations: 96.59 kB / 491.4 MB, free: 8.391 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.445e-05/0.112, allocations: 0 / 491.4 MB, free: 8.391 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.542e-05/0.112, allocations: 4 kB / 491.4 MB, free: 8.387 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.027e-05/0.1121, allocations: 8 kB / 491.4 MB, free: 8.379 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001201/0.1122, allocations: 51.97 kB / 491.5 MB, free: 8.328 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005777/0.1127, allocations: 343.8 kB / 491.8 MB, free: 7.949 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001903/0.1129, allocations: 94.48 kB / 491.9 MB, free: 7.848 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.749e-05/0.113, allocations: 33.08 kB / 492 MB, free: 7.812 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.662e-05/0.113, allocations: 11.92 kB / 492 MB, free: 7.801 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.924e-05/0.1131, allocations: 30.56 kB / 492 MB, free: 7.762 MB / 350.1 MB Notification: Performance of pre-optimization done (n=12): time 3.066e-06/0.1131, allocations: 3.984 kB / 492 MB, free: 7.758 MB / 350.1 MB Notification: Performance of matching and sorting (n=16): time 0.001261/0.1143, allocations: 0.5269 MB / 492.5 MB, free: 7.172 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.63e-05/0.1144, allocations: 55.41 kB / 492.6 MB, free: 7.105 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001519/0.1145, allocations: 130.8 kB / 492.7 MB, free: 6.969 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.084e-05/0.1145, allocations: 29.64 kB / 492.7 MB, free: 6.934 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.278e-05/0.1146, allocations: 108.3 kB / 492.8 MB, free: 6.82 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001593/0.1148, allocations: 55.48 kB / 492.9 MB, free: 6.766 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.719e-05/0.1148, allocations: 37.7 kB / 492.9 MB, free: 6.723 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000161/0.115, allocations: 318.8 kB / 493.2 MB, free: 6.402 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.59e-05/0.1151, allocations: 32 kB / 493.3 MB, free: 6.371 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.566e-05/0.1152, allocations: 70.48 kB / 493.3 MB, free: 6.293 MB / 350.1 MB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: mass1.v = $START.mass1.v ($START.mass2.v = $START.mass1.v) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: mass2.s = $START.mass2.s ($START.mass1.s + 0.5 * (mass1.L + mass2.L) = $START.mass2.s) Notification: Performance of analyzeInitialSystem (initialization): time 0.0007486/0.1159, allocations: 258.1 kB / 493.6 MB, free: 6.035 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.1159, allocations: 3.938 kB / 493.6 MB, free: 6.031 MB / 350.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003044/0.1162, allocations: 166.5 kB / 493.8 MB, free: 5.859 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.257e-05/0.1162, allocations: 8.031 kB / 493.8 MB, free: 5.852 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/0.1162, allocations: 4 kB / 493.8 MB, free: 5.848 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001258/0.1164, allocations: 28.83 kB / 493.8 MB, free: 5.816 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.405e-05/0.1165, allocations: 23.94 kB / 493.8 MB, free: 5.793 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001362/0.1178, allocations: 1.508 MB / 495.3 MB, free: 4.164 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.715e-05/0.1179, allocations: 0 / 495.3 MB, free: 4.164 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.234e-05/0.1179, allocations: 8 kB / 495.3 MB, free: 4.156 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: mass1.v = $START.mass1.v mass2.s = $START.mass2.s. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (16): * Single equations (assignments): 15 * 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,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001209/0.118, allocations: 130.4 kB / 495.5 MB, free: 4.02 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.827e-05/0.118, allocations: 15.89 kB / 495.5 MB, free: 4.004 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.657e-05/0.1181, allocations: 20.77 kB / 495.5 MB, free: 3.988 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-06/0.1181, allocations: 0 / 495.5 MB, free: 3.988 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.695e-06/0.1181, allocations: 0 / 495.5 MB, free: 3.988 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.1181, allocations: 0 / 495.5 MB, free: 3.988 MB / 350.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006683/0.1188, allocations: 460.8 kB / 496 MB, free: 3.477 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.029e-05/0.1188, allocations: 8.031 kB / 496 MB, free: 3.469 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001246/0.1189, allocations: 23.98 kB / 496 MB, free: 3.445 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.062e-05/0.119, allocations: 20.84 kB / 496 MB, free: 3.422 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.409e-05/0.119, allocations: 4 kB / 496 MB, free: 3.418 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001084/0.1201, allocations: 1.267 MB / 497.3 MB, free: 2.035 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/0.1201, allocations: 8.094 kB / 497.3 MB, free: 2.027 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003706/0.1204, allocations: 309.7 kB / 497.6 MB, free: 1.699 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.665e-05/0.1204, allocations: 7.953 kB / 497.6 MB, free: 1.691 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.632e-05/0.1205, allocations: 3.938 kB / 497.6 MB, free: 1.688 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.266e-05/0.1205, allocations: 8 kB / 497.6 MB, free: 1.68 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.775e-05/0.1206, allocations: 15.97 kB / 497.6 MB, free: 1.664 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.106e-05/0.1206, allocations: 8 kB / 497.6 MB, free: 1.656 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001373/0.1207, allocations: 95.2 kB / 497.7 MB, free: 1.562 MB / 350.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1207, allocations: 0 / 497.7 MB, free: 1.562 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003136/0.121, allocations: 35.94 kB / 497.8 MB, free: 1.527 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (mass2.s,mass2.v) * 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 (15): * Single equations (assignments): 14 * 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,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0007348/0.1218, allocations: 0.8406 MB / 498.6 MB, free: 0.6445 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004188/0.1222, allocations: 222.6 kB / 498.8 MB, free: 424 kB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.1222, allocations: 0 / 498.8 MB, free: 424 kB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001969/0.1224, allocations: 162 kB / 499 MB, free: 252 kB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000322/0.1227, allocations: 26.23 kB / 499 MB, free: 228 kB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002241/0.125, allocations: 1.857 MB / 0.4891 GB, free: 14.25 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.52e-05/0.125, allocations: 96.69 kB / 0.4892 GB, free: 14.14 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.929e-05/0.1251, allocations: 9.078 kB / 0.4892 GB, free: 14.13 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.937e-05/0.1252, allocations: 27.44 kB / 0.4892 GB, free: 14.1 MB / 366.1 MB Notification: Performance of SimCode: time 4.2e-07/0.1252, allocations: 0 / 0.4892 GB, free: 14.1 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03251/0.1577, allocations: 3.568 MB / 0.4927 GB, free: 10.73 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.75/11.9, allocations: 7.562 kB / 0.4927 GB, free: 10.72 MB / 366.1 MB " [Timeout remaining time 648] (rm -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullInitial.pipe ; mkfifo ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullInitial.pipe ; head -c 1048576 < ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullInitial.pipe >> ../files/ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullInitial.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Mechanical_TwoMassesFullInitial_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=50 --tolerance=1e-06 ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Mechanical_TwoMassesFullInitial.fmu > ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullInitial.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.704587047919631] Failed to read output from testmodel.py, exit status != 0: 12.019715045113117 12.242441856 12.12834128 Calling exit ...