Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedSteadyState.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.TwoMassesReducedSteadyState,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Mechanical_TwoMassesReducedSteadyState",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedSteadyState,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Mechanical_TwoMassesReducedSteadyState",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.004609/0.004609, allocations: 102.7 kB / 15.73 MB, free: 6.051 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.001041/0.001041, allocations: 189.2 kB / 16.67 MB, free: 5.969 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.275/1.275, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.0.0+maint.om/package.mo): time 0.002426/0.002426, allocations: 0.5555 MB / 291.1 MB, free: 14.18 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00118/0.00118, allocations: 59.91 kB / 401.9 MB, free: 32.76 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08097/0.08216, allocations: 49.59 MB / 451.5 MB, free: 15.12 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedSteadyState): time 0.002499/0.0847, allocations: 1.646 MB / 453.2 MB, free: 13.47 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002355/0.08495, allocations: 83.7 kB / 453.2 MB, free: 13.39 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.318e-05/0.08501, allocations: 3.938 kB / 453.2 MB, free: 13.38 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.676e-05/0.08507, allocations: 23.8 kB / 453.3 MB, free: 13.36 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 9.098e-05/0.08517, allocations: 31.75 kB / 453.3 MB, free: 13.33 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001253/0.0853, allocations: 23.92 kB / 453.3 MB, free: 13.3 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001186/0.08543, allocations: 107.5 kB / 453.4 MB, free: 13.2 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001292/0.08556, allocations: 31.98 kB / 453.5 MB, free: 13.17 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.103e-05/0.08563, allocations: 39.86 kB / 453.5 MB, free: 13.13 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.86e-05/0.08573, allocations: 51.78 kB / 453.5 MB, free: 13.08 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.314e-05/0.08576, allocations: 8 kB / 453.6 MB, free: 13.07 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.988e-05/0.08579, allocations: 8 kB / 453.6 MB, free: 13.06 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.726e-05/0.08582, allocations: 27.84 kB / 453.6 MB, free: 13.04 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.712e-05/0.08588, allocations: 43.81 kB / 453.6 MB, free: 12.99 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001449/0.08603, allocations: 107 kB / 453.7 MB, free: 12.89 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.08604, allocations: 0 / 453.7 MB, free: 12.89 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.08605, allocations: 0 / 453.7 MB, free: 12.89 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.079e-06/0.08606, allocations: 0 / 453.7 MB, free: 12.89 MB / 334.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.0005192/0.08658, allocations: 407.6 kB / 454.1 MB, free: 12.44 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.999e-05/0.08663, allocations: 8.031 kB / 454.1 MB, free: 12.43 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.125e-05/0.08669, allocations: 38.75 kB / 454.2 MB, free: 12.39 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.484e-05/0.08673, allocations: 20.73 kB / 454.2 MB, free: 12.37 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001779/0.08691, allocations: 188.2 kB / 454.4 MB, free: 12.14 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.049e-05/0.08693, allocations: 8.562 kB / 454.4 MB, free: 12.14 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.545e-05/0.08696, allocations: 8.375 kB / 454.4 MB, free: 12.13 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001751/0.08714, allocations: 93.78 kB / 454.5 MB, free: 12.03 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.546e-05/0.08716, allocations: 11.91 kB / 454.5 MB, free: 12.02 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.096e-05/0.08718, allocations: 0 / 454.5 MB, free: 12.02 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.048e-06/0.08719, allocations: 0 / 454.5 MB, free: 12.02 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001082/0.0873, allocations: 62.22 kB / 454.6 MB, free: 11.96 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005222/0.08783, allocations: 380.6 kB / 454.9 MB, free: 11.54 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001841/0.08802, allocations: 106.4 kB / 455 MB, free: 11.43 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.023e-05/0.08809, allocations: 44.84 kB / 455.1 MB, free: 11.38 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.375e-05/0.08811, allocations: 0 / 455.1 MB, free: 11.38 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.304e-05/0.08814, allocations: 34.56 kB / 455.1 MB, free: 11.34 MB / 334.1 MB Notification: Performance of pre-optimization done (n=12): time 1.042e-06/0.08815, allocations: 4 kB / 455.1 MB, free: 11.33 MB / 334.1 MB Notification: Performance of matching and sorting (n=16): time 0.001091/0.08924, allocations: 0.6862 MB / 455.8 MB, free: 10.55 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.908e-05/0.0893, allocations: 55.34 kB / 455.9 MB, free: 10.48 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001002/0.08941, allocations: 129.9 kB / 456 MB, free: 10.35 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.464e-05/0.08943, allocations: 25.7 kB / 456 MB, free: 10.32 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.853e-05/0.08951, allocations: 104.2 kB / 456.1 MB, free: 10.21 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.932e-05/0.08955, allocations: 55.2 kB / 456.2 MB, free: 10.15 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.501e-05/0.0896, allocations: 29.7 kB / 456.2 MB, free: 10.12 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001233/0.08973, allocations: 322.8 kB / 456.5 MB, free: 9.793 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.718e-05/0.0898, allocations: 39.94 kB / 456.6 MB, free: 9.754 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.294e-05/0.08987, allocations: 62.5 kB / 456.6 MB, free: 9.684 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002124/0.09009, allocations: 102.4 kB / 456.7 MB, free: 9.578 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.52e-07/0.0901, allocations: 0 / 456.7 MB, free: 9.578 MB / 334.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0001821/0.09028, allocations: 141.5 kB / 456.9 MB, free: 9.434 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.412e-05/0.09031, allocations: 8 kB / 456.9 MB, free: 9.426 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/0.09032, allocations: 4.031 kB / 456.9 MB, free: 9.422 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.339e-05/0.09033, allocations: 0 / 456.9 MB, free: 9.422 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001755/0.09051, allocations: 35.92 kB / 456.9 MB, free: 9.387 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.06e-06/0.09053, allocations: 4 kB / 456.9 MB, free: 9.383 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.477e-05/0.09058, allocations: 4 kB / 456.9 MB, free: 9.379 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.266e-06/0.09059, allocations: 4 kB / 456.9 MB, free: 9.375 MB / 334.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 (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 9.483e-05/0.09069, allocations: 126.4 kB / 457 MB, free: 9.242 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.52e-05/0.09073, allocations: 15.83 kB / 457.1 MB, free: 9.227 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.411e-05/0.09078, allocations: 16.84 kB / 457.1 MB, free: 9.207 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.316e-06/0.09079, allocations: 8 kB / 457.1 MB, free: 9.199 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.001e-06/0.0908, allocations: 0 / 457.1 MB, free: 9.199 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.09081, allocations: 0 / 457.1 MB, free: 9.199 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005866/0.0914, allocations: 0.4897 MB / 457.6 MB, free: 8.641 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.396e-06/0.09141, allocations: 3.984 kB / 457.6 MB, free: 8.637 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001195/0.09154, allocations: 36.02 kB / 457.6 MB, free: 8.602 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001055/0.09165, allocations: 20.84 kB / 457.6 MB, free: 8.578 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.158e-05/0.09167, allocations: 7.938 kB / 457.6 MB, free: 8.57 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009615/0.09264, allocations: 1.371 MB / 459 MB, free: 7.062 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.09265, allocations: 0 / 459 MB, free: 7.062 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003388/0.093, allocations: 306.7 kB / 459.3 MB, free: 6.734 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.332e-05/0.09305, allocations: 89.02 kB / 459.4 MB, free: 6.629 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.404e-05/0.09307, allocations: 0 / 459.4 MB, free: 6.629 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.021e-05/0.09315, allocations: 8 kB / 459.4 MB, free: 6.621 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.45e-05/0.09318, allocations: 11.92 kB / 459.4 MB, free: 6.609 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.973e-06/0.0932, allocations: 4 kB / 459.4 MB, free: 6.605 MB / 334.1 MB Notification: Performance of sorting global known variables: time 6.227e-05/0.09326, allocations: 103.3 kB / 459.5 MB, free: 6.504 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.09327, allocations: 0 / 459.5 MB, free: 6.504 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000251/0.09352, allocations: 28 kB / 459.5 MB, free: 6.477 MB / 334.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.0006023/0.09413, allocations: 0.8324 MB / 460.4 MB, free: 5.609 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001724/0.09431, allocations: 95.84 kB / 460.5 MB, free: 5.516 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.09433, allocations: 7.938 kB / 460.5 MB, free: 5.508 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002254/0.09456, allocations: 162.6 kB / 460.6 MB, free: 5.336 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003944/0.09496, allocations: 34.56 kB / 460.7 MB, free: 5.305 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001648/0.09662, allocations: 1.794 MB / 462.5 MB, free: 3.406 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002784/0.09691, allocations: 0.7044 MB / 463.2 MB, free: 2.676 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 4.865e-05/0.09697, allocations: 17.08 kB / 463.2 MB, free: 2.66 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.731e-05/0.09703, allocations: 31.42 kB / 463.2 MB, free: 2.629 MB / 334.1 MB Notification: Performance of SimCode: time 2.11e-07/0.09704, allocations: 0 / 463.2 MB, free: 2.629 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02301/0.12, allocations: 2.944 MB / 466.2 MB, free: 15.92 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.54/8.66, allocations: 12.73 kB / 466.2 MB, free: 15.91 MB / 350.1 MB (rm -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedSteadyState.pipe ; mkfifo ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedSteadyState.pipe ; head -c 1048576 < ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedSteadyState.pipe >> ../files/ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedSteadyState.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Mechanical_TwoMassesReducedSteadyState_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Mechanical_TwoMassesReducedSteadyState.fmu > ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedSteadyState.pipe 2>&1)