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.001085/0.001085, allocations: 80.44 kB / 19.17 MB, free: 0.7461 MB / 13.93 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.001244/0.001244, allocations: 165.9 kB / 22.45 MB, free: 2.113 MB / 18.57 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 0.9176/0.9176, allocations: 177.1 MB / 202.8 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] 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.002817/0.002817, allocations: 427.6 kB / 259.6 MB, free: 12.84 MB / 250.7 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 1.623e-06/1.623e-06, allocations: 0 / 381.8 MB, free: 120 kB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.071e-05/2.233e-05, allocations: 2.281 kB / 381.8 MB, free: 116 kB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullInitial): time 0.00212/0.002142, allocations: 1.603 MB / 383.4 MB, free: 14.5 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002646/0.002407, allocations: 95.69 kB / 383.5 MB, free: 14.4 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.095e-05/0.002458, allocations: 0 / 383.5 MB, free: 14.4 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 4.943e-05/0.002507, allocations: 19.86 kB / 383.5 MB, free: 14.38 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 8.512e-05/0.002592, allocations: 39.58 kB / 383.5 MB, free: 14.34 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001152/0.002708, allocations: 23.97 kB / 383.6 MB, free: 14.32 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.000103/0.002811, allocations: 111.4 kB / 383.7 MB, free: 14.21 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001125/0.002923, allocations: 19.98 kB / 383.7 MB, free: 14.19 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.09e-05/0.003004, allocations: 67.88 kB / 383.8 MB, free: 14.12 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.347e-05/0.003077, allocations: 35.89 kB / 383.8 MB, free: 14.09 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.291e-05/0.0031, allocations: 8 kB / 383.8 MB, free: 14.08 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.231e-05/0.003113, allocations: 8 kB / 383.8 MB, free: 14.07 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 2.479e-05/0.003137, allocations: 19.92 kB / 383.8 MB, free: 14.05 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.369e-05/0.003171, allocations: 35.91 kB / 383.9 MB, free: 14.02 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001243/0.003295, allocations: 103.7 kB / 384 MB, free: 13.92 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.003299, allocations: 0 / 384 MB, free: 13.92 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.363e-06/0.0033, allocations: 4 kB / 384 MB, free: 13.91 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.837e-06/0.003304, allocations: 0 / 384 MB, free: 13.91 MB / 362.7 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.0003857/0.003689, allocations: 336.8 kB / 384.3 MB, free: 13.55 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.8e-05/0.003727, allocations: 8.031 kB / 384.3 MB, free: 13.55 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.512e-05/0.003763, allocations: 46.73 kB / 384.3 MB, free: 13.49 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.657e-05/0.003789, allocations: 8.891 kB / 384.4 MB, free: 13.48 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001305/0.00392, allocations: 129.7 kB / 384.5 MB, free: 13.33 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.041e-05/0.00393, allocations: 8.562 kB / 384.5 MB, free: 13.32 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.236e-05/0.003952, allocations: 8.375 kB / 384.5 MB, free: 13.32 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001469/0.004099, allocations: 98.47 kB / 384.6 MB, free: 13.21 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.119e-05/0.00411, allocations: 0 / 384.6 MB, free: 13.21 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.648e-06/0.00412, allocations: 4 kB / 384.6 MB, free: 13.21 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.641e-06/0.004126, allocations: 4 kB / 384.6 MB, free: 13.21 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.528e-05/0.004211, allocations: 55.97 kB / 384.7 MB, free: 13.15 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003957/0.004607, allocations: 339.8 kB / 385 MB, free: 12.78 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001345/0.004741, allocations: 102.4 kB / 385.1 MB, free: 12.67 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.29e-05/0.004784, allocations: 28.86 kB / 385.1 MB, free: 12.64 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.142e-05/0.004796, allocations: 4 kB / 385.1 MB, free: 12.63 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.012e-05/0.004816, allocations: 34.55 kB / 385.2 MB, free: 12.59 MB / 362.7 MB Notification: Performance of pre-optimization done (n=12): time 1.032e-06/0.004817, allocations: 0 / 385.2 MB, free: 12.59 MB / 362.7 MB Notification: Performance of matching and sorting (n=16): time 0.0007786/0.005595, allocations: 0.5499 MB / 385.7 MB, free: 11.98 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.916e-05/0.005624, allocations: 51.41 kB / 385.8 MB, free: 11.92 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001072/0.005732, allocations: 126.8 kB / 385.9 MB, free: 11.79 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.079e-05/0.005742, allocations: 25.7 kB / 385.9 MB, free: 11.76 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.94e-05/0.005792, allocations: 108.3 kB / 386 MB, free: 11.64 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.966e-05/0.005821, allocations: 63.47 kB / 386.1 MB, free: 11.58 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.699e-05/0.005858, allocations: 33.72 kB / 386.1 MB, free: 11.54 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 7.51e-05/0.005934, allocations: 318.8 kB / 386.4 MB, free: 11.22 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.057e-05/0.005974, allocations: 35.98 kB / 386.4 MB, free: 11.19 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.917e-05/0.006033, allocations: 65.55 kB / 386.5 MB, free: 11.12 MB / 362.7 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.0004638/0.006497, allocations: 255.3 kB / 386.8 MB, free: 10.86 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.242e-06/0.006498, allocations: 0 / 386.8 MB, free: 10.86 MB / 362.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002439/0.006742, allocations: 162.3 kB / 386.9 MB, free: 10.7 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.312e-05/0.006755, allocations: 8 kB / 386.9 MB, free: 10.69 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.15e-06/0.006761, allocations: 0 / 386.9 MB, free: 10.69 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.541e-05/0.006856, allocations: 28.78 kB / 387 MB, free: 10.66 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.241e-05/0.006908, allocations: 27.98 kB / 387 MB, free: 10.63 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008511/0.007759, allocations: 1.512 MB / 388.5 MB, free: 8.996 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.288e-05/0.007802, allocations: 0 / 388.5 MB, free: 8.996 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.366e-06/0.007811, allocations: 4.094 kB / 388.5 MB, free: 8.992 MB / 362.7 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 9.285e-05/0.007904, allocations: 141.7 kB / 388.6 MB, free: 8.844 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.871e-05/0.007922, allocations: 7.953 kB / 388.6 MB, free: 8.836 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.278e-05/0.007945, allocations: 16.78 kB / 388.7 MB, free: 8.824 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.863e-06/0.007947, allocations: 0 / 388.7 MB, free: 8.824 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.00795, allocations: 0 / 388.7 MB, free: 8.824 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.574e-06/0.007958, allocations: 11.92 kB / 388.7 MB, free: 8.812 MB / 362.7 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.0004002/0.008358, allocations: 452.8 kB / 389.1 MB, free: 8.309 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.00836, allocations: 4 kB / 389.1 MB, free: 8.305 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.703e-05/0.008437, allocations: 31.92 kB / 389.2 MB, free: 8.273 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.266e-05/0.00848, allocations: 12.86 kB / 389.2 MB, free: 8.258 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.01e-05/0.00849, allocations: 11.94 kB / 389.2 MB, free: 8.246 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005192/0.009009, allocations: 1.272 MB / 390.4 MB, free: 6.859 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.00901, allocations: 0 / 390.4 MB, free: 6.859 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002222/0.009233, allocations: 313.3 kB / 390.8 MB, free: 6.527 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.189e-05/0.009244, allocations: 15.91 kB / 390.8 MB, free: 6.512 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.845e-06/0.009252, allocations: 0 / 390.8 MB, free: 6.512 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.418e-05/0.009296, allocations: 8 kB / 390.8 MB, free: 6.504 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.157e-05/0.009318, allocations: 15.91 kB / 390.8 MB, free: 6.488 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.413e-06/0.009324, allocations: 8 kB / 390.8 MB, free: 6.48 MB / 362.7 MB Notification: Performance of sorting global known variables: time 3.667e-05/0.009361, allocations: 95.7 kB / 390.9 MB, free: 6.387 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.009361, allocations: 0 / 390.9 MB, free: 6.387 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002035/0.009565, allocations: 28.12 kB / 390.9 MB, free: 6.359 MB / 362.7 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.0004201/0.009985, allocations: 0.8289 MB / 391.7 MB, free: 5.488 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002989/0.01028, allocations: 227.7 kB / 392 MB, free: 5.254 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.01029, allocations: 0 / 392 MB, free: 5.254 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001039/0.01039, allocations: 166.8 kB / 392.1 MB, free: 5.078 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002483/0.01064, allocations: 29.33 kB / 392.2 MB, free: 5.051 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001328/0.01197, allocations: 1.79 MB / 394 MB, free: 3.145 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.017e-05/0.01203, allocations: 92.81 kB / 394 MB, free: 3.035 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.713e-05/0.01206, allocations: 13.14 kB / 394.1 MB, free: 3.02 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.777e-05/0.01211, allocations: 28.48 kB / 394.1 MB, free: 2.992 MB / 362.7 MB Notification: Performance of SimCode: time 5.11e-07/0.01211, allocations: 0 / 394.1 MB, free: 2.992 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01723/0.02934, allocations: 3.737 MB / 397.8 MB, free: 15.47 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.285/7.315, allocations: 11.86 kB / 397.8 MB, free: 15.46 MB / 378.7 MB " [Timeout remaining time 653] (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: 9.064872302114964] Failed to read output from testmodel.py, exit status != 0: 7.3994806027039886 7.409081384 7.40379162 Calling exit ...