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.001268/0.001268, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.00176/0.00176, allocations: 218 kB / 22.25 MB, free: 5.121 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.464/1.464, allocations: 230.6 MB / 256 MB, free: 7.953 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.00281/0.00281, allocations: 0.5728 MB / 313 MB, free: 2.496 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.001888/0.001888, allocations: 71.88 kB / 435.2 MB, free: 17.07 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1026/0.1045, allocations: 53.52 MB / 488.7 MB, free: 11.46 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullInitial): time 0.003624/0.1081, allocations: 1.675 MB / 490.4 MB, free: 9.77 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003738/0.1085, allocations: 99.61 kB / 490.5 MB, free: 9.672 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.198e-05/0.1086, allocations: 0 / 490.5 MB, free: 9.672 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 6.794e-05/0.1086, allocations: 15.86 kB / 490.5 MB, free: 9.656 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001334/0.1088, allocations: 35.7 kB / 490.5 MB, free: 9.621 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001436/0.1089, allocations: 23.97 kB / 490.5 MB, free: 9.598 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001755/0.1091, allocations: 107.5 kB / 490.6 MB, free: 9.492 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001386/0.1092, allocations: 27.97 kB / 490.7 MB, free: 9.465 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.714e-05/0.1093, allocations: 43.86 kB / 490.7 MB, free: 9.422 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001015/0.1094, allocations: 35.84 kB / 490.8 MB, free: 9.387 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.722e-05/0.1094, allocations: 8 kB / 490.8 MB, free: 9.379 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.511e-05/0.1095, allocations: 12 kB / 490.8 MB, free: 9.367 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.77e-05/0.1095, allocations: 19.92 kB / 490.8 MB, free: 9.348 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.679e-05/0.1096, allocations: 59.73 kB / 490.8 MB, free: 9.289 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001767/0.1097, allocations: 107.8 kB / 491 MB, free: 9.184 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.558e-06/0.1097, allocations: 0 / 491 MB, free: 9.184 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.1097, allocations: 0 / 491 MB, free: 9.184 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.163e-06/0.1098, allocations: 0 / 491 MB, free: 9.184 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.0005714/0.1103, allocations: 318.2 kB / 491.3 MB, free: 8.84 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.185e-05/0.1104, allocations: 8.031 kB / 491.3 MB, free: 8.832 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.116e-05/0.1104, allocations: 50.67 kB / 491.3 MB, free: 8.773 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.093e-05/0.1105, allocations: 12.84 kB / 491.3 MB, free: 8.762 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001872/0.1106, allocations: 126.5 kB / 491.5 MB, free: 8.613 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.471e-05/0.1107, allocations: 4.562 kB / 491.5 MB, free: 8.609 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.793e-05/0.1107, allocations: 16.33 kB / 491.5 MB, free: 8.594 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001999/0.1109, allocations: 95.59 kB / 491.6 MB, free: 8.496 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.838e-05/0.1109, allocations: 4 kB / 491.6 MB, free: 8.492 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.129e-05/0.1109, allocations: 7.938 kB / 491.6 MB, free: 8.484 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.751e-06/0.1109, allocations: 0 / 491.6 MB, free: 8.484 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001243/0.1111, allocations: 55.97 kB / 491.6 MB, free: 8.43 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006369/0.1117, allocations: 359.7 kB / 492 MB, free: 8.035 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001967/0.1119, allocations: 94.55 kB / 492.1 MB, free: 7.934 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.718e-05/0.112, allocations: 32.84 kB / 492.1 MB, free: 7.898 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.564e-05/0.112, allocations: 0 / 492.1 MB, free: 7.898 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.757e-05/0.112, allocations: 46.5 kB / 492.2 MB, free: 7.844 MB / 350.1 MB Notification: Performance of pre-optimization done (n=12): time 1.072e-06/0.112, allocations: 0 / 492.2 MB, free: 7.844 MB / 350.1 MB Notification: Performance of matching and sorting (n=16): time 0.001145/0.1132, allocations: 0.5319 MB / 492.7 MB, free: 7.254 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.905e-05/0.1132, allocations: 51.41 kB / 492.7 MB, free: 7.191 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001161/0.1133, allocations: 129.8 kB / 492.9 MB, free: 7.055 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.254e-05/0.1133, allocations: 33.7 kB / 492.9 MB, free: 7.016 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.095e-05/0.1134, allocations: 104.3 kB / 493 MB, free: 6.906 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.32e-05/0.1135, allocations: 63.47 kB / 493.1 MB, free: 6.844 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.499e-05/0.1135, allocations: 33.72 kB / 493.1 MB, free: 6.805 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001642/0.1137, allocations: 318.8 kB / 493.4 MB, free: 6.484 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.018e-05/0.1138, allocations: 35.98 kB / 493.4 MB, free: 6.449 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.252e-05/0.1139, allocations: 66.53 kB / 493.5 MB, free: 6.375 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.0007199/0.1146, allocations: 257.7 kB / 493.8 MB, free: 6.117 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.539e-06/0.1146, allocations: 7.938 kB / 493.8 MB, free: 6.109 MB / 350.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.000283/0.1149, allocations: 165.9 kB / 493.9 MB, free: 5.941 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.505e-05/0.1149, allocations: 4 kB / 493.9 MB, free: 5.938 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.502e-06/0.1149, allocations: 3.938 kB / 493.9 MB, free: 5.934 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001307/0.115, allocations: 32.84 kB / 494 MB, free: 5.898 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.567e-05/0.1151, allocations: 27.92 kB / 494 MB, free: 5.871 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001421/0.1166, allocations: 1.508 MB / 495.5 MB, free: 4.242 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.024e-05/0.1166, allocations: 0 / 495.5 MB, free: 4.242 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.162e-05/0.1166, allocations: 12.06 kB / 495.5 MB, free: 4.23 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.0001378/0.1168, allocations: 133.7 kB / 495.6 MB, free: 4.09 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.409e-05/0.1168, allocations: 11.91 kB / 495.7 MB, free: 4.078 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.243e-05/0.1168, allocations: 12.78 kB / 495.7 MB, free: 4.07 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-06/0.1168, allocations: 4 kB / 495.7 MB, free: 4.066 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.1168, allocations: 256 / 495.7 MB, free: 4.066 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.1168, allocations: 0 / 495.7 MB, free: 4.066 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.0007349/0.1176, allocations: 0.57 MB / 496.2 MB, free: 3.41 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.308e-06/0.1176, allocations: 3.984 kB / 496.3 MB, free: 3.406 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001343/0.1177, allocations: 31.92 kB / 496.3 MB, free: 3.375 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.717e-05/0.1178, allocations: 16.86 kB / 496.3 MB, free: 3.355 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.36e-05/0.1178, allocations: 3.984 kB / 496.3 MB, free: 3.352 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001073/0.1189, allocations: 1.275 MB / 497.6 MB, free: 1.961 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.168e-06/0.1189, allocations: 3.938 kB / 497.6 MB, free: 1.957 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003847/0.1192, allocations: 297.7 kB / 497.9 MB, free: 1.641 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.2e-05/0.1193, allocations: 12.09 kB / 497.9 MB, free: 1.629 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.897e-05/0.1193, allocations: 11.94 kB / 497.9 MB, free: 1.617 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.463e-05/0.1194, allocations: 4 kB / 497.9 MB, free: 1.613 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.425e-05/0.1194, allocations: 11.98 kB / 497.9 MB, free: 1.602 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.676e-06/0.1194, allocations: 7.938 kB / 497.9 MB, free: 1.594 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.061e-05/0.1195, allocations: 95.27 kB / 498 MB, free: 1.5 MB / 350.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1195, allocations: 0 / 498 MB, free: 1.5 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003137/0.1198, allocations: 32 kB / 498 MB, free: 1.469 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.0007777/0.1206, allocations: 0.8367 MB / 498.9 MB, free: 0.5898 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004621/0.121, allocations: 226.6 kB / 499.1 MB, free: 364 kB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.121, allocations: 0 / 499.1 MB, free: 364 kB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002069/0.1212, allocations: 162.6 kB / 499.3 MB, free: 188 kB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003502/0.1216, allocations: 23.97 kB / 499.3 MB, free: 164 kB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002346/0.1239, allocations: 1.862 MB / 0.4894 GB, free: 14.18 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003939/0.1243, allocations: 0.7046 MB / 0.4901 GB, free: 13.45 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.559e-05/0.1244, allocations: 13.08 kB / 0.4901 GB, free: 13.44 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.862e-05/0.1245, allocations: 31.42 kB / 0.4901 GB, free: 13.41 MB / 366.1 MB Notification: Performance of SimCode: time 4.6e-07/0.1245, allocations: 0 / 0.4901 GB, free: 13.41 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0364/0.1609, allocations: 3.15 MB / 0.4932 GB, free: 10.45 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.41/11.57, allocations: 13.66 kB / 0.4932 GB, free: 10.44 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.512886551907286] Failed to read output from testmodel.py, exit status != 0: 11.761264133034274 11.964477407 11.851464966 Calling exit ...