Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullSteadyState.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.001853/0.001853, 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.002349/0.002349, allocations: 213 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.469/1.469, allocations: 230.6 MB / 256 MB, free: 7.781 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.002961/0.002961, allocations: 0.5785 MB / 313 MB, free: 2.316 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.TwoMassesFullSteadyState,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Mechanical_TwoMassesFullSteadyState",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullSteadyState,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Mechanical_TwoMassesFullSteadyState",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.0022/0.0022, allocations: 71.89 kB / 435.1 MB, free: 16.9 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09291/0.09511, allocations: 53.52 MB / 488.6 MB, free: 11.29 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullSteadyState): time 0.003084/0.09819, allocations: 1.608 MB / 490.2 MB, free: 9.664 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003273/0.09852, allocations: 99.67 kB / 490.3 MB, free: 9.566 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.572e-05/0.09859, allocations: 3.938 kB / 490.3 MB, free: 9.562 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 5.639e-05/0.09865, allocations: 15.86 kB / 490.4 MB, free: 9.547 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001127/0.09876, allocations: 27.72 kB / 490.4 MB, free: 9.52 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001289/0.09889, allocations: 31.95 kB / 490.4 MB, free: 9.488 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001476/0.09904, allocations: 107.5 kB / 490.5 MB, free: 9.383 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001327/0.09917, allocations: 23.98 kB / 490.5 MB, free: 9.359 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.967e-05/0.09926, allocations: 47.8 kB / 490.6 MB, free: 9.312 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.233e-05/0.09936, allocations: 39.77 kB / 490.6 MB, free: 9.273 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.226e-05/0.09938, allocations: 8 kB / 490.6 MB, free: 9.266 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.185e-05/0.0994, allocations: 8 kB / 490.6 MB, free: 9.258 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.809e-05/0.09943, allocations: 19.92 kB / 490.7 MB, free: 9.238 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.557e-05/0.09948, allocations: 35.88 kB / 490.7 MB, free: 9.203 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001936/0.09968, allocations: 119.7 kB / 490.8 MB, free: 9.086 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.09968, allocations: 4 kB / 490.8 MB, free: 9.082 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.09968, allocations: 0 / 490.8 MB, free: 9.082 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.354e-06/0.09969, allocations: 0 / 490.8 MB, free: 9.082 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.0005475/0.1002, allocations: 318.2 kB / 491.1 MB, free: 8.738 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.007e-05/0.1003, allocations: 16.02 kB / 491.1 MB, free: 8.723 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.882e-05/0.1003, allocations: 34.75 kB / 491.2 MB, free: 8.68 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.092e-05/0.1004, allocations: 16.84 kB / 491.2 MB, free: 8.664 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001841/0.1006, allocations: 130.4 kB / 491.3 MB, free: 8.512 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.556e-05/0.1006, allocations: 8.562 kB / 491.3 MB, free: 8.504 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.548e-05/0.1006, allocations: 12.33 kB / 491.3 MB, free: 8.492 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002019/0.1008, allocations: 97.78 kB / 491.4 MB, free: 8.391 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.206e-05/0.1008, allocations: 0 / 491.4 MB, free: 8.391 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.072e-05/0.1008, allocations: 0 / 491.4 MB, free: 8.391 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.324e-06/0.1008, allocations: 4 kB / 491.4 MB, free: 8.387 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001271/0.101, allocations: 63.89 kB / 491.5 MB, free: 8.324 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005786/0.1016, allocations: 331.8 kB / 491.8 MB, free: 7.957 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001896/0.1017, allocations: 102.4 kB / 491.9 MB, free: 7.848 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.875e-05/0.1018, allocations: 40.78 kB / 492 MB, free: 7.805 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.111e-05/0.1018, allocations: 4 kB / 492 MB, free: 7.801 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.335e-05/0.1019, allocations: 34.56 kB / 492 MB, free: 7.758 MB / 350.1 MB Notification: Performance of pre-optimization done (n=12): time 1.533e-06/0.1019, allocations: 0 / 492 MB, free: 7.758 MB / 350.1 MB Notification: Performance of matching and sorting (n=16): time 0.001137/0.103, allocations: 0.5271 MB / 492.5 MB, free: 7.172 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.923e-05/0.103, allocations: 55.41 kB / 492.6 MB, free: 7.105 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001128/0.1031, allocations: 126.9 kB / 492.7 MB, free: 6.973 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.058e-05/0.1032, allocations: 29.7 kB / 492.7 MB, free: 6.938 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.078e-05/0.1032, allocations: 104.2 kB / 492.8 MB, free: 6.828 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.261e-05/0.1033, allocations: 67.47 kB / 492.9 MB, free: 6.762 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.565e-05/0.1033, allocations: 29.72 kB / 492.9 MB, free: 6.727 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001411/0.1035, allocations: 322.8 kB / 493.2 MB, free: 6.402 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.256e-05/0.1036, allocations: 35.98 kB / 493.3 MB, free: 6.367 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.107e-05/0.1036, allocations: 62.56 kB / 493.3 MB, free: 6.297 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.a = $START.mass2.a ($START.mass1.a = $START.mass2.a) Notification: Performance of analyzeInitialSystem (initialization): time 0.0005801/0.1042, allocations: 222 kB / 493.6 MB, free: 6.074 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.526e-06/0.1042, allocations: 3.938 kB / 493.6 MB, free: 6.07 MB / 350.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.000228/0.1045, allocations: 145.6 kB / 493.7 MB, free: 5.922 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.441e-05/0.1045, allocations: 4 kB / 493.7 MB, free: 5.918 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.1045, allocations: 0 / 493.7 MB, free: 5.918 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.569e-05/0.1045, allocations: 4 kB / 493.7 MB, free: 5.914 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001823/0.1047, allocations: 35.97 kB / 493.8 MB, free: 5.879 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.962e-06/0.1047, allocations: 0 / 493.8 MB, free: 5.879 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.305e-05/0.1047, allocations: 8 kB / 493.8 MB, free: 5.871 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.177e-05/0.1047, allocations: 7.984 kB / 493.8 MB, free: 5.863 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.a = $START.mass2.a. 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 (19): * Single equations (assignments): 19 * 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.0001177/0.1049, allocations: 129.7 kB / 493.9 MB, free: 5.727 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.494e-05/0.1049, allocations: 15.98 kB / 493.9 MB, free: 5.711 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.876e-05/0.1049, allocations: 16.77 kB / 493.9 MB, free: 5.691 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/0.105, allocations: 4 kB / 493.9 MB, free: 5.688 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.618e-06/0.105, allocations: 0 / 493.9 MB, free: 5.688 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.135e-06/0.105, allocations: 0 / 493.9 MB, free: 5.688 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.0007021/0.1057, allocations: 452.5 kB / 494.4 MB, free: 5.188 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.1057, allocations: 3.938 kB / 494.4 MB, free: 5.184 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001341/0.1058, allocations: 36.17 kB / 494.4 MB, free: 5.148 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001057/0.1059, allocations: 24.88 kB / 494.4 MB, free: 5.121 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.798e-05/0.1059, allocations: 12 kB / 494.4 MB, free: 5.109 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0011/0.107, allocations: 1.267 MB / 495.7 MB, free: 3.727 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.107, allocations: 0 / 495.7 MB, free: 3.727 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003932/0.1074, allocations: 297.7 kB / 496 MB, free: 3.41 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.089e-05/0.1074, allocations: 16.05 kB / 496 MB, free: 3.395 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.045e-05/0.1075, allocations: 7.984 kB / 496 MB, free: 3.387 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.356e-05/0.1075, allocations: 7.938 kB / 496 MB, free: 3.379 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.287e-05/0.1076, allocations: 15.92 kB / 496.1 MB, free: 3.363 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.837e-06/0.1076, allocations: 4 kB / 496.1 MB, free: 3.359 MB / 350.1 MB Notification: Performance of sorting global known variables: time 6.853e-05/0.1077, allocations: 95.7 kB / 496.1 MB, free: 3.266 MB / 350.1 MB Notification: Performance of sort global known variables: time 6.1e-08/0.1077, allocations: 0 / 496.1 MB, free: 3.266 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002809/0.1079, allocations: 28 kB / 496.2 MB, free: 3.238 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.0007278/0.1087, allocations: 0.8475 MB / 497 MB, free: 2.355 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002209/0.1089, allocations: 87.91 kB / 497.1 MB, free: 2.27 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5.27e-06/0.1089, allocations: 4 kB / 497.1 MB, free: 2.266 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002786/0.1092, allocations: 162.6 kB / 497.3 MB, free: 2.094 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003378/0.1095, allocations: 26.53 kB / 497.3 MB, free: 2.07 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001962/0.1115, allocations: 1.802 MB / 499.1 MB, free: 164 kB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.542e-05/0.1115, allocations: 88.62 kB / 499.2 MB, free: 56 kB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.976e-05/0.1116, allocations: 17.08 kB / 499.2 MB, free: 40 kB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.957e-05/0.1117, allocations: 27.44 kB / 499.2 MB, free: 12 kB / 350.1 MB Notification: Performance of SimCode: time 5.21e-07/0.1117, allocations: 0 / 499.2 MB, free: 12 kB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03293/0.1446, allocations: 3.499 MB / 0.4909 GB, free: 12.71 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.59/11.74, allocations: 7.938 kB / 0.491 GB, free: 12.7 MB / 366.1 MB " [Timeout remaining time 648] (rm -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullSteadyState.pipe ; mkfifo ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullSteadyState.pipe ; head -c 1048576 < ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullSteadyState.pipe >> ../files/ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullSteadyState.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Mechanical_TwoMassesFullSteadyState_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=50 --tolerance=1e-06 ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Mechanical_TwoMassesFullSteadyState.fmu > ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullSteadyState.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.495878471061587] Failed to read output from testmodel.py, exit status != 0: 11.851797935087234 12.101154067 11.77170382 Calling exit ...