Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedInitial.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.TwoMassesReducedInitial,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Mechanical_TwoMassesReducedInitial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedInitial,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Mechanical_TwoMassesReducedInitial",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.001137/0.001137, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001106/0.001106, allocations: 194 kB / 16.14 MB, free: 6.656 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.165/1.165, allocations: 222.9 MB / 239.8 MB, free: 4.605 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.002268/0.002268, allocations: 0.5585 MB / 290.5 MB, free: 1.914 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00126/0.00126, allocations: 63.91 kB / 351 MB, free: 2.707 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07798/0.07926, allocations: 49.59 MB / 400.6 MB, free: 1.07 MB / 286.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedInitial): time 0.1215/0.2008, allocations: 1.696 MB / 402.3 MB, free: 9.984 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002114/0.201, allocations: 88.47 kB / 402.4 MB, free: 9.953 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.3e-05/0.2011, allocations: 1.906 kB / 402.4 MB, free: 9.953 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 4.314e-05/0.2012, allocations: 9.344 kB / 402.4 MB, free: 9.949 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 7.495e-05/0.2013, allocations: 32.97 kB / 402.4 MB, free: 9.93 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 8.694e-05/0.2014, allocations: 19.59 kB / 402.4 MB, free: 9.93 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 8.973e-05/0.2015, allocations: 102.4 kB / 402.5 MB, free: 9.898 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.433e-05/0.2016, allocations: 37.58 kB / 402.6 MB, free: 9.891 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.132e-05/0.2016, allocations: 31.06 kB / 402.6 MB, free: 9.887 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.877e-05/0.2017, allocations: 43.94 kB / 402.6 MB, free: 9.875 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.714e-05/0.2017, allocations: 8.906 kB / 402.6 MB, free: 9.875 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.921e-05/0.2017, allocations: 5.938 kB / 402.6 MB, free: 9.875 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 1.733e-05/0.2017, allocations: 21.36 kB / 402.7 MB, free: 9.867 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 4.496e-05/0.2018, allocations: 48.77 kB / 402.7 MB, free: 9.852 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 9.974e-05/0.2019, allocations: 100.9 kB / 402.8 MB, free: 9.836 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.2019, allocations: 4.344 kB / 402.8 MB, free: 9.836 MB / 286.1 MB Notification: Performance of FrontEnd: time 4.01e-07/0.2019, allocations: 0 / 402.8 MB, free: 9.836 MB / 286.1 MB Notification: Performance of Transformations before backend: time 3.166e-06/0.2019, allocations: 5.219 kB / 402.8 MB, free: 9.832 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.0003157/0.2022, allocations: 396.3 kB / 403.2 MB, free: 9.453 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.809e-05/0.2023, allocations: 9.5 kB / 403.2 MB, free: 9.453 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.554e-05/0.2023, allocations: 46.7 kB / 403.3 MB, free: 9.41 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.67e-05/0.2023, allocations: 14.16 kB / 403.3 MB, free: 9.402 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.806e-05/0.2024, allocations: 184.7 kB / 403.5 MB, free: 9.203 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.145e-06/0.2024, allocations: 6.406 kB / 403.5 MB, free: 9.203 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.946e-05/0.2025, allocations: 13.59 kB / 403.5 MB, free: 9.199 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001341/0.2026, allocations: 96.39 kB / 403.6 MB, free: 9.16 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.975e-06/0.2026, allocations: 5.953 kB / 403.6 MB, free: 9.156 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.245e-06/0.2026, allocations: 3.125 kB / 403.6 MB, free: 9.156 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.467e-06/0.2026, allocations: 6.875 kB / 403.6 MB, free: 9.152 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.872e-05/0.2028, allocations: 58.22 kB / 403.6 MB, free: 9.152 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003708/0.2031, allocations: 383.2 kB / 404 MB, free: 8.867 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001483/0.2033, allocations: 104.8 kB / 404.1 MB, free: 8.84 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.122e-05/0.2033, allocations: 36.23 kB / 404.2 MB, free: 8.832 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.031e-05/0.2034, allocations: 1.344 kB / 404.2 MB, free: 8.832 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.135e-05/0.2034, allocations: 32.47 kB / 404.2 MB, free: 8.793 MB / 286.1 MB Notification: Performance of pre-optimization done (n=12): time 1.543e-06/0.2034, allocations: 2.062 kB / 404.2 MB, free: 8.793 MB / 286.1 MB Notification: Performance of matching and sorting (n=16): time 0.0008324/0.2042, allocations: 0.6927 MB / 404.9 MB, free: 8.309 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.936e-05/0.2042, allocations: 53.83 kB / 404.9 MB, free: 8.246 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.148e-05/0.2043, allocations: 120.3 kB / 405.1 MB, free: 8.148 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 9.818e-06/0.2043, allocations: 31.09 kB / 405.1 MB, free: 8.117 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.246e-05/0.2044, allocations: 97.95 kB / 405.2 MB, free: 8.027 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.915e-05/0.2044, allocations: 51.52 kB / 405.2 MB, free: 7.996 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.936e-05/0.2044, allocations: 33.09 kB / 405.3 MB, free: 7.98 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 4.301e-05/0.2045, allocations: 324.9 kB / 405.6 MB, free: 7.664 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.431e-05/0.2046, allocations: 36.56 kB / 405.6 MB, free: 7.66 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.035e-05/0.2046, allocations: 56.41 kB / 405.7 MB, free: 7.637 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001133/0.2047, allocations: 103.1 kB / 405.8 MB, free: 7.609 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.12e-07/0.2047, allocations: 0 / 405.8 MB, free: 7.609 MB / 286.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002221/0.205, allocations: 170.3 kB / 405.9 MB, free: 7.551 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.171e-05/0.205, allocations: 4.406 kB / 405.9 MB, free: 7.551 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.205, allocations: 1.922 kB / 405.9 MB, free: 7.551 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001207/0.2051, allocations: 28.39 kB / 406 MB, free: 7.543 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001038/0.2052, allocations: 29 kB / 406 MB, free: 7.539 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007265/0.206, allocations: 1.456 MB / 407.5 MB, free: 6.102 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.901e-05/0.206, allocations: 10.39 kB / 407.5 MB, free: 6.094 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.654e-06/0.206, allocations: 7.688 kB / 407.5 MB, free: 6.09 MB / 286.1 MB 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 (16): * Single equations (assignments): 15 * 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,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 6.079e-05/0.2061, allocations: 127.8 kB / 407.6 MB, free: 5.961 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.057e-05/0.2061, allocations: 13.98 kB / 407.6 MB, free: 5.953 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.572e-05/0.2062, allocations: 15 kB / 407.6 MB, free: 5.938 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.2062, allocations: 2 kB / 407.6 MB, free: 5.938 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/0.2062, allocations: 1.156 kB / 407.6 MB, free: 5.938 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.2062, allocations: 1.594 kB / 407.6 MB, free: 5.938 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004726/0.2067, allocations: 0.548 MB / 408.2 MB, free: 5.449 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.475e-06/0.2067, allocations: 1.094 kB / 408.2 MB, free: 5.449 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001081/0.2068, allocations: 23.72 kB / 408.2 MB, free: 5.449 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.07e-05/0.2069, allocations: 21 kB / 408.2 MB, free: 5.438 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.288e-06/0.2069, allocations: 2.062 kB / 408.2 MB, free: 5.438 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005014/0.2074, allocations: 1.276 MB / 409.5 MB, free: 4.129 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.724e-06/0.2074, allocations: 1.062 kB / 409.5 MB, free: 4.129 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002508/0.2077, allocations: 315.8 kB / 409.8 MB, free: 3.895 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.07e-05/0.2077, allocations: 85.08 kB / 409.9 MB, free: 3.797 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.483e-05/0.2077, allocations: 5.375 kB / 409.9 MB, free: 3.793 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.286e-05/0.2078, allocations: 1.062 kB / 409.9 MB, free: 3.793 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.962e-05/0.2078, allocations: 18.41 kB / 409.9 MB, free: 3.785 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.905e-06/0.2078, allocations: 7.969 kB / 409.9 MB, free: 3.781 MB / 286.1 MB Notification: Performance of sorting global known variables: time 3.516e-05/0.2079, allocations: 93.42 kB / 410 MB, free: 3.703 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2079, allocations: 1.094 kB / 410 MB, free: 3.703 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002836/0.2082, allocations: 29.97 kB / 410.1 MB, free: 3.699 MB / 286.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (mass1.s,mass1.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.0003731/0.2085, allocations: 0.8373 MB / 410.9 MB, free: 2.93 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0002645/0.2088, allocations: 219 kB / 411.1 MB, free: 2.781 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.2088, allocations: 0 / 411.1 MB, free: 2.781 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000136/0.209, allocations: 166.6 kB / 411.3 MB, free: 2.652 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003198/0.2093, allocations: 25.92 kB / 411.3 MB, free: 2.641 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001329/0.2106, allocations: 1.875 MB / 413.2 MB, free: 1.035 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001091/0.2107, allocations: 0.7048 MB / 413.9 MB, free: 348 kB / 286.1 MB Notification: Performance of simCode: alias equations: time 4.697e-05/0.2108, allocations: 16.11 kB / 413.9 MB, free: 344 kB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.753e-05/0.2108, allocations: 27.53 kB / 413.9 MB, free: 324 kB / 286.1 MB Notification: Performance of SimCode: time 3.01e-07/0.2109, allocations: 0 / 413.9 MB, free: 324 kB / 286.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.89/2.101, allocations: 2.745 MB / 416.7 MB, free: 16 kB / 286.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002572/2.101, allocations: 288.6 kB / 416.9 MB, free: 15.63 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.606/3.707, allocations: 4 kB / 416.9 MB, free: 15.63 MB / 302.1 MB (rm -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedInitial.pipe ; mkfifo ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedInitial.pipe ; head -c 1048576 < ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedInitial.pipe >> ../files/ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedInitial.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Mechanical_TwoMassesReducedInitial_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Mechanical_TwoMassesReducedInitial.fmu > ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedInitial.pipe 2>&1)