Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesFullInitialInconsistent.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.InconsistentInitialization.Mechanical.TwoMassesFullInitialInconsistent,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_InconsistentInitialization_Mechanical_TwoMassesFullInitialInconsistent",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesFullInitialInconsistent,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_InconsistentInitialization_Mechanical_TwoMassesFullInitialInconsistent",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.001356/0.001357, allocations: 91.61 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.001689/0.001689, allocations: 172.7 kB / 15.95 MB, free: 208 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.584/1.584, allocations: 223.3 MB / 240 MB, free: 5.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.0.0-master/package.mo): time 0.003984/0.003984, allocations: 0.5547 MB / 291.6 MB, free: 1.668 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003379/0.000338, allocations: 8 kB / 352.8 MB, free: 2.727 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1311/0.1315, allocations: 50.57 MB / 403.3 MB, free: 116 kB / 286.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesFullInitialInconsistent): time 0.2389/0.3704, allocations: 1.323 MB / 404.7 MB, free: 9.801 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003158/0.3708, allocations: 93.09 kB / 404.8 MB, free: 9.789 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.012e-05/0.3708, allocations: 1.531 kB / 404.8 MB, free: 9.789 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 3.709e-05/0.3709, allocations: 14.62 kB / 404.8 MB, free: 9.781 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001104/0.371, allocations: 25.12 kB / 404.8 MB, free: 9.773 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001507/0.3712, allocations: 25.16 kB / 404.8 MB, free: 9.766 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001705/0.3713, allocations: 98.7 kB / 404.9 MB, free: 9.738 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001413/0.3715, allocations: 36.09 kB / 405 MB, free: 9.734 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.687e-05/0.3716, allocations: 32.42 kB / 405 MB, free: 9.727 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001034/0.3717, allocations: 39.08 kB / 405 MB, free: 9.719 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.705e-05/0.3717, allocations: 4.5 kB / 405 MB, free: 9.719 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.438e-05/0.3718, allocations: 5.062 kB / 405 MB, free: 9.719 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 2.232e-05/0.3718, allocations: 17.14 kB / 405 MB, free: 9.715 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 3.527e-05/0.3718, allocations: 41.45 kB / 405.1 MB, free: 9.684 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001532/0.372, allocations: 82.5 kB / 405.2 MB, free: 9.676 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.752e-06/0.372, allocations: 0 / 405.2 MB, free: 9.676 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.914e-06/0.372, allocations: 4.594 kB / 405.2 MB, free: 9.672 MB / 286.1 MB Notification: Performance of Transformations before backend: time 4.979e-06/0.372, allocations: 0 / 405.2 MB, free: 9.672 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.0004904/0.3725, allocations: 381.7 kB / 405.5 MB, free: 9.297 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.545e-05/0.3726, allocations: 9.219 kB / 405.6 MB, free: 9.297 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.287e-05/0.3726, allocations: 45.88 kB / 405.6 MB, free: 9.254 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.896e-05/0.3727, allocations: 9.375 kB / 405.6 MB, free: 9.25 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001761/0.3729, allocations: 189.9 kB / 405.8 MB, free: 9.043 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.863e-05/0.3729, allocations: 12.06 kB / 405.8 MB, free: 9.039 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.497e-05/0.3729, allocations: 9.719 kB / 405.8 MB, free: 9.039 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002364/0.3732, allocations: 94.84 kB / 405.9 MB, free: 9.004 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.56e-05/0.3732, allocations: 1.984 kB / 405.9 MB, free: 9.004 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.738e-05/0.3732, allocations: 3.469 kB / 405.9 MB, free: 9.004 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.637e-06/0.3732, allocations: 6.297 kB / 405.9 MB, free: 9 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001597/0.3734, allocations: 56.81 kB / 406 MB, free: 9 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006258/0.374, allocations: 394.1 kB / 406.4 MB, free: 8.715 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002303/0.3743, allocations: 102 kB / 406.5 MB, free: 8.672 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.177e-05/0.3744, allocations: 37.56 kB / 406.5 MB, free: 8.652 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.343e-05/0.3744, allocations: 1.906 kB / 406.5 MB, free: 8.652 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.404e-05/0.3744, allocations: 40.19 kB / 406.5 MB, free: 8.605 MB / 286.1 MB Notification: Performance of pre-optimization done (n=12): time 1.132e-06/0.3744, allocations: 0 / 406.5 MB, free: 8.605 MB / 286.1 MB Notification: Performance of matching and sorting (n=16): time 0.001157/0.3756, allocations: 0.6799 MB / 407.2 MB, free: 8.031 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.363e-05/0.3756, allocations: 53.53 kB / 407.3 MB, free: 7.969 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.925e-05/0.3757, allocations: 120.6 kB / 407.4 MB, free: 7.863 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.401e-05/0.3757, allocations: 33.7 kB / 407.4 MB, free: 7.824 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.606e-05/0.3758, allocations: 95.02 kB / 407.5 MB, free: 7.73 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.942e-05/0.3759, allocations: 60.34 kB / 407.6 MB, free: 7.684 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.842e-06/0.3759, allocations: 8.969 kB / 407.6 MB, free: 7.676 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 8.422e-05/0.376, allocations: 321.4 kB / 407.9 MB, free: 7.359 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.791e-05/0.376, allocations: 32.67 kB / 407.9 MB, free: 7.348 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.375e-05/0.3761, allocations: 60.8 kB / 408 MB, free: 7.309 MB / 286.1 MB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: mass2.v = $START.mass2.v ($START.mass1.v = $START.mass2.v) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: mass1.s = $START.mass1.s ($START.mass2.s + (-0.5) * (mass2.L + mass1.L) = $START.mass1.s) Notification: Performance of analyzeInitialSystem (initialization): time 0.0006643/0.3768, allocations: 316.2 kB / 408.3 MB, free: 7.074 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.3768, allocations: 0.9688 kB / 408.3 MB, free: 7.074 MB / 286.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002977/0.3771, allocations: 171.1 kB / 408.5 MB, free: 6.98 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.302e-05/0.3772, allocations: 6.078 kB / 408.5 MB, free: 6.98 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.658e-06/0.3772, allocations: 1.031 kB / 408.5 MB, free: 6.98 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001568/0.3773, allocations: 31.98 kB / 408.5 MB, free: 6.965 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001098/0.3774, allocations: 27.34 kB / 408.5 MB, free: 6.961 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001092/0.3785, allocations: 1.446 MB / 410 MB, free: 5.52 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.961e-05/0.3786, allocations: 8.797 kB / 410 MB, free: 5.512 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.286e-05/0.3786, allocations: 9.188 kB / 410 MB, free: 5.508 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: mass2.v = $START.mass2.v mass1.s = $START.mass1.s. 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 (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%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001066/0.3787, allocations: 130.8 kB / 410.1 MB, free: 5.379 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.65e-05/0.3788, allocations: 9.219 kB / 410.1 MB, free: 5.375 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.472e-05/0.3788, allocations: 15.5 kB / 410.1 MB, free: 5.359 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/0.3788, allocations: 2.375 kB / 410.1 MB, free: 5.359 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.761e-06/0.3788, allocations: 1.188 kB / 410.1 MB, free: 5.359 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.24e-06/0.3789, allocations: 2.156 kB / 410.1 MB, free: 5.359 MB / 286.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006254/0.3795, allocations: 0.6061 MB / 410.8 MB, free: 4.805 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/0.3795, allocations: 1.156 kB / 410.8 MB, free: 4.805 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00013/0.3796, allocations: 25.59 kB / 410.8 MB, free: 4.805 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.539e-05/0.3797, allocations: 18.92 kB / 410.8 MB, free: 4.793 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.254e-05/0.3797, allocations: 2.094 kB / 410.8 MB, free: 4.793 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000647/0.3804, allocations: 1.273 MB / 412.1 MB, free: 3.484 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.3804, allocations: 1.094 kB / 412.1 MB, free: 3.484 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003306/0.3807, allocations: 306.4 kB / 412.4 MB, free: 3.254 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.282e-05/0.3808, allocations: 84.58 kB / 412.5 MB, free: 3.156 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.779e-05/0.3808, allocations: 3.297 kB / 412.5 MB, free: 3.156 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.626e-05/0.3809, allocations: 5.938 kB / 412.5 MB, free: 3.152 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.309e-05/0.3809, allocations: 17.39 kB / 412.5 MB, free: 3.145 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.047e-05/0.3809, allocations: 8.844 kB / 412.5 MB, free: 3.141 MB / 286.1 MB Notification: Performance of sorting global known variables: time 4.711e-05/0.381, allocations: 92.8 kB / 412.6 MB, free: 3.062 MB / 286.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.381, allocations: 0 / 412.6 MB, free: 3.062 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003146/0.3813, allocations: 30.81 kB / 412.6 MB, free: 3.059 MB / 286.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (mass2.s,mass2.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.000503/0.3818, allocations: 0.8388 MB / 413.5 MB, free: 2.293 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0004467/0.3823, allocations: 225.3 kB / 413.7 MB, free: 2.145 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.3823, allocations: 0 / 413.7 MB, free: 2.145 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001813/0.3825, allocations: 165.9 kB / 413.8 MB, free: 2.016 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000368/0.3829, allocations: 22.48 kB / 413.9 MB, free: 2.008 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001438/0.3843, allocations: 0.9249 MB / 414.8 MB, free: 1.324 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002192/0.3845, allocations: 0.7087 MB / 415.5 MB, free: 0.625 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 6.487e-05/0.3846, allocations: 13.55 kB / 415.5 MB, free: 0.6211 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.94e-05/0.3847, allocations: 31.97 kB / 415.5 MB, free: 0.5977 MB / 286.1 MB Notification: Performance of SimCode: time 2.1e-07/0.3847, allocations: 0 / 415.5 MB, free: 0.5977 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01743/0.4021, allocations: 2.66 MB / 418.2 MB, free: 392 kB / 286.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001805/0.4024, allocations: 274.7 kB / 418.5 MB, free: 28 kB / 286.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.04/2.442, allocations: 0 / 418.5 MB, free: 28 kB / 286.1 MB (rm -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesFullInitialInconsistent.pipe ; mkfifo ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesFullInitialInconsistent.pipe ; head -c 1048576 < ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesFullInitialInconsistent.pipe >> ../files/ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesFullInitialInconsistent.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_ModelicaTestOverdetermined_ModelicaTestOverdetermined_InconsistentInitialization_Mechanical_TwoMassesFullInitialInconsistent_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 ModelicaTestOverdetermined_ModelicaTestOverdetermined_InconsistentInitialization_Mechanical_TwoMassesFullInitialInconsistent.fmu > ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesFullInitialInconsistent.pipe 2>&1)