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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.0.0+maint.om/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001273/0.001273, allocations: 115.3 kB / 15.34 MB, free: 0.5156 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001404/0.001404, allocations: 192.8 kB / 16.25 MB, free: 6.625 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.338/1.338, allocations: 222.9 MB / 239.9 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.0.0+maint.om/package.mo): time 0.003267/0.003267, allocations: 0.5662 MB / 290.7 MB, free: 1.824 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001222/0.001222, allocations: 67.89 kB / 351.2 MB, free: 2.539 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1029/0.1042, allocations: 49.6 MB / 400.8 MB, free: 0.8984 MB / 286.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullSteadyState): time 0.001609/0.1058, allocations: 0.5639 MB / 401.3 MB, free: 340 kB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001691/0.106, allocations: 35.83 kB / 401.4 MB, free: 304 kB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.106e-05/0.1061, allocations: 0 / 401.4 MB, free: 304 kB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 1.799e-05/0.1061, allocations: 0 / 401.4 MB, free: 304 kB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 2.829e-05/0.1061, allocations: 0 / 401.4 MB, free: 304 kB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001236/0.1063, allocations: 7.984 kB / 401.4 MB, free: 296 kB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 5.516e-05/0.1063, allocations: 19.98 kB / 401.4 MB, free: 276 kB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.355e-05/0.1064, allocations: 3.984 kB / 401.4 MB, free: 272 kB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.223e-05/0.1064, allocations: 7.938 kB / 401.4 MB, free: 264 kB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.905e-05/0.1065, allocations: 19.92 kB / 401.4 MB, free: 244 kB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.688e-05/0.1065, allocations: 7.938 kB / 401.4 MB, free: 236 kB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.05e-05/0.1065, allocations: 3.938 kB / 401.4 MB, free: 232 kB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 1.632e-05/0.1065, allocations: 0 / 401.4 MB, free: 232 kB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 2.854e-05/0.1066, allocations: 15.92 kB / 401.4 MB, free: 216 kB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 5.193e-05/0.1066, allocations: 11.92 kB / 401.5 MB, free: 204 kB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.644e-06/0.1066, allocations: 0 / 401.5 MB, free: 204 kB / 286.1 MB Notification: Performance of FrontEnd: time 2.104e-06/0.1066, allocations: 0 / 401.5 MB, free: 204 kB / 286.1 MB Notification: Performance of Transformations before backend: time 5.32e-06/0.1066, allocations: 0 / 401.5 MB, free: 204 kB / 286.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.1966/0.3033, allocations: 342 kB / 401.8 MB, free: 10.69 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.016e-05/0.3033, allocations: 13.17 kB / 401.8 MB, free: 10.69 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.577e-05/0.3034, allocations: 32.06 kB / 401.8 MB, free: 10.65 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.946e-05/0.3034, allocations: 3.922 kB / 401.8 MB, free: 10.65 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.273e-05/0.3035, allocations: 162.8 kB / 402 MB, free: 10.45 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.262e-05/0.3035, allocations: 5.562 kB / 402 MB, free: 10.45 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.393e-05/0.3036, allocations: 3.562 kB / 402 MB, free: 10.45 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001073/0.3037, allocations: 44.89 kB / 402.1 MB, free: 10.42 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.241e-05/0.3037, allocations: 7.531 kB / 402.1 MB, free: 10.42 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.027e-06/0.3037, allocations: 0 / 402.1 MB, free: 10.42 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.999e-06/0.3037, allocations: 2.438 kB / 402.1 MB, free: 10.42 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.225e-05/0.3038, allocations: 14.47 kB / 402.1 MB, free: 10.42 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002488/0.304, allocations: 249.5 kB / 402.3 MB, free: 10.15 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.758e-05/0.3041, allocations: 57.09 kB / 402.4 MB, free: 10.12 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.268e-05/0.3042, allocations: 21.75 kB / 402.4 MB, free: 10.12 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.089e-05/0.3042, allocations: 0.875 kB / 402.4 MB, free: 10.12 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.621e-05/0.3042, allocations: 36.22 kB / 402.4 MB, free: 10.08 MB / 286.1 MB Notification: Performance of pre-optimization done (n=6): time 1.173e-06/0.3042, allocations: 0 / 402.4 MB, free: 10.08 MB / 286.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006304/0.3049, allocations: 0.5036 MB / 402.9 MB, free: 9.633 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.118e-05/0.3049, allocations: 56.69 kB / 403 MB, free: 9.566 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.972e-05/0.3049, allocations: 99.5 kB / 403.1 MB, free: 9.469 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 9.788e-06/0.305, allocations: 29.83 kB / 403.1 MB, free: 9.438 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.928e-05/0.305, allocations: 86.05 kB / 403.2 MB, free: 9.355 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.131e-05/0.305, allocations: 30.25 kB / 403.2 MB, free: 9.34 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.566e-05/0.3051, allocations: 24.92 kB / 403.3 MB, free: 9.324 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 4.252e-05/0.3051, allocations: 317.6 kB / 403.6 MB, free: 9.008 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.377e-05/0.3051, allocations: 18.77 kB / 403.6 MB, free: 9.004 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.268e-05/0.3052, allocations: 34.98 kB / 403.6 MB, free: 8.988 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002629/0.3055, allocations: 251.5 kB / 403.9 MB, free: 8.781 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.3055, allocations: 2.344 kB / 403.9 MB, free: 8.781 MB / 286.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001076/0.3056, allocations: 79.28 kB / 403.9 MB, free: 8.746 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.692e-05/0.3056, allocations: 5.406 kB / 404 MB, free: 8.746 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.188e-06/0.3056, allocations: 0 / 404 MB, free: 8.746 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.403e-05/0.3056, allocations: 6.078 kB / 404 MB, free: 8.742 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001069/0.3058, allocations: 22.38 kB / 404 MB, free: 8.738 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.003e-06/0.3058, allocations: 3.828 kB / 404 MB, free: 8.738 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.169e-05/0.3058, allocations: 8.125 kB / 404 MB, free: 8.734 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.811e-06/0.3058, allocations: 2.469 kB / 404 MB, free: 8.734 MB / 286.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 0.0001367/0.3059, allocations: 119.3 kB / 404.1 MB, free: 8.617 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.332e-05/0.306, allocations: 3.062 kB / 404.1 MB, free: 8.617 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.995e-05/0.306, allocations: 12.8 kB / 404.1 MB, free: 8.602 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.853e-06/0.306, allocations: 0.8438 kB / 404.1 MB, free: 8.602 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.311e-06/0.306, allocations: 1.75 kB / 404.1 MB, free: 8.602 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.17e-06/0.306, allocations: 4.641 kB / 404.1 MB, free: 8.598 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003474/0.3064, allocations: 370.5 kB / 404.5 MB, free: 8.258 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/0.3064, allocations: 1.469 kB / 404.5 MB, free: 8.258 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.953e-05/0.3065, allocations: 16.95 kB / 404.5 MB, free: 8.25 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.34e-05/0.3066, allocations: 22.19 kB / 404.5 MB, free: 8.242 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.208e-06/0.3066, allocations: 2.812 kB / 404.5 MB, free: 8.242 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007035/0.3073, allocations: 1.39 MB / 405.9 MB, free: 6.875 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.3073, allocations: 1.344 kB / 405.9 MB, free: 6.875 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001959/0.3075, allocations: 225.9 kB / 406.1 MB, free: 6.707 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.209e-05/0.3075, allocations: 88.25 kB / 406.2 MB, free: 6.605 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.098e-05/0.3075, allocations: 6.156 kB / 406.2 MB, free: 6.605 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.536e-05/0.3076, allocations: 4.531 kB / 406.2 MB, free: 6.605 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.219e-05/0.3076, allocations: 8.656 kB / 406.3 MB, free: 6.605 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.833e-06/0.3076, allocations: 4.203 kB / 406.3 MB, free: 6.605 MB / 286.1 MB Notification: Performance of sorting global known variables: time 2.265e-05/0.3077, allocations: 78.19 kB / 406.3 MB, free: 6.531 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3077, allocations: 4.062 kB / 406.3 MB, free: 6.527 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.000226/0.3079, allocations: 12.19 kB / 406.3 MB, free: 6.527 MB / 286.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.0003674/0.3083, allocations: 0.7605 MB / 407.1 MB, free: 5.824 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0001423/0.3084, allocations: 46.34 kB / 407.2 MB, free: 5.82 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.3084, allocations: 0 / 407.2 MB, free: 5.82 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002096/0.3087, allocations: 145.2 kB / 407.3 MB, free: 5.707 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002196/0.3089, allocations: 7.125 kB / 407.3 MB, free: 5.707 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000898/0.3098, allocations: 1.355 MB / 408.7 MB, free: 4.441 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001386/0.3099, allocations: 0.6868 MB / 409.3 MB, free: 3.746 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 2.287e-05/0.31, allocations: 9.344 kB / 409.4 MB, free: 3.742 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.651e-05/0.31, allocations: 14.38 kB / 409.4 MB, free: 3.734 MB / 286.1 MB Notification: Performance of SimCode: time 2.4e-07/0.31, allocations: 1.031 kB / 409.4 MB, free: 3.734 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01428/0.3243, allocations: 1.554 MB / 410.9 MB, free: 3.523 MB / 286.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002132/0.3246, allocations: 298.4 kB / 411.2 MB, free: 3.141 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.715/2.039, allocations: 0 / 411.2 MB, free: 3.141 MB / 286.1 MB (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 --timeout=50 --tolerance=1e-06 ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Mechanical_TwoMassesEquationsFullSteadyState.fmu > ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullSteadyState.pipe 2>&1)