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-master/package.mo", uses=false) Using package ModelicaTestOverdetermined with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.0.0-master/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.001035/0.001035, allocations: 102.9 kB / 15.06 MB, free: 1.098 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.00104/0.00104, allocations: 173.3 kB / 15.95 MB, free: 212 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.401/1.401, allocations: 223.2 MB / 239.9 MB, free: 5.375 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.0.0-master/package.mo): time 0.003982/0.003982, allocations: 0.5546 MB / 291.5 MB, free: 1.641 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003584/0.0003585, allocations: 8 kB / 352.7 MB, free: 2.773 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1333/0.1337, allocations: 50.57 MB / 403.3 MB, free: 160 kB / 286.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedSteadyState): time 0.2542/0.388, allocations: 1.281 MB / 404.5 MB, free: 9.816 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003004/0.3883, allocations: 103.4 kB / 404.6 MB, free: 9.805 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.196e-05/0.3884, allocations: 1.188 kB / 404.6 MB, free: 9.805 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 4.018e-05/0.3884, allocations: 9.797 kB / 404.6 MB, free: 9.801 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001052/0.3886, allocations: 32.53 kB / 404.7 MB, free: 9.801 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001259/0.3887, allocations: 16.86 kB / 404.7 MB, free: 9.801 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001433/0.3888, allocations: 75.73 kB / 404.8 MB, free: 9.797 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001344/0.389, allocations: 29.45 kB / 404.8 MB, free: 9.793 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.005e-05/0.3891, allocations: 33.36 kB / 404.8 MB, free: 9.785 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001107/0.3892, allocations: 36.95 kB / 404.9 MB, free: 9.777 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.553e-05/0.3892, allocations: 8.188 kB / 404.9 MB, free: 9.773 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.391e-05/0.3893, allocations: 5.875 kB / 404.9 MB, free: 9.773 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 2.586e-05/0.3893, allocations: 16.88 kB / 404.9 MB, free: 9.77 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 3.741e-05/0.3893, allocations: 44.3 kB / 404.9 MB, free: 9.734 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001468/0.3895, allocations: 76.91 kB / 405 MB, free: 9.73 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.675e-06/0.3895, allocations: 0 / 405 MB, free: 9.73 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.124e-06/0.3895, allocations: 0.9062 kB / 405 MB, free: 9.73 MB / 286.1 MB Notification: Performance of Transformations before backend: time 4.389e-06/0.3895, allocations: 0 / 405 MB, free: 9.73 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.000453/0.39, allocations: 384.5 kB / 405.4 MB, free: 9.355 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.719e-05/0.39, allocations: 8.688 kB / 405.4 MB, free: 9.355 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.852e-05/0.3901, allocations: 45.78 kB / 405.4 MB, free: 9.312 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.633e-05/0.3901, allocations: 9.188 kB / 405.5 MB, free: 9.309 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001538/0.3903, allocations: 191.3 kB / 405.6 MB, free: 9.102 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.57e-05/0.3903, allocations: 6.562 kB / 405.6 MB, free: 9.102 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.911e-05/0.3903, allocations: 9.375 kB / 405.7 MB, free: 9.102 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002191/0.3906, allocations: 94.08 kB / 405.7 MB, free: 9.066 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.237e-05/0.3906, allocations: 0.6875 kB / 405.7 MB, free: 9.066 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.495e-05/0.3906, allocations: 9.062 kB / 405.8 MB, free: 9.062 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.848e-06/0.3906, allocations: 10.45 kB / 405.8 MB, free: 9.055 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001476/0.3908, allocations: 62.81 kB / 405.8 MB, free: 9.051 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005515/0.3913, allocations: 389.3 kB / 406.2 MB, free: 8.77 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002043/0.3915, allocations: 103.9 kB / 406.3 MB, free: 8.715 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.576e-05/0.3916, allocations: 2.547 kB / 406.3 MB, free: 8.715 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.786e-05/0.3916, allocations: 36.84 kB / 406.3 MB, free: 8.672 MB / 286.1 MB Notification: Performance of pre-optimization done (n=12): time 1.283e-06/0.3916, allocations: 1.031 kB / 406.4 MB, free: 8.672 MB / 286.1 MB Notification: Performance of matching and sorting (n=16): time 0.001063/0.3927, allocations: 0.6872 MB / 407 MB, free: 8.09 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.709e-05/0.3927, allocations: 52.78 kB / 407.1 MB, free: 8.027 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.212e-05/0.3928, allocations: 123.4 kB / 407.2 MB, free: 7.918 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.17e-05/0.3928, allocations: 30.86 kB / 407.2 MB, free: 7.883 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.603e-05/0.3929, allocations: 94.02 kB / 407.3 MB, free: 7.789 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.061e-05/0.3929, allocations: 61.34 kB / 407.4 MB, free: 7.742 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.931e-06/0.3929, allocations: 4 kB / 407.4 MB, free: 7.738 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 5.378e-05/0.393, allocations: 321.4 kB / 407.7 MB, free: 7.422 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.74e-05/0.393, allocations: 35.95 kB / 407.7 MB, free: 7.406 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.683e-05/0.3931, allocations: 56.75 kB / 407.8 MB, free: 7.367 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.403e-05/0.3932, allocations: 41.12 kB / 407.8 MB, free: 7.348 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.442e-06/0.3932, allocations: 0.9688 kB / 407.8 MB, free: 7.348 MB / 286.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0001904/0.3934, allocations: 140.7 kB / 408 MB, free: 7.27 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.594e-05/0.3934, allocations: 5.344 kB / 408 MB, free: 7.27 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.172e-06/0.3934, allocations: 1.672 kB / 408 MB, free: 7.27 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.354e-05/0.3935, allocations: 6.125 kB / 408 MB, free: 7.266 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001967/0.3937, allocations: 34.73 kB / 408 MB, free: 7.266 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.795e-06/0.3937, allocations: 5.438 kB / 408 MB, free: 7.262 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.782e-05/0.3937, allocations: 7.016 kB / 408 MB, free: 7.258 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.025e-05/0.3938, allocations: 3.969 kB / 408 MB, free: 7.258 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 (19): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.163e-05/0.3938, allocations: 123.8 kB / 408.2 MB, free: 7.133 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.257e-05/0.3939, allocations: 13.17 kB / 408.2 MB, free: 7.125 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.128e-05/0.3939, allocations: 23.75 kB / 408.2 MB, free: 7.102 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.44e-06/0.3939, allocations: 6.594 kB / 408.2 MB, free: 7.098 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.823e-06/0.3939, allocations: 0 / 408.2 MB, free: 7.098 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.159e-06/0.3939, allocations: 2.234 kB / 408.2 MB, free: 7.098 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005687/0.3945, allocations: 497 kB / 408.7 MB, free: 6.688 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.026e-06/0.3945, allocations: 6.031 kB / 408.7 MB, free: 6.684 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001234/0.3947, allocations: 26.45 kB / 408.7 MB, free: 6.684 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001073/0.3948, allocations: 22.22 kB / 408.7 MB, free: 6.672 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.212e-05/0.3948, allocations: 5.469 kB / 408.8 MB, free: 6.668 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007047/0.3955, allocations: 1.277 MB / 410 MB, free: 5.352 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.3955, allocations: 1.406 kB / 410 MB, free: 5.352 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000338/0.3959, allocations: 341.1 kB / 410.4 MB, free: 5.066 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.168e-05/0.3959, allocations: 89.77 kB / 410.4 MB, free: 4.965 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.735e-05/0.3959, allocations: 10.84 kB / 410.5 MB, free: 4.957 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.726e-05/0.396, allocations: 1.062 kB / 410.5 MB, free: 4.957 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.451e-05/0.3961, allocations: 18.89 kB / 410.5 MB, free: 4.949 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.266e-06/0.3961, allocations: 7.219 kB / 410.5 MB, free: 4.945 MB / 286.1 MB Notification: Performance of sorting global known variables: time 4.325e-05/0.3961, allocations: 92.73 kB / 410.6 MB, free: 4.867 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3961, allocations: 0 / 410.6 MB, free: 4.867 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002747/0.3964, allocations: 31.66 kB / 410.6 MB, free: 4.859 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005086/0.3969, allocations: 1.074 MB / 411.7 MB, free: 3.848 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0001833/0.3971, allocations: 99.5 kB / 411.8 MB, free: 3.816 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.3971, allocations: 4 kB / 411.8 MB, free: 3.812 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000243/0.3974, allocations: 161.6 kB / 411.9 MB, free: 3.688 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003015/0.3977, allocations: 19.92 kB / 412 MB, free: 3.68 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001263/0.399, allocations: 1.178 MB / 413.1 MB, free: 2.73 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001539/0.3991, allocations: 0.7087 MB / 413.8 MB, free: 2.035 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 5.685e-05/0.3992, allocations: 13.56 kB / 413.9 MB, free: 2.031 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.666e-05/0.3993, allocations: 34.28 kB / 413.9 MB, free: 2.008 MB / 286.1 MB Notification: Performance of SimCode: time 2.3e-07/0.3993, allocations: 0 / 413.9 MB, free: 2.008 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01493/0.4142, allocations: 2.536 MB / 416.4 MB, free: 1.797 MB / 286.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001924/0.4144, allocations: 267.2 kB / 416.7 MB, free: 1.441 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.789/2.203, allocations: 0 / 416.7 MB, free: 1.441 MB / 286.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/linux/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)