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.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.0009082/0.0009082, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.001004/0.001004, allocations: 169.9 kB / 22.46 MB, free: 2.105 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.8979/0.8979, allocations: 177.1 MB / 202.8 MB, free: 5.75 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.001971/0.001971, allocations: 420.2 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.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 1.443e-06/1.443e-06, allocations: 0 / 381.8 MB, free: 120 kB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.659e-05/1.803e-05, allocations: 2.281 kB / 381.8 MB, free: 116 kB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullSteadyState): time 0.001014/0.001032, allocations: 0.5216 MB / 382.3 MB, free: 15.59 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001468/0.001179, allocations: 23.89 kB / 382.3 MB, free: 15.57 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.231e-05/0.001201, allocations: 4 kB / 382.3 MB, free: 15.57 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 1.549e-05/0.001217, allocations: 3.938 kB / 382.3 MB, free: 15.56 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 2.655e-05/0.001243, allocations: 0 / 382.3 MB, free: 15.56 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001124/0.001356, allocations: 4 kB / 382.3 MB, free: 15.56 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 5.104e-05/0.001407, allocations: 19.97 kB / 382.4 MB, free: 15.54 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.467e-05/0.001451, allocations: 7.938 kB / 382.4 MB, free: 15.53 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.515e-05/0.001486, allocations: 11.98 kB / 382.4 MB, free: 15.52 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.619e-05/0.001543, allocations: 15.91 kB / 382.4 MB, free: 15.5 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.127e-05/0.001564, allocations: 4 kB / 382.4 MB, free: 15.5 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.346e-06/0.001572, allocations: 0 / 382.4 MB, free: 15.5 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 1.527e-05/0.001587, allocations: 0 / 382.4 MB, free: 15.5 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 2.14e-05/0.001609, allocations: 15.91 kB / 382.4 MB, free: 15.48 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 6.19e-05/0.001671, allocations: 11.98 kB / 382.4 MB, free: 15.47 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.643e-06/0.001672, allocations: 4 kB / 382.4 MB, free: 15.47 MB / 362.7 MB Notification: Performance of FrontEnd: time 6.81e-07/0.001673, allocations: 0 / 382.4 MB, free: 15.47 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.388e-06/0.001677, allocations: 0 / 382.4 MB, free: 15.47 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0003096/0.001987, allocations: 262.3 kB / 382.7 MB, free: 15.18 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.769e-05/0.002025, allocations: 8.031 kB / 382.7 MB, free: 15.17 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.609e-05/0.002051, allocations: 30.75 kB / 382.7 MB, free: 15.13 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.118e-05/0.002072, allocations: 8.938 kB / 382.7 MB, free: 15.12 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.022e-05/0.002142, allocations: 109.8 kB / 382.8 MB, free: 14.99 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.088e-05/0.002153, allocations: 4.375 kB / 382.8 MB, free: 14.99 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.256e-05/0.002176, allocations: 8.328 kB / 382.9 MB, free: 14.98 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.423e-05/0.00227, allocations: 46.25 kB / 382.9 MB, free: 14.93 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.946e-06/0.002279, allocations: 4.188 kB / 382.9 MB, free: 14.93 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.464e-06/0.002286, allocations: 384 / 382.9 MB, free: 14.93 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.58e-06/0.002292, allocations: 4.125 kB / 382.9 MB, free: 14.92 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.629e-05/0.002328, allocations: 19.92 kB / 382.9 MB, free: 14.9 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002316/0.00256, allocations: 212.1 kB / 383.1 MB, free: 14.65 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.508e-05/0.002645, allocations: 46.56 kB / 383.2 MB, free: 14.6 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.592e-05/0.002671, allocations: 16.98 kB / 383.2 MB, free: 14.58 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.678e-06/0.002681, allocations: 7.922 kB / 383.2 MB, free: 14.57 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.867e-05/0.002699, allocations: 42.44 kB / 383.2 MB, free: 14.52 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 9.21e-07/0.0027, allocations: 4 kB / 383.2 MB, free: 14.52 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.000525/0.003225, allocations: 355.9 kB / 383.6 MB, free: 14.11 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.99e-05/0.003255, allocations: 55.41 kB / 383.6 MB, free: 14.04 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.527e-05/0.0033, allocations: 97.86 kB / 383.7 MB, free: 13.94 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.291e-05/0.003313, allocations: 25.7 kB / 383.8 MB, free: 13.91 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.083e-05/0.003344, allocations: 92.06 kB / 383.9 MB, free: 13.81 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.681e-05/0.003371, allocations: 27.75 kB / 383.9 MB, free: 13.79 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.812e-05/0.003399, allocations: 25.7 kB / 383.9 MB, free: 13.75 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 6.721e-05/0.003466, allocations: 318.8 kB / 384.2 MB, free: 13.43 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.428e-05/0.00349, allocations: 23.98 kB / 384.2 MB, free: 13.41 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.79e-05/0.003518, allocations: 26.34 kB / 384.3 MB, free: 13.38 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001881/0.003706, allocations: 97.62 kB / 384.4 MB, free: 13.28 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.62e-07/0.003707, allocations: 0 / 384.4 MB, free: 13.28 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 7.511e-05/0.003782, allocations: 77.64 kB / 384.4 MB, free: 13.2 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.245e-05/0.003795, allocations: 7.984 kB / 384.4 MB, free: 13.19 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/0.0038, allocations: 0 / 384.4 MB, free: 13.19 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.218e-05/0.003812, allocations: 7.938 kB / 384.5 MB, free: 13.18 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.483e-05/0.003887, allocations: 16 kB / 384.5 MB, free: 13.16 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.31e-06/0.003892, allocations: 0 / 384.5 MB, free: 13.16 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.408e-05/0.003906, allocations: 8 kB / 384.5 MB, free: 13.16 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.47e-06/0.003912, allocations: 4 kB / 384.5 MB, free: 13.15 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: $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 0.0001012/0.004013, allocations: 121.8 kB / 384.6 MB, free: 13.02 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.161e-05/0.004025, allocations: 0 / 384.6 MB, free: 13.02 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.515e-05/0.00405, allocations: 8.125 kB / 384.6 MB, free: 13.01 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.004052, allocations: 4.234 kB / 384.6 MB, free: 13.01 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/0.004057, allocations: 0 / 384.6 MB, free: 13.01 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.004061, allocations: 3.984 kB / 384.6 MB, free: 13 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003039/0.004365, allocations: 344.9 kB / 385 MB, free: 12.61 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.004367, allocations: 0 / 385 MB, free: 12.61 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.43e-05/0.004401, allocations: 11.94 kB / 385 MB, free: 12.59 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.098e-05/0.004482, allocations: 32.72 kB / 385 MB, free: 12.56 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.701e-06/0.004488, allocations: 0 / 385 MB, free: 12.56 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006382/0.005126, allocations: 1.272 MB / 386.3 MB, free: 11.17 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.907e-06/0.00513, allocations: 4.031 kB / 386.3 MB, free: 11.16 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001479/0.005278, allocations: 226.9 kB / 386.5 MB, free: 10.91 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.121e-06/0.005284, allocations: 11.98 kB / 386.5 MB, free: 10.9 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.312e-06/0.00529, allocations: 3.984 kB / 386.5 MB, free: 10.9 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.283e-05/0.005323, allocations: 3.938 kB / 386.5 MB, free: 10.89 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.594e-05/0.005339, allocations: 7.984 kB / 386.5 MB, free: 10.89 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.516e-06/0.005342, allocations: 8 kB / 386.5 MB, free: 10.88 MB / 362.7 MB Notification: Performance of sorting global known variables: time 2.364e-05/0.005366, allocations: 79.52 kB / 386.6 MB, free: 10.8 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.005366, allocations: 3.938 kB / 386.6 MB, free: 10.8 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001535/0.005519, allocations: 12 kB / 386.6 MB, free: 10.79 MB / 362.7 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.0003966/0.005916, allocations: 0.7554 MB / 387.4 MB, free: 9.992 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 8.591e-05/0.006002, allocations: 43.97 kB / 387.4 MB, free: 9.949 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.472e-06/0.006003, allocations: 0 / 387.4 MB, free: 9.949 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001642/0.006168, allocations: 146.6 kB / 387.6 MB, free: 9.793 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001607/0.006328, allocations: 8.656 kB / 387.6 MB, free: 9.785 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007255/0.007054, allocations: 1.349 MB / 388.9 MB, free: 8.328 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.417e-05/0.007098, allocations: 75.45 kB / 389 MB, free: 8.234 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 1.821e-05/0.007116, allocations: 4 kB / 389 MB, free: 8.23 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.299e-05/0.007149, allocations: 12.5 kB / 389 MB, free: 8.219 MB / 362.7 MB Notification: Performance of SimCode: time 4.71e-07/0.00715, allocations: 3.938 kB / 389 MB, free: 8.215 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01581/0.02296, allocations: 2.275 MB / 391.3 MB, free: 6.148 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.34/7.363, allocations: 11.97 kB / 391.3 MB, free: 6.137 MB / 362.7 MB " [Timeout remaining time 653] (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: 9.068960717879236] Failed to read output from testmodel.py, exit status != 0: 7.445806674659252 7.454949013 7.451280177 Calling exit ...