Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullSteadyState.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.001324/0.001324, allocations: 104.3 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.001341/0.001341, 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.379/1.379, allocations: 225.6 MB / 247.8 MB, free: 3.754 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.002684/0.002684, allocations: 0.5694 MB / 303.2 MB, free: 3.551 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.TwoMassesEquationsFullSteadyState,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Mechanical_TwoMassesEquationsFullSteadyState",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullSteadyState,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Mechanical_TwoMassesEquationsFullSteadyState",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001883/0.001883, allocations: 79.8 kB / 421.5 MB, free: 7.637 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2399/0.2417, allocations: 52.29 MB / 473.8 MB, free: 28.17 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullSteadyState): time 0.001437/0.2432, allocations: 0.5128 MB / 474.3 MB, free: 27.87 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001405/0.2433, allocations: 33.91 kB / 474.3 MB, free: 27.85 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.529e-05/0.2433, allocations: 0 / 474.3 MB, free: 27.85 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 1.735e-05/0.2434, allocations: 7.938 kB / 474.3 MB, free: 27.84 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 2.536e-05/0.2434, allocations: 0 / 474.3 MB, free: 27.84 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001119/0.2435, allocations: 7.359 kB / 474.3 MB, free: 27.84 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 5.416e-05/0.2436, allocations: 21.11 kB / 474.4 MB, free: 27.83 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.696e-05/0.2436, allocations: 3.125 kB / 474.4 MB, free: 27.83 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.81e-05/0.2436, allocations: 10.97 kB / 474.4 MB, free: 27.82 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.512e-05/0.2437, allocations: 10.36 kB / 474.4 MB, free: 27.82 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.552e-05/0.2437, allocations: 2.875 kB / 474.4 MB, free: 27.82 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.444e-06/0.2437, allocations: 3.938 kB / 474.4 MB, free: 27.81 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 1.499e-05/0.2437, allocations: 11.23 kB / 474.4 MB, free: 27.8 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 2.294e-05/0.2437, allocations: 14.16 kB / 474.4 MB, free: 27.8 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 5.282e-05/0.2438, allocations: 10.67 kB / 474.4 MB, free: 27.79 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.626e-06/0.2438, allocations: 4 kB / 474.4 MB, free: 27.79 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.392e-06/0.2438, allocations: 0 / 474.4 MB, free: 27.79 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.711e-06/0.2438, allocations: 3.219 kB / 474.4 MB, free: 27.79 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.000297/0.2441, allocations: 336.6 kB / 474.8 MB, free: 27.43 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.573e-05/0.2441, allocations: 13.17 kB / 474.8 MB, free: 27.43 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.647e-05/0.2442, allocations: 33.94 kB / 474.8 MB, free: 27.39 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.253e-05/0.2442, allocations: 8.891 kB / 474.8 MB, free: 27.38 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.21e-05/0.2443, allocations: 174.8 kB / 475 MB, free: 27.18 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.207e-05/0.2443, allocations: 4.375 kB / 475 MB, free: 27.17 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.911e-05/0.2443, allocations: 7.719 kB / 475 MB, free: 27.17 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.869e-05/0.2444, allocations: 43.2 kB / 475 MB, free: 27.13 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.149e-05/0.2444, allocations: 11.92 kB / 475 MB, free: 27.12 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.684e-06/0.2444, allocations: 0 / 475 MB, free: 27.12 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.248e-06/0.2444, allocations: 3.281 kB / 475.1 MB, free: 27.12 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.443e-05/0.2444, allocations: 9.859 kB / 475.1 MB, free: 27.12 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000215/0.2446, allocations: 244.7 kB / 475.3 MB, free: 26.85 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.424e-05/0.2447, allocations: 59.44 kB / 475.4 MB, free: 26.8 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.808e-05/0.2448, allocations: 21.59 kB / 475.4 MB, free: 26.79 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.069e-05/0.2448, allocations: 0 / 475.4 MB, free: 26.79 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.486e-05/0.2448, allocations: 30.56 kB / 475.4 MB, free: 26.75 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.052e-06/0.2448, allocations: 0 / 475.4 MB, free: 26.75 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005453/0.2453, allocations: 0.5034 MB / 475.9 MB, free: 26.25 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.907e-05/0.2454, allocations: 54.16 kB / 476 MB, free: 26.19 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.224e-05/0.2454, allocations: 100.6 kB / 476.1 MB, free: 26.09 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 7.825e-06/0.2454, allocations: 25.7 kB / 476.1 MB, free: 26.06 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.828e-05/0.2454, allocations: 83.36 kB / 476.2 MB, free: 25.98 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.341e-05/0.2454, allocations: 34.38 kB / 476.2 MB, free: 25.95 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.921e-05/0.2455, allocations: 24.19 kB / 476.2 MB, free: 25.93 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 3.845e-05/0.2455, allocations: 318.3 kB / 476.5 MB, free: 25.61 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.509e-05/0.2455, allocations: 13.56 kB / 476.6 MB, free: 25.61 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.294e-05/0.2456, allocations: 41.7 kB / 476.6 MB, free: 25.57 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002177/0.2458, allocations: 247.8 kB / 476.8 MB, free: 25.34 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.52e-07/0.2458, allocations: 7.938 kB / 476.8 MB, free: 25.34 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 8.944e-05/0.2459, allocations: 81.83 kB / 476.9 MB, free: 25.28 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.2e-05/0.2459, allocations: 6.469 kB / 476.9 MB, free: 25.28 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/0.2459, allocations: 0 / 476.9 MB, free: 25.28 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.269e-05/0.2459, allocations: 3.156 kB / 476.9 MB, free: 25.28 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.175e-05/0.246, allocations: 19.78 kB / 476.9 MB, free: 25.28 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.699e-06/0.246, allocations: 0 / 476.9 MB, free: 25.28 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.061e-05/0.246, allocations: 3.938 kB / 477 MB, free: 25.28 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.551e-06/0.246, allocations: 7.312 kB / 477 MB, free: 25.27 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: $DER.v1 = 0.0 $DER.x1 = 0.0. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (10): * Single equations (assignments): 10 * 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 9.686e-05/0.2461, allocations: 124 kB / 477.1 MB, free: 25.15 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.364e-05/0.2461, allocations: 7.297 kB / 477.1 MB, free: 25.14 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.681e-05/0.2462, allocations: 7.969 kB / 477.1 MB, free: 25.13 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.403e-06/0.2462, allocations: 0 / 477.1 MB, free: 25.13 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.2462, allocations: 0 / 477.1 MB, free: 25.13 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.2462, allocations: 7 kB / 477.1 MB, free: 25.13 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002976/0.2465, allocations: 371 kB / 477.5 MB, free: 24.76 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.2465, allocations: 0 / 477.5 MB, free: 24.76 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.246e-05/0.2465, allocations: 9.562 kB / 477.5 MB, free: 24.76 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.192e-05/0.2466, allocations: 25.25 kB / 477.5 MB, free: 24.75 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.574e-06/0.2466, allocations: 3.156 kB / 477.5 MB, free: 24.75 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006134/0.2472, allocations: 1.395 MB / 478.9 MB, free: 23.33 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.245e-06/0.2472, allocations: 3.156 kB / 478.9 MB, free: 23.33 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001566/0.2474, allocations: 222.2 kB / 479.1 MB, free: 23.13 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.675e-05/0.2474, allocations: 84.17 kB / 479.2 MB, free: 23.04 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.197e-06/0.2474, allocations: 4 kB / 479.2 MB, free: 23.03 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.52e-05/0.2475, allocations: 3.094 kB / 479.2 MB, free: 23.03 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.631e-05/0.2475, allocations: 10.58 kB / 479.2 MB, free: 23.03 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.278e-06/0.2475, allocations: 3.219 kB / 479.2 MB, free: 23.03 MB / 366.1 MB Notification: Performance of sorting global known variables: time 1.766e-05/0.2475, allocations: 89.36 kB / 479.3 MB, free: 22.95 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2475, allocations: 0 / 479.3 MB, free: 22.95 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002232/0.2477, allocations: 6.344 kB / 479.3 MB, free: 22.95 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (x2,v2) * 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 (6): * Single equations (assignments): 5 * 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,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000302/0.248, allocations: 0.7599 MB / 480.1 MB, free: 22.21 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 9.996e-05/0.2481, allocations: 46.48 kB / 480.1 MB, free: 22.2 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.2481, allocations: 0 / 480.1 MB, free: 22.2 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001786/0.2483, allocations: 146.1 kB / 480.3 MB, free: 22.07 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002137/0.2485, allocations: 10.39 kB / 480.3 MB, free: 22.07 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007435/0.2493, allocations: 1.361 MB / 481.6 MB, free: 20.77 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001003/0.2494, allocations: 0.6894 MB / 482.3 MB, free: 20.07 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 1.769e-05/0.2494, allocations: 2.719 kB / 482.3 MB, free: 20.07 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.923e-05/0.2494, allocations: 17.27 kB / 482.3 MB, free: 20.06 MB / 366.1 MB Notification: Performance of SimCode: time 2.91e-07/0.2494, allocations: 0 / 482.3 MB, free: 20.06 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02437/0.2738, allocations: 1.7 MB / 484 MB, free: 19.68 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.462/9.736, allocations: 3.75 kB / 484 MB, free: 19.68 MB / 366.1 MB " [Timeout remaining time 650] (rm -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullSteadyState.pipe ; mkfifo ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullSteadyState.pipe ; head -c 1048576 < ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullSteadyState.pipe >> ../files/ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullSteadyState.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Mechanical_TwoMassesEquationsFullSteadyState_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Mechanical_TwoMassesEquationsFullSteadyState.fmu > ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullSteadyState.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.044317369814962] Failed to read output from testmodel.py, exit status != 0: 9.815483434125781 9.831244129 9.584250176 Calling exit ...