Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedSteadyState.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.TwoMassesEquationsReducedSteadyState,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Mechanical_TwoMassesEquationsReducedSteadyState",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedSteadyState,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Mechanical_TwoMassesEquationsReducedSteadyState",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.001168/0.001168, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001219/0.001219, allocations: 198.1 kB / 16.14 MB, free: 6.688 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.167/1.167, allocations: 222.9 MB / 239.8 MB, free: 4.609 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.002299/0.002299, allocations: 0.5621 MB / 290.5 MB, free: 1.922 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001281/0.001281, allocations: 59.91 kB / 351 MB, free: 2.68 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07912/0.08042, allocations: 49.6 MB / 400.6 MB, free: 1.043 MB / 286.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedSteadyState): time 0.00144/0.08189, allocations: 0.5696 MB / 401.2 MB, free: 484 kB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001167/0.08202, allocations: 23.91 kB / 401.2 MB, free: 460 kB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.654e-05/0.08205, allocations: 0 / 401.2 MB, free: 460 kB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 1.417e-05/0.08207, allocations: 4 kB / 401.2 MB, free: 456 kB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 2.269e-05/0.0821, allocations: 3.938 kB / 401.2 MB, free: 452 kB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 9.831e-05/0.0822, allocations: 11.98 kB / 401.2 MB, free: 440 kB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 4.07e-05/0.08225, allocations: 19.92 kB / 401.2 MB, free: 420 kB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.708e-05/0.08229, allocations: 3.984 kB / 401.2 MB, free: 416 kB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.602e-05/0.08232, allocations: 4 kB / 401.2 MB, free: 412 kB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.503e-05/0.08238, allocations: 15.92 kB / 401.2 MB, free: 396 kB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.138e-05/0.08239, allocations: 0 / 401.2 MB, free: 396 kB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.434e-06/0.0824, allocations: 0 / 401.2 MB, free: 396 kB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 1.633e-05/0.08242, allocations: 11.97 kB / 401.2 MB, free: 384 kB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 2.049e-05/0.08245, allocations: 7.938 kB / 401.3 MB, free: 376 kB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 4.149e-05/0.0825, allocations: 15.92 kB / 401.3 MB, free: 360 kB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.0825, allocations: 0 / 401.3 MB, free: 360 kB / 286.1 MB Notification: Performance of FrontEnd: time 5.71e-07/0.08251, allocations: 0 / 401.3 MB, free: 360 kB / 286.1 MB Notification: Performance of Transformations before backend: time 2.826e-06/0.08251, allocations: 0 / 401.3 MB, free: 360 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.1182/0.2007, allocations: 333.6 kB / 401.6 MB, free: 10.75 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.871e-05/0.2008, allocations: 9.438 kB / 401.6 MB, free: 10.75 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.506e-05/0.2008, allocations: 35.69 kB / 401.6 MB, free: 10.71 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.23e-05/0.2008, allocations: 2.125 kB / 401.6 MB, free: 10.71 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.501e-05/0.2009, allocations: 166 kB / 401.8 MB, free: 10.51 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.568e-06/0.2009, allocations: 4.562 kB / 401.8 MB, free: 10.51 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.063e-05/0.201, allocations: 3.672 kB / 401.8 MB, free: 10.51 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.925e-05/0.2011, allocations: 45.22 kB / 401.9 MB, free: 10.48 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.999e-06/0.2011, allocations: 5.578 kB / 401.9 MB, free: 10.48 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.853e-06/0.2011, allocations: 0 / 401.9 MB, free: 10.48 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.448e-06/0.2011, allocations: 1.125 kB / 401.9 MB, free: 10.48 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.178e-05/0.2011, allocations: 20.47 kB / 401.9 MB, free: 10.48 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003535/0.2015, allocations: 295.4 kB / 402.2 MB, free: 10.18 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.088e-05/0.2016, allocations: 43.38 kB / 402.2 MB, free: 10.15 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.518e-05/0.2016, allocations: 13.88 kB / 402.2 MB, free: 10.14 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.124e-05/0.2017, allocations: 3.125 kB / 402.2 MB, free: 10.14 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.773e-05/0.2017, allocations: 40.56 kB / 402.3 MB, free: 10.11 MB / 286.1 MB Notification: Performance of pre-optimization done (n=4): time 1.143e-06/0.2017, allocations: 0 / 402.3 MB, free: 10.11 MB / 286.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003819/0.2021, allocations: 157 kB / 402.4 MB, free: 9.973 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.049e-05/0.2021, allocations: 51.41 kB / 402.5 MB, free: 9.91 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.093e-05/0.2022, allocations: 101.1 kB / 402.6 MB, free: 9.812 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 7.123e-06/0.2022, allocations: 25.7 kB / 402.6 MB, free: 9.781 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.005e-05/0.2022, allocations: 97.67 kB / 402.7 MB, free: 9.691 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.879e-05/0.2022, allocations: 13.8 kB / 402.7 MB, free: 9.684 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.069e-05/0.2023, allocations: 21.78 kB / 402.7 MB, free: 9.668 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 5.082e-05/0.2023, allocations: 321.2 kB / 403 MB, free: 9.352 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.236e-05/0.2024, allocations: 9.391 kB / 403.1 MB, free: 9.352 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.281e-05/0.2024, allocations: 21.44 kB / 403.1 MB, free: 9.336 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.833e-05/0.2024, allocations: 34.05 kB / 403.1 MB, free: 9.32 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.2025, allocations: 0.5156 kB / 403.1 MB, free: 9.32 MB / 286.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 8.16e-05/0.2025, allocations: 65.23 kB / 403.2 MB, free: 9.289 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.49e-05/0.2026, allocations: 5.438 kB / 403.2 MB, free: 9.289 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.631e-06/0.2026, allocations: 5.562 kB / 403.2 MB, free: 9.285 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.473e-05/0.2026, allocations: 1.438 kB / 403.2 MB, free: 9.285 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.314e-05/0.2027, allocations: 16.89 kB / 403.2 MB, free: 9.281 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.293e-06/0.2027, allocations: 1.156 kB / 403.2 MB, free: 9.281 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.842e-05/0.2027, allocations: 0.8125 kB / 403.2 MB, free: 9.281 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.002e-06/0.2027, allocations: 3.031 kB / 403.2 MB, free: 9.281 MB / 286.1 MB 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 (6): * Single equations (assignments): 6 * 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 4.792e-05/0.2028, allocations: 119.2 kB / 403.3 MB, free: 9.16 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.287e-05/0.2028, allocations: 5.875 kB / 403.3 MB, free: 9.156 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.859e-05/0.2028, allocations: 8.375 kB / 403.3 MB, free: 9.148 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.953e-06/0.2029, allocations: 5.25 kB / 403.3 MB, free: 9.145 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.672e-06/0.2029, allocations: 1 kB / 403.3 MB, free: 9.145 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/0.2029, allocations: 1.078 kB / 403.3 MB, free: 9.145 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001212/0.203, allocations: 159.8 kB / 403.5 MB, free: 8.953 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.203, allocations: 4.625 kB / 403.5 MB, free: 8.953 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.419e-05/0.2031, allocations: 3.469 kB / 403.5 MB, free: 8.953 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001437/0.2032, allocations: 18.75 kB / 403.5 MB, free: 8.945 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.376e-06/0.2032, allocations: 1.203 kB / 403.5 MB, free: 8.945 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006576/0.2039, allocations: 1.256 MB / 404.8 MB, free: 7.672 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.684e-06/0.2039, allocations: 0.5625 kB / 404.8 MB, free: 7.672 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001604/0.2041, allocations: 184 kB / 405 MB, free: 7.523 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.888e-05/0.2041, allocations: 78.56 kB / 405 MB, free: 7.43 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.026e-05/0.2041, allocations: 6.281 kB / 405 MB, free: 7.426 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.47e-05/0.2042, allocations: 0 / 405 MB, free: 7.426 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.816e-05/0.2042, allocations: 4.016 kB / 405 MB, free: 7.426 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.629e-06/0.2042, allocations: 1.797 kB / 405.1 MB, free: 7.426 MB / 286.1 MB Notification: Performance of sorting global known variables: time 2.2e-05/0.2042, allocations: 82.09 kB / 405.1 MB, free: 7.352 MB / 286.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2042, allocations: 0 / 405.1 MB, free: 7.352 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002125/0.2044, allocations: 10.31 kB / 405.1 MB, free: 7.348 MB / 286.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (x1,v1) * 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 (3): * Single equations (assignments): 2 * 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.0003064/0.2047, allocations: 0.709 MB / 405.9 MB, free: 6.672 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 9.655e-05/0.2049, allocations: 24.78 kB / 405.9 MB, free: 6.672 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.2049, allocations: 5.469 kB / 405.9 MB, free: 6.668 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001616/0.205, allocations: 128 kB / 406 MB, free: 6.555 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001972/0.2052, allocations: 5.375 kB / 406 MB, free: 6.555 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006721/0.2059, allocations: 1.246 MB / 407.3 MB, free: 5.375 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.312e-05/0.206, allocations: 0.6812 MB / 407.9 MB, free: 4.68 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 1.782e-05/0.206, allocations: 7.219 kB / 407.9 MB, free: 4.676 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.49e-05/0.2061, allocations: 9.234 kB / 408 MB, free: 4.668 MB / 286.1 MB Notification: Performance of SimCode: time 2.31e-07/0.2061, allocations: 0 / 408 MB, free: 4.668 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.281/2.487, allocations: 1.33 MB / 409.3 MB, free: 4.453 MB / 286.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001811/2.487, allocations: 300.2 kB / 409.6 MB, free: 4.078 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.652/4.139, allocations: 0 / 409.6 MB, free: 4.078 MB / 286.1 MB (rm -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedSteadyState.pipe ; mkfifo ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedSteadyState.pipe ; head -c 1048576 < ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedSteadyState.pipe >> ../files/ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedSteadyState.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Mechanical_TwoMassesEquationsReducedSteadyState_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Mechanical_TwoMassesEquationsReducedSteadyState.fmu > ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedSteadyState.pipe 2>&1)