Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullInitial.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.TwoMassesEquationsFullInitial,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Mechanical_TwoMassesEquationsFullInitial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullInitial,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Mechanical_TwoMassesEquationsFullInitial",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.0009841/0.0009842, allocations: 100 kB / 15.05 MB, free: 1.105 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.0009428/0.0009428, allocations: 177.3 kB / 15.95 MB, free: 216 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.543/1.543, allocations: 223.2 MB / 239.9 MB, free: 5.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.0.0-master/package.mo): time 0.002508/0.002508, allocations: 0.5545 MB / 291.5 MB, free: 1.633 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003364/0.0003364, allocations: 12 kB / 352.7 MB, free: 2.75 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1256/0.1259, allocations: 50.57 MB / 403.2 MB, free: 140 kB / 286.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullInitial): time 0.2732/0.3992, allocations: 232 kB / 403.5 MB, free: 9.852 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001398/0.3994, allocations: 28.91 kB / 403.5 MB, free: 9.852 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.313e-05/0.3994, allocations: 0 / 403.5 MB, free: 9.852 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 9.859e-06/0.3994, allocations: 0.7812 kB / 403.5 MB, free: 9.852 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 3.504e-05/0.3995, allocations: 0 / 403.5 MB, free: 9.852 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001106/0.3996, allocations: 10.38 kB / 403.5 MB, free: 9.852 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 5.332e-05/0.3997, allocations: 9.375 kB / 403.5 MB, free: 9.852 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.769e-05/0.3997, allocations: 2 kB / 403.5 MB, free: 9.852 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.661e-05/0.3998, allocations: 8.172 kB / 403.5 MB, free: 9.852 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.281e-05/0.3998, allocations: 14.03 kB / 403.5 MB, free: 9.848 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.802e-05/0.3999, allocations: 9.812 kB / 403.6 MB, free: 9.844 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.105e-05/0.3999, allocations: 1 kB / 403.6 MB, free: 9.844 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 1.364e-05/0.3999, allocations: 5.25 kB / 403.6 MB, free: 9.844 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 2.361e-05/0.3999, allocations: 33.25 kB / 403.6 MB, free: 9.809 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 4.278e-05/0.4, allocations: 4.984 kB / 403.6 MB, free: 9.809 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.705e-06/0.4, allocations: 0 / 403.6 MB, free: 9.809 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.4, allocations: 0.875 kB / 403.6 MB, free: 9.809 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.16e-06/0.4, allocations: 0 / 403.6 MB, free: 9.809 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0003223/0.4003, allocations: 335.5 kB / 403.9 MB, free: 9.457 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.439e-05/0.4004, allocations: 9.312 kB / 403.9 MB, free: 9.457 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.031e-05/0.4004, allocations: 32.47 kB / 404 MB, free: 9.418 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.581e-05/0.4005, allocations: 9.828 kB / 404 MB, free: 9.414 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001001/0.4006, allocations: 161.5 kB / 404.1 MB, free: 9.219 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.307e-05/0.4006, allocations: 5.781 kB / 404.1 MB, free: 9.215 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.603e-05/0.4006, allocations: 6.875 kB / 404.2 MB, free: 9.215 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001188/0.4007, allocations: 42.45 kB / 404.2 MB, free: 9.184 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.433e-05/0.4008, allocations: 2.547 kB / 404.2 MB, free: 9.184 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.784e-06/0.4008, allocations: 0 / 404.2 MB, free: 9.184 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.951e-06/0.4008, allocations: 3.953 kB / 404.2 MB, free: 9.18 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.964e-05/0.4008, allocations: 18.17 kB / 404.2 MB, free: 9.176 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002651/0.4011, allocations: 247.5 kB / 404.5 MB, free: 8.91 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001093/0.4012, allocations: 54.73 kB / 404.5 MB, free: 8.883 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.167e-05/0.4013, allocations: 1.188 kB / 404.5 MB, free: 8.883 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.764e-05/0.4013, allocations: 31.88 kB / 404.5 MB, free: 8.844 MB / 286.1 MB Notification: Performance of pre-optimization done (n=6): time 1.182e-06/0.4013, allocations: 1.312 kB / 404.5 MB, free: 8.844 MB / 286.1 MB Notification: Performance of matching and sorting (n=8): time 0.0007357/0.402, allocations: 0.5002 MB / 405 MB, free: 8.391 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.796e-05/0.4021, allocations: 53.39 kB / 405.1 MB, free: 8.328 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.359e-05/0.4021, allocations: 104.7 kB / 405.2 MB, free: 8.227 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.094e-05/0.4022, allocations: 29.08 kB / 405.2 MB, free: 8.195 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.797e-05/0.4022, allocations: 82.19 kB / 405.3 MB, free: 8.113 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.808e-05/0.4022, allocations: 29.08 kB / 405.3 MB, free: 8.094 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.149e-06/0.4022, allocations: 4.062 kB / 405.3 MB, free: 8.094 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 6.379e-05/0.4023, allocations: 317.8 kB / 405.7 MB, free: 7.777 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.776e-05/0.4024, allocations: 14.72 kB / 405.7 MB, free: 7.777 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.547e-05/0.4024, allocations: 30.61 kB / 405.7 MB, free: 7.762 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000231/0.4026, allocations: 197.9 kB / 405.9 MB, free: 7.574 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-06/0.4027, allocations: 0.9375 kB / 405.9 MB, free: 7.574 MB / 286.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001692/0.4028, allocations: 102.3 kB / 406 MB, free: 7.523 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.899e-05/0.4029, allocations: 10.66 kB / 406 MB, free: 7.52 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.54e-06/0.4029, allocations: 4 kB / 406 MB, free: 7.516 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000119/0.403, allocations: 23.05 kB / 406 MB, free: 7.504 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.197e-05/0.4031, allocations: 17.66 kB / 406 MB, free: 7.5 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008222/0.4039, allocations: 1.29 MB / 407.3 MB, free: 6.234 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.29e-05/0.4039, allocations: 5.062 kB / 407.3 MB, free: 6.23 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.648e-06/0.404, allocations: 2.688 kB / 407.3 MB, free: 6.23 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 sytem: x1 = 0.0 v1 = 0.0. 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 (8): * Single equations (assignments): 7 * 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%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001311/0.4041, allocations: 122.7 kB / 407.5 MB, free: 6.109 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.456e-05/0.4041, allocations: 5.688 kB / 407.5 MB, free: 6.105 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.324e-05/0.4042, allocations: 8.828 kB / 407.5 MB, free: 6.094 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.22e-06/0.4042, allocations: 6.328 kB / 407.5 MB, free: 6.09 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.4042, allocations: 0 / 407.5 MB, free: 6.09 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.05e-06/0.4042, allocations: 1.531 kB / 407.5 MB, free: 6.09 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004233/0.4046, allocations: 365.4 kB / 407.8 MB, free: 5.754 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/0.4046, allocations: 0.9375 kB / 407.8 MB, free: 5.754 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.468e-05/0.4047, allocations: 8.922 kB / 407.8 MB, free: 5.754 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.825e-05/0.4048, allocations: 30.98 kB / 407.9 MB, free: 5.738 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.387e-06/0.4048, allocations: 2.078 kB / 407.9 MB, free: 5.738 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007006/0.4055, allocations: 1.299 MB / 409.2 MB, free: 4.477 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.015e-06/0.4055, allocations: 1.344 kB / 409.2 MB, free: 4.477 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002313/0.4058, allocations: 261.5 kB / 409.4 MB, free: 4.254 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.347e-05/0.4058, allocations: 80.11 kB / 409.5 MB, free: 4.16 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.31e-05/0.4058, allocations: 2.688 kB / 409.5 MB, free: 4.16 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.724e-05/0.4059, allocations: 1.531 kB / 409.5 MB, free: 4.16 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.405e-05/0.4059, allocations: 16.88 kB / 409.5 MB, free: 4.152 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.991e-06/0.4059, allocations: 2.25 kB / 409.5 MB, free: 4.152 MB / 286.1 MB Notification: Performance of sorting global known variables: time 2.788e-05/0.406, allocations: 81 kB / 409.6 MB, free: 4.078 MB / 286.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.406, allocations: 0 / 409.6 MB, free: 4.078 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002485/0.4062, allocations: 15.91 kB / 409.6 MB, free: 4.074 MB / 286.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (x2,v2) * 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 (6): * Single equations (assignments): 5 * 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%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004702/0.4067, allocations: 0.9999 MB / 410.6 MB, free: 3.125 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0002966/0.407, allocations: 163.2 kB / 410.8 MB, free: 3.012 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.407, allocations: 0 / 410.8 MB, free: 3.012 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001695/0.4072, allocations: 148.3 kB / 410.9 MB, free: 2.898 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001514/0.4073, allocations: 9.734 kB / 410.9 MB, free: 2.895 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000742/0.4081, allocations: 0.6503 MB / 411.6 MB, free: 2.34 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001551/0.4083, allocations: 0.6882 MB / 412.3 MB, free: 1.645 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 2.161e-05/0.4083, allocations: 2.875 kB / 412.3 MB, free: 1.641 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.646e-05/0.4083, allocations: 16.8 kB / 412.3 MB, free: 1.637 MB / 286.1 MB Notification: Performance of SimCode: time 2.31e-07/0.4083, allocations: 0 / 412.3 MB, free: 1.637 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01307/0.4214, allocations: 1.485 MB / 413.8 MB, free: 1.512 MB / 286.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001948/0.4217, allocations: 272.8 kB / 414.1 MB, free: 1.148 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.75/2.172, allocations: 0 / 414.1 MB, free: 1.148 MB / 286.1 MB (rm -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullInitial.pipe ; mkfifo ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullInitial.pipe ; head -c 1048576 < ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullInitial.pipe >> ../files/ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullInitial.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Mechanical_TwoMassesEquationsFullInitial_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Mechanical_TwoMassesEquationsFullInitial.fmu > ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullInitial.pipe 2>&1)