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) 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.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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001501/0.001501, allocations: 105.4 kB / 15.7 MB, free: 28 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001809/0.001809, allocations: 193.9 kB / 16.64 MB, free: 6.453 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.497/1.497, allocations: 222.9 MB / 240.3 MB, free: 4.348 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.00309/0.00309, allocations: 0.5623 MB / 291.1 MB, free: 1.656 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001233/0.001234, allocations: 71.88 kB / 351.8 MB, free: 2.105 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1041/0.1054, allocations: 49.6 MB / 401.4 MB, free: 476 kB / 286.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullSteadyState): time 0.2136/0.3191, allocations: 1.635 MB / 403.1 MB, free: 10.05 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004323/0.3196, allocations: 96.16 kB / 403.2 MB, free: 10 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001267/0.3197, allocations: 6.844 kB / 403.2 MB, free: 10 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 9.029e-05/0.3199, allocations: 14.23 kB / 403.2 MB, free: 9.992 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001725/0.3201, allocations: 35.22 kB / 403.2 MB, free: 9.969 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001779/0.3202, allocations: 21.47 kB / 403.2 MB, free: 9.957 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002251/0.3205, allocations: 109 kB / 403.3 MB, free: 9.902 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001744/0.3207, allocations: 35.25 kB / 403.4 MB, free: 9.891 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001048/0.3208, allocations: 46.78 kB / 403.4 MB, free: 9.867 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000129/0.3209, allocations: 37.66 kB / 403.5 MB, free: 9.852 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.75e-05/0.3209, allocations: 12.56 kB / 403.5 MB, free: 9.852 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.734e-05/0.321, allocations: 7.844 kB / 403.5 MB, free: 9.852 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 2.846e-05/0.321, allocations: 22.03 kB / 403.5 MB, free: 9.836 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 6.929e-05/0.3211, allocations: 52.69 kB / 403.5 MB, free: 9.805 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000181/0.3213, allocations: 110.2 kB / 403.7 MB, free: 9.766 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.3213, allocations: 0 / 403.7 MB, free: 9.766 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.074e-06/0.3213, allocations: 0 / 403.7 MB, free: 9.766 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.372e-05/0.3213, allocations: 0.6562 kB / 403.7 MB, free: 9.766 MB / 286.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.0004906/0.3218, allocations: 398.8 kB / 404 MB, free: 9.375 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.279e-05/0.3219, allocations: 14.06 kB / 404.1 MB, free: 9.371 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.889e-05/0.3219, allocations: 44.62 kB / 404.1 MB, free: 9.324 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.933e-05/0.322, allocations: 13.75 kB / 404.1 MB, free: 9.316 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001414/0.3221, allocations: 193.4 kB / 404.3 MB, free: 9.102 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.062e-05/0.3221, allocations: 7.844 kB / 404.3 MB, free: 9.098 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.496e-05/0.3222, allocations: 16.27 kB / 404.3 MB, free: 9.09 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001787/0.3223, allocations: 89.89 kB / 404.4 MB, free: 9.035 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.416e-05/0.3224, allocations: 2.016 kB / 404.4 MB, free: 9.035 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.257e-05/0.3224, allocations: 4 kB / 404.4 MB, free: 9.031 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.201e-06/0.3224, allocations: 3.312 kB / 404.4 MB, free: 9.031 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001214/0.3225, allocations: 63.94 kB / 404.5 MB, free: 9.008 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004828/0.323, allocations: 381.6 kB / 404.9 MB, free: 8.68 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001698/0.3232, allocations: 102.4 kB / 405 MB, free: 8.625 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.902e-05/0.3233, allocations: 40.3 kB / 405 MB, free: 8.605 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.437e-05/0.3233, allocations: 1.406 kB / 405 MB, free: 8.605 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.439e-05/0.3233, allocations: 36.59 kB / 405 MB, free: 8.562 MB / 286.1 MB Notification: Performance of pre-optimization done (n=12): time 1.573e-06/0.3233, allocations: 0 / 405 MB, free: 8.562 MB / 286.1 MB Notification: Performance of matching and sorting (n=16): time 0.001034/0.3243, allocations: 0.6784 MB / 405.7 MB, free: 7.988 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.551e-05/0.3244, allocations: 53.75 kB / 405.8 MB, free: 7.926 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.172e-05/0.3245, allocations: 131.8 kB / 405.9 MB, free: 7.809 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.283e-05/0.3245, allocations: 29.7 kB / 405.9 MB, free: 7.773 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.957e-05/0.3246, allocations: 102.5 kB / 406 MB, free: 7.672 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.063e-05/0.3246, allocations: 56.3 kB / 406.1 MB, free: 7.629 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.11e-05/0.3247, allocations: 34.62 kB / 406.1 MB, free: 7.602 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 5.092e-05/0.3247, allocations: 320.5 kB / 406.4 MB, free: 7.285 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.072e-05/0.3248, allocations: 34.5 kB / 406.5 MB, free: 7.273 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001045/0.3249, allocations: 67.7 kB / 406.5 MB, free: 7.227 MB / 286.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.000598/0.3255, allocations: 369.1 kB / 406.9 MB, free: 6.945 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.3255, allocations: 5.031 kB / 406.9 MB, free: 6.941 MB / 286.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0001874/0.3257, allocations: 145.3 kB / 407 MB, free: 6.863 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.528e-05/0.3257, allocations: 9.406 kB / 407 MB, free: 6.859 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.3258, allocations: 1.156 kB / 407 MB, free: 6.859 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.436e-05/0.3258, allocations: 1.156 kB / 407 MB, free: 6.859 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001697/0.3259, allocations: 39.41 kB / 407.1 MB, free: 6.855 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.284e-06/0.326, allocations: 1.281 kB / 407.1 MB, free: 6.855 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.112e-05/0.326, allocations: 10.12 kB / 407.1 MB, free: 6.848 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.002e-05/0.326, allocations: 4.703 kB / 407.1 MB, free: 6.848 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: 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.857e-05/0.3261, allocations: 133.3 kB / 407.2 MB, free: 6.719 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.138e-05/0.3262, allocations: 12.69 kB / 407.2 MB, free: 6.711 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.029e-05/0.3262, allocations: 14.97 kB / 407.3 MB, free: 6.695 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.065e-06/0.3262, allocations: 2.031 kB / 407.3 MB, free: 6.695 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.844e-06/0.3262, allocations: 1.312 kB / 407.3 MB, free: 6.695 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.065e-06/0.3262, allocations: 0 / 407.3 MB, free: 6.695 MB / 286.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.0005461/0.3268, allocations: 0.5941 MB / 407.9 MB, free: 6.148 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.3268, allocations: 1.094 kB / 407.9 MB, free: 6.148 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001269/0.3269, allocations: 28.84 kB / 407.9 MB, free: 6.145 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001019/0.327, allocations: 20.58 kB / 407.9 MB, free: 6.133 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.355e-05/0.3271, allocations: 8.328 kB / 407.9 MB, free: 6.129 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006933/0.3278, allocations: 1.366 MB / 409.3 MB, free: 4.719 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/0.3278, allocations: 1.344 kB / 409.3 MB, free: 4.719 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002903/0.3281, allocations: 310.1 kB / 409.6 MB, free: 4.488 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.781e-05/0.3281, allocations: 85.81 kB / 409.7 MB, free: 4.391 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.444e-05/0.3281, allocations: 0 / 409.7 MB, free: 4.391 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.906e-05/0.3282, allocations: 7.5 kB / 409.7 MB, free: 4.387 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.153e-05/0.3282, allocations: 15.88 kB / 409.7 MB, free: 4.379 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.197e-06/0.3283, allocations: 11.34 kB / 409.7 MB, free: 4.375 MB / 286.1 MB Notification: Performance of sorting global known variables: time 4.09e-05/0.3283, allocations: 92.06 kB / 409.8 MB, free: 4.297 MB / 286.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3283, allocations: 0 / 409.8 MB, free: 4.297 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002707/0.3286, allocations: 30.06 kB / 409.8 MB, free: 4.293 MB / 286.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.0005033/0.3291, allocations: 0.8409 MB / 410.7 MB, free: 3.527 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0002223/0.3293, allocations: 104.5 kB / 410.8 MB, free: 3.492 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 3.327e-06/0.3293, allocations: 0 / 410.8 MB, free: 3.492 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000229/0.3296, allocations: 180.5 kB / 410.9 MB, free: 3.352 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003442/0.3299, allocations: 20.41 kB / 411 MB, free: 3.348 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001522/0.3315, allocations: 1.795 MB / 412.8 MB, free: 1.809 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000145/0.3316, allocations: 0.7112 MB / 413.5 MB, free: 1.105 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 6.44e-05/0.3317, allocations: 10.91 kB / 413.5 MB, free: 1.105 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.077e-05/0.3318, allocations: 29.2 kB / 413.5 MB, free: 1.086 MB / 286.1 MB Notification: Performance of SimCode: time 4e-07/0.3318, allocations: 0 / 413.5 MB, free: 1.086 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02274/0.3545, allocations: 2.943 MB / 416.4 MB, free: 0.6602 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.415/9.769, allocations: 9.812 kB / 416.5 MB, free: 0.6523 MB / 286.1 MB (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 --timeout=50 --tolerance=1e-06 ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Mechanical_TwoMassesFullSteadyState.fmu > ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullSteadyState.pipe 2>&1)