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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001704/0.001704, allocations: 106 kB / 16.45 MB, free: 6.445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001874/0.001874, allocations: 187.7 kB / 19.4 MB, free: 3.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.38/1.38, allocations: 225.6 MB / 247.8 MB, free: 3.758 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.0.0+maint.om/package.mo): time 0.002559/0.002559, allocations: 0.5678 MB / 303.2 MB, free: 3.562 MB / 238.1 MB " [Timeout remaining time 180] Using package ModelicaTestOverdetermined with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.001889/0.001889, allocations: 67.89 kB / 421.5 MB, free: 7.641 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2531/0.255, allocations: 52.3 MB / 473.8 MB, free: 28.18 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullSteadyState): time 0.002238/0.2572, allocations: 1.661 MB / 475.4 MB, free: 27.02 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002516/0.2575, allocations: 98.89 kB / 475.5 MB, free: 26.95 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.377e-05/0.2576, allocations: 3 kB / 475.5 MB, free: 26.95 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 4.715e-05/0.2576, allocations: 15.14 kB / 475.5 MB, free: 26.94 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 9.914e-05/0.2577, allocations: 37.19 kB / 475.6 MB, free: 26.91 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001299/0.2578, allocations: 29.83 kB / 475.6 MB, free: 26.89 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001045/0.2579, allocations: 95.69 kB / 475.7 MB, free: 26.85 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001203/0.2581, allocations: 43.3 kB / 475.7 MB, free: 26.82 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.616e-05/0.2581, allocations: 37.98 kB / 475.8 MB, free: 26.81 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.391e-05/0.2582, allocations: 43.48 kB / 475.8 MB, free: 26.79 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.358e-05/0.2582, allocations: 13.5 kB / 475.8 MB, free: 26.78 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.68e-05/0.2583, allocations: 8.844 kB / 475.8 MB, free: 26.78 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 2.225e-05/0.2583, allocations: 22.53 kB / 475.9 MB, free: 26.77 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 4.334e-05/0.2583, allocations: 47.8 kB / 475.9 MB, free: 26.74 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001222/0.2584, allocations: 108.8 kB / 476 MB, free: 26.7 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.519e-06/0.2584, allocations: 2.969 kB / 476 MB, free: 26.7 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.2584, allocations: 0 / 476 MB, free: 26.7 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.45e-06/0.2585, allocations: 0 / 476 MB, free: 26.7 MB / 366.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.0004374/0.2589, allocations: 404.8 kB / 476.4 MB, free: 26.3 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.529e-05/0.2589, allocations: 8.844 kB / 476.4 MB, free: 26.3 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.994e-05/0.259, allocations: 41.23 kB / 476.5 MB, free: 26.25 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.975e-05/0.259, allocations: 14.7 kB / 476.5 MB, free: 26.25 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001385/0.2591, allocations: 189.7 kB / 476.7 MB, free: 26.04 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.043e-05/0.2591, allocations: 10.69 kB / 476.7 MB, free: 26.03 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.652e-05/0.2592, allocations: 6.156 kB / 476.7 MB, free: 26.03 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001531/0.2593, allocations: 95.2 kB / 476.8 MB, free: 25.97 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.21e-05/0.2593, allocations: 3.188 kB / 476.8 MB, free: 25.97 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.141e-05/0.2593, allocations: 4 kB / 476.8 MB, free: 25.96 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.189e-06/0.2593, allocations: 3.156 kB / 476.8 MB, free: 25.96 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.539e-05/0.2594, allocations: 58.08 kB / 476.8 MB, free: 25.95 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004467/0.2599, allocations: 390.8 kB / 477.2 MB, free: 25.61 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001455/0.26, allocations: 109.4 kB / 477.3 MB, free: 25.55 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.217e-05/0.2601, allocations: 36.59 kB / 477.4 MB, free: 25.53 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.187e-06/0.2601, allocations: 0 / 477.4 MB, free: 25.53 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.374e-05/0.2601, allocations: 30.56 kB / 477.4 MB, free: 25.49 MB / 366.1 MB Notification: Performance of pre-optimization done (n=12): time 9.12e-07/0.2601, allocations: 0 / 477.4 MB, free: 25.49 MB / 366.1 MB Notification: Performance of matching and sorting (n=16): time 0.0009013/0.261, allocations: 0.688 MB / 478.1 MB, free: 24.91 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.754e-05/0.261, allocations: 58.5 kB / 478.1 MB, free: 24.84 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.403e-05/0.2611, allocations: 120.8 kB / 478.3 MB, free: 24.73 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.132e-05/0.2611, allocations: 29.7 kB / 478.3 MB, free: 24.7 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.011e-05/0.2612, allocations: 95.11 kB / 478.4 MB, free: 24.61 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.771e-05/0.2612, allocations: 60.22 kB / 478.4 MB, free: 24.56 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.983e-05/0.2612, allocations: 34.67 kB / 478.5 MB, free: 24.53 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 4.731e-05/0.2613, allocations: 325.5 kB / 478.8 MB, free: 24.21 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.074e-05/0.2613, allocations: 34.89 kB / 478.8 MB, free: 24.2 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.19e-05/0.2614, allocations: 62.64 kB / 478.9 MB, free: 24.16 MB / 366.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.000454/0.2618, allocations: 371.5 kB / 479.3 MB, free: 23.87 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.2618, allocations: 7.875 kB / 479.3 MB, free: 23.86 MB / 366.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0001579/0.262, allocations: 139.9 kB / 479.4 MB, free: 23.79 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.254e-05/0.262, allocations: 3.125 kB / 479.4 MB, free: 23.79 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.12e-06/0.262, allocations: 3.062 kB / 479.4 MB, free: 23.79 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.43e-05/0.262, allocations: 0 / 479.4 MB, free: 23.79 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001628/0.2622, allocations: 37.41 kB / 479.4 MB, free: 23.79 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.55e-06/0.2622, allocations: 0 / 479.4 MB, free: 23.79 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.386e-05/0.2622, allocations: 4 kB / 479.4 MB, free: 23.79 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.334e-06/0.2623, allocations: 10.38 kB / 479.5 MB, free: 23.78 MB / 366.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 7.503e-05/0.2623, allocations: 139.2 kB / 479.6 MB, free: 23.64 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.003e-05/0.2624, allocations: 10.42 kB / 479.6 MB, free: 23.64 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.507e-05/0.2624, allocations: 12.84 kB / 479.6 MB, free: 23.62 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.2624, allocations: 3.344 kB / 479.6 MB, free: 23.62 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/0.2624, allocations: 0 / 479.6 MB, free: 23.62 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.507e-06/0.2624, allocations: 3.469 kB / 479.6 MB, free: 23.62 MB / 366.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.0004891/0.2629, allocations: 0.5911 MB / 480.2 MB, free: 23.08 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.2629, allocations: 0 / 480.2 MB, free: 23.08 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001142/0.263, allocations: 32.39 kB / 480.2 MB, free: 23.07 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.215e-05/0.2631, allocations: 23.78 kB / 480.3 MB, free: 23.06 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.028e-05/0.2631, allocations: 4 kB / 480.3 MB, free: 23.05 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006451/0.2638, allocations: 1.378 MB / 481.6 MB, free: 21.64 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/0.2638, allocations: 2.562 kB / 481.7 MB, free: 21.64 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002505/0.264, allocations: 303 kB / 481.9 MB, free: 21.41 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.615e-05/0.264, allocations: 91.47 kB / 482 MB, free: 21.31 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.39e-05/0.2641, allocations: 7.156 kB / 482 MB, free: 21.3 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.706e-05/0.2641, allocations: 7.281 kB / 482 MB, free: 21.3 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.813e-05/0.2642, allocations: 13.44 kB / 482.1 MB, free: 21.3 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.193e-06/0.2642, allocations: 6.812 kB / 482.1 MB, free: 21.29 MB / 366.1 MB Notification: Performance of sorting global known variables: time 3.321e-05/0.2642, allocations: 93.16 kB / 482.2 MB, free: 21.21 MB / 366.1 MB Notification: Performance of sort global known variables: time 6e-08/0.2642, allocations: 0 / 482.2 MB, free: 21.21 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002456/0.2644, allocations: 34.62 kB / 482.2 MB, free: 21.21 MB / 366.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.0004154/0.2649, allocations: 0.8366 MB / 483 MB, free: 20.44 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001908/0.265, allocations: 94.7 kB / 483.1 MB, free: 20.41 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/0.2651, allocations: 4 kB / 483.1 MB, free: 20.41 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001924/0.2652, allocations: 162.8 kB / 483.3 MB, free: 20.28 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003069/0.2655, allocations: 28.2 kB / 483.3 MB, free: 20.27 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001277/0.2668, allocations: 1.804 MB / 485.1 MB, free: 18.72 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001189/0.2669, allocations: 0.7025 MB / 485.8 MB, free: 18.03 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.267e-05/0.267, allocations: 10.14 kB / 485.8 MB, free: 18.03 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.312e-05/0.267, allocations: 31.52 kB / 485.9 MB, free: 18.01 MB / 366.1 MB Notification: Performance of SimCode: time 2.9e-07/0.267, allocations: 0 / 485.9 MB, free: 18.01 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02684/0.2939, allocations: 3.017 MB / 488.9 MB, free: 17.54 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.76/10.05, allocations: 3.938 kB / 488.9 MB, free: 17.53 MB / 366.1 MB " [Timeout remaining time 650] (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: 12.378413682803512] Failed to read output from testmodel.py, exit status != 0: 10.13691739924252 10.156854279 9.894301103 Calling exit ...