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.001317/0.001317, allocations: 99.36 kB / 15.33 MB, free: 0.5078 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.001392/0.001392, allocations: 195.9 kB / 16.25 MB, free: 6.629 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.332/1.332, allocations: 222.9 MB / 239.9 MB, free: 4.508 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.003041/0.003041, allocations: 0.5542 MB / 290.6 MB, free: 1.836 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001113/0.001113, allocations: 59.91 kB / 351.2 MB, free: 2.531 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1037/0.1049, allocations: 49.6 MB / 400.8 MB, free: 0.8906 MB / 286.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullSteadyState): time 0.1742/0.2791, allocations: 1.705 MB / 402.5 MB, free: 9.973 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002529/0.2794, allocations: 91.55 kB / 402.6 MB, free: 9.938 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.105e-05/0.2794, allocations: 0.8438 kB / 402.6 MB, free: 9.938 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 6.353e-05/0.2796, allocations: 10.64 kB / 402.6 MB, free: 9.934 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 9.906e-05/0.2797, allocations: 27.53 kB / 402.6 MB, free: 9.918 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001296/0.2798, allocations: 23.78 kB / 402.6 MB, free: 9.914 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001414/0.28, allocations: 108.2 kB / 402.7 MB, free: 9.883 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000162/0.2801, allocations: 33.83 kB / 402.8 MB, free: 9.883 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.203e-05/0.2802, allocations: 42.09 kB / 402.8 MB, free: 9.875 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.94e-05/0.2803, allocations: 42.66 kB / 402.8 MB, free: 9.863 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.526e-05/0.2803, allocations: 10.25 kB / 402.9 MB, free: 9.863 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.624e-05/0.2804, allocations: 12.38 kB / 402.9 MB, free: 9.863 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 3.037e-05/0.2804, allocations: 21.27 kB / 402.9 MB, free: 9.859 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 6.702e-05/0.2805, allocations: 50.88 kB / 402.9 MB, free: 9.844 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000174/0.2807, allocations: 104.6 kB / 403 MB, free: 9.828 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.519e-06/0.2807, allocations: 0 / 403 MB, free: 9.828 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.2807, allocations: 0 / 403 MB, free: 9.828 MB / 286.1 MB Notification: Performance of Transformations before backend: time 7.024e-06/0.2807, allocations: 1.734 kB / 403 MB, free: 9.828 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.0004662/0.2812, allocations: 405.2 kB / 403.4 MB, free: 9.449 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.433e-05/0.2812, allocations: 9.406 kB / 403.4 MB, free: 9.449 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.762e-05/0.2812, allocations: 40.83 kB / 403.5 MB, free: 9.41 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.094e-05/0.2813, allocations: 14 kB / 403.5 MB, free: 9.402 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002028/0.2815, allocations: 192.6 kB / 403.7 MB, free: 9.195 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.399e-05/0.2815, allocations: 7.875 kB / 403.7 MB, free: 9.195 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.724e-05/0.2816, allocations: 15.16 kB / 403.7 MB, free: 9.191 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001923/0.2818, allocations: 96.67 kB / 403.8 MB, free: 9.156 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.425e-05/0.2818, allocations: 0 / 403.8 MB, free: 9.156 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.317e-05/0.2818, allocations: 2.359 kB / 403.8 MB, free: 9.156 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.132e-06/0.2818, allocations: 6.125 kB / 403.8 MB, free: 9.152 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001262/0.2819, allocations: 61.81 kB / 403.9 MB, free: 9.148 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004792/0.2824, allocations: 389.3 kB / 404.2 MB, free: 8.859 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001717/0.2826, allocations: 98.27 kB / 404.3 MB, free: 8.836 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.908e-05/0.2827, allocations: 41.59 kB / 404.4 MB, free: 8.824 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.674e-05/0.2827, allocations: 5.828 kB / 404.4 MB, free: 8.82 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.643e-05/0.2827, allocations: 31.28 kB / 404.4 MB, free: 8.781 MB / 286.1 MB Notification: Performance of pre-optimization done (n=12): time 1.172e-06/0.2827, allocations: 1.125 kB / 404.4 MB, free: 8.781 MB / 286.1 MB Notification: Performance of matching and sorting (n=16): time 0.0009464/0.2837, allocations: 0.6833 MB / 405.1 MB, free: 8.246 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.262e-05/0.2837, allocations: 52.84 kB / 405.2 MB, free: 8.184 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.621e-05/0.2838, allocations: 125.6 kB / 405.3 MB, free: 8.074 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.102e-05/0.2838, allocations: 31.11 kB / 405.3 MB, free: 8.039 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.893e-05/0.2839, allocations: 102.2 kB / 405.4 MB, free: 7.941 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.256e-05/0.2839, allocations: 50.83 kB / 405.5 MB, free: 7.902 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.609e-05/0.2839, allocations: 34.77 kB / 405.5 MB, free: 7.875 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 5.112e-05/0.284, allocations: 325.3 kB / 405.8 MB, free: 7.555 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.8e-05/0.2841, allocations: 34.56 kB / 405.8 MB, free: 7.543 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.476e-05/0.2841, allocations: 67.3 kB / 405.9 MB, free: 7.5 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.0005237/0.2847, allocations: 371.6 kB / 406.3 MB, free: 7.215 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.2847, allocations: 5.031 kB / 406.3 MB, free: 7.211 MB / 286.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0001798/0.2849, allocations: 137.9 kB / 406.4 MB, free: 7.137 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.379e-05/0.2849, allocations: 5.094 kB / 406.4 MB, free: 7.137 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.48e-06/0.2849, allocations: 1.891 kB / 406.4 MB, free: 7.137 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.389e-05/0.2849, allocations: 1.219 kB / 406.4 MB, free: 7.137 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001699/0.2851, allocations: 42.69 kB / 406.5 MB, free: 7.129 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.951e-06/0.2851, allocations: 1.531 kB / 406.5 MB, free: 7.129 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.307e-05/0.2852, allocations: 12.06 kB / 406.5 MB, free: 7.121 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.758e-06/0.2852, allocations: 7.984 kB / 406.5 MB, free: 7.117 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.474e-05/0.2852, allocations: 131.8 kB / 406.6 MB, free: 6.988 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.882e-05/0.2853, allocations: 8.344 kB / 406.6 MB, free: 6.984 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.018e-05/0.2853, allocations: 16.66 kB / 406.6 MB, free: 6.969 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.115e-06/0.2853, allocations: 1.969 kB / 406.6 MB, free: 6.969 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.079e-06/0.2853, allocations: 5.031 kB / 406.6 MB, free: 6.965 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.2854, allocations: 1.844 kB / 406.6 MB, free: 6.965 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.0005397/0.2859, allocations: 0.5947 MB / 407.2 MB, free: 6.418 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.2859, allocations: 1.125 kB / 407.2 MB, free: 6.418 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000121/0.286, allocations: 24.02 kB / 407.3 MB, free: 6.418 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.872e-05/0.2861, allocations: 29.11 kB / 407.3 MB, free: 6.398 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.257e-05/0.2862, allocations: 6.016 kB / 407.3 MB, free: 6.395 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006417/0.2868, allocations: 1.373 MB / 408.7 MB, free: 4.984 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.2868, allocations: 1.031 kB / 408.7 MB, free: 4.984 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000268/0.2871, allocations: 302.4 kB / 409 MB, free: 4.758 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.231e-05/0.2871, allocations: 88.73 kB / 409.1 MB, free: 4.656 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.626e-05/0.2872, allocations: 6.781 kB / 409.1 MB, free: 4.652 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.41e-05/0.2872, allocations: 1.938 kB / 409.1 MB, free: 4.652 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.486e-05/0.2873, allocations: 17.25 kB / 409.1 MB, free: 4.645 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.643e-06/0.2873, allocations: 3.938 kB / 409.1 MB, free: 4.645 MB / 286.1 MB Notification: Performance of sorting global known variables: time 3.58e-05/0.2873, allocations: 99.02 kB / 409.2 MB, free: 4.562 MB / 286.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2873, allocations: 0 / 409.2 MB, free: 4.562 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.000248/0.2876, allocations: 28.5 kB / 409.2 MB, free: 4.559 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.0004229/0.288, allocations: 0.8386 MB / 410 MB, free: 3.793 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0001935/0.2882, allocations: 109.6 kB / 410.2 MB, free: 3.758 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.2882, allocations: 0 / 410.2 MB, free: 3.758 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001981/0.2884, allocations: 170.9 kB / 410.3 MB, free: 3.625 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003124/0.2887, allocations: 29.06 kB / 410.4 MB, free: 3.609 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001381/0.2901, allocations: 1.808 MB / 412.2 MB, free: 2.051 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001348/0.2903, allocations: 0.7113 MB / 412.9 MB, free: 1.348 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 4.884e-05/0.2903, allocations: 11.64 kB / 412.9 MB, free: 1.348 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.27e-05/0.2904, allocations: 28.5 kB / 412.9 MB, free: 1.328 MB / 286.1 MB Notification: Performance of SimCode: time 2e-07/0.2904, allocations: 1.406 kB / 412.9 MB, free: 1.328 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02188/0.3123, allocations: 2.852 MB / 415.8 MB, free: 1.004 MB / 286.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001525/0.3125, allocations: 279.6 kB / 416 MB, free: 0.6289 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.886/2.199, allocations: 4.438 kB / 416 MB, free: 0.6289 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)