Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesEquationsFullInitialInconsistent.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.InconsistentInitialization.Mechanical.TwoMassesEquationsFullInitialInconsistent,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_InconsistentInitialization_Mechanical_TwoMassesEquationsFullInitialInconsistent",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesEquationsFullInitialInconsistent,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_InconsistentInitialization_Mechanical_TwoMassesEquationsFullInitialInconsistent",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.001177/0.001177, allocations: 91.77 kB / 15.36 MB, free: 0.7383 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.01071/0.01071, allocations: 171.7 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.018/2.018, allocations: 223.3 MB / 240.3 MB, free: 5.336 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.003943/0.003943, allocations: 0.5426 MB / 292 MB, free: 1.582 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003293/0.0003294, allocations: 4 kB / 353.4 MB, free: 2.379 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3099/0.3103, allocations: 50.56 MB / 404 MB, free: 10.06 MB / 286.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesEquationsFullInitialInconsistent): time 0.0006117/0.3109, allocations: 262.3 kB / 404.2 MB, free: 10.05 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001267/0.3111, allocations: 27.27 kB / 404.2 MB, free: 10.05 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.738e-05/0.3111, allocations: 0 / 404.2 MB, free: 10.05 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 1.266e-05/0.3111, allocations: 4.812 kB / 404.2 MB, free: 10.05 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 2.485e-05/0.3112, allocations: 3.938 kB / 404.3 MB, free: 10.04 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000105/0.3113, allocations: 2.953 kB / 404.3 MB, free: 10.04 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 4.959e-05/0.3113, allocations: 20.03 kB / 404.3 MB, free: 10.04 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.38e-05/0.3114, allocations: 2.422 kB / 404.3 MB, free: 10.04 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.996e-05/0.3114, allocations: 10.3 kB / 404.3 MB, free: 10.04 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.799e-05/0.3115, allocations: 12.7 kB / 404.3 MB, free: 10.04 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.589e-05/0.3115, allocations: 1.75 kB / 404.3 MB, free: 10.04 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.726e-06/0.3115, allocations: 2.812 kB / 404.3 MB, free: 10.04 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 1.449e-05/0.3115, allocations: 1.219 kB / 404.3 MB, free: 10.04 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 3.057e-05/0.3116, allocations: 42.48 kB / 404.3 MB, free: 10 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 4.611e-05/0.3116, allocations: 13.17 kB / 404.4 MB, free: 9.996 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.006e-06/0.3116, allocations: 0 / 404.4 MB, free: 9.996 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.062e-06/0.3116, allocations: 0.75 kB / 404.4 MB, free: 9.996 MB / 286.1 MB Notification: Performance of Transformations before backend: time 3.337e-06/0.3116, allocations: 0 / 404.4 MB, free: 9.996 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.00024/0.3119, allocations: 330.8 kB / 404.7 MB, free: 9.645 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.815e-05/0.3119, allocations: 9.438 kB / 404.7 MB, free: 9.645 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.189e-05/0.3119, allocations: 36.33 kB / 404.7 MB, free: 9.605 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.972e-05/0.312, allocations: 6.953 kB / 404.7 MB, free: 9.602 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.915e-05/0.312, allocations: 167.4 kB / 404.9 MB, free: 9.402 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.257e-06/0.3121, allocations: 4.219 kB / 404.9 MB, free: 9.402 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.011e-05/0.3121, allocations: 7.344 kB / 404.9 MB, free: 9.402 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.177e-05/0.3122, allocations: 45.44 kB / 405 MB, free: 9.371 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.297e-05/0.3122, allocations: 5.141 kB / 405 MB, free: 9.367 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.173e-06/0.3122, allocations: 5.031 kB / 405 MB, free: 9.363 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.931e-06/0.3122, allocations: 0 / 405 MB, free: 9.363 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.874e-05/0.3123, allocations: 14.42 kB / 405 MB, free: 9.363 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002233/0.3125, allocations: 255.6 kB / 405.2 MB, free: 9.09 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.819e-05/0.3126, allocations: 58.97 kB / 405.3 MB, free: 9.059 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.425e-05/0.3126, allocations: 17.83 kB / 405.3 MB, free: 9.051 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.656e-06/0.3127, allocations: 0.8438 kB / 405.3 MB, free: 9.051 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.417e-05/0.3127, allocations: 35.56 kB / 405.3 MB, free: 9.012 MB / 286.1 MB Notification: Performance of pre-optimization done (n=6): time 8.52e-07/0.3127, allocations: 0 / 405.3 MB, free: 9.012 MB / 286.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005613/0.3132, allocations: 0.4961 MB / 405.8 MB, free: 8.566 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.176e-05/0.3133, allocations: 52.84 kB / 405.9 MB, free: 8.504 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.485e-05/0.3133, allocations: 97.14 kB / 406 MB, free: 8.406 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 9.277e-06/0.3133, allocations: 33.52 kB / 406 MB, free: 8.371 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.981e-05/0.3134, allocations: 85.45 kB / 406.1 MB, free: 8.285 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.739e-05/0.3134, allocations: 30.16 kB / 406.1 MB, free: 8.266 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.402e-05/0.3134, allocations: 21.27 kB / 406.1 MB, free: 8.246 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 4.43e-05/0.3135, allocations: 320.8 kB / 406.5 MB, free: 7.93 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.111e-05/0.3135, allocations: 14.66 kB / 406.5 MB, free: 7.93 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.042e-05/0.3136, allocations: 31.67 kB / 406.5 MB, free: 7.914 MB / 286.1 MB Error: The initialization problem is inconsistent due to the following equation: x1 = 0.0 (1.0 = 0.0) Notification: Performance of analyzeInitialSystem (initialization): time 0.0002832/0.3138, allocations: 246.2 kB / 406.7 MB, free: 7.707 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.11e-07/0.3139, allocations: 4 kB / 406.7 MB, free: 7.703 MB / 286.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001544/0.314, allocations: 99.78 kB / 406.8 MB, free: 7.656 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.471e-05/0.314, allocations: 6.969 kB / 406.9 MB, free: 7.656 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.314, allocations: 5.219 kB / 406.9 MB, free: 7.652 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001074/0.3142, allocations: 27.03 kB / 406.9 MB, free: 7.641 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.955e-05/0.3142, allocations: 11.33 kB / 406.9 MB, free: 7.641 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007057/0.3149, allocations: 1.284 MB / 408.2 MB, free: 6.367 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.142e-05/0.315, allocations: 2.906 kB / 408.2 MB, free: 6.367 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.961e-06/0.315, allocations: 2.656 kB / 408.2 MB, free: 6.367 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 (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,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 7.941e-05/0.3151, allocations: 119 kB / 408.3 MB, free: 6.25 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.467e-05/0.3151, allocations: 9.438 kB / 408.3 MB, free: 6.242 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.217e-05/0.3151, allocations: 9.172 kB / 408.3 MB, free: 6.23 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.3151, allocations: 1.812 kB / 408.3 MB, free: 6.23 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.967e-06/0.3151, allocations: 2.219 kB / 408.3 MB, free: 6.23 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.467e-06/0.3152, allocations: 0 / 408.3 MB, free: 6.23 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003679/0.3155, allocations: 373 kB / 408.7 MB, free: 5.891 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.414e-06/0.3155, allocations: 1.125 kB / 408.7 MB, free: 5.891 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.72e-05/0.3156, allocations: 11.78 kB / 408.7 MB, free: 5.887 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.031e-05/0.3157, allocations: 23.61 kB / 408.7 MB, free: 5.875 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.296e-06/0.3157, allocations: 2.812 kB / 408.7 MB, free: 5.875 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006764/0.3164, allocations: 1.301 MB / 410 MB, free: 4.602 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.346e-06/0.3164, allocations: 2.578 kB / 410 MB, free: 4.602 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002153/0.3166, allocations: 232.4 kB / 410.3 MB, free: 4.426 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.357e-05/0.3166, allocations: 80.84 kB / 410.3 MB, free: 4.332 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.222e-05/0.3166, allocations: 3.75 kB / 410.3 MB, free: 4.332 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.517e-05/0.3167, allocations: 5.719 kB / 410.3 MB, free: 4.328 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.444e-05/0.3167, allocations: 9.781 kB / 410.4 MB, free: 4.328 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.25e-06/0.3167, allocations: 2.094 kB / 410.4 MB, free: 4.328 MB / 286.1 MB Notification: Performance of sorting global known variables: time 2.189e-05/0.3168, allocations: 84.64 kB / 410.4 MB, free: 4.25 MB / 286.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3168, allocations: 4.062 kB / 410.4 MB, free: 4.246 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002283/0.317, allocations: 12.88 kB / 410.5 MB, free: 4.246 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 (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,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003569/0.3174, allocations: 0.7493 MB / 411.2 MB, free: 3.551 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0002334/0.3176, allocations: 165 kB / 411.4 MB, free: 3.438 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.3176, allocations: 0 / 411.4 MB, free: 3.438 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001508/0.3178, allocations: 144.7 kB / 411.5 MB, free: 3.324 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002083/0.318, allocations: 10.02 kB / 411.5 MB, free: 3.32 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009364/0.3189, allocations: 1.417 MB / 412.9 MB, free: 2.035 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001044/0.3191, allocations: 0.6845 MB / 413.6 MB, free: 1.34 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 1.605e-05/0.3191, allocations: 2.859 kB / 413.6 MB, free: 1.34 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.102e-05/0.3191, allocations: 21.52 kB / 413.6 MB, free: 1.332 MB / 286.1 MB Notification: Performance of SimCode: time 3.11e-07/0.3191, allocations: 0 / 413.6 MB, free: 1.332 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2046/0.5237, allocations: 1.563 MB / 415.2 MB, free: 1.133 MB / 286.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004296/0.5242, allocations: 311 kB / 415.5 MB, free: 0.7539 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.025/2.55, allocations: 0 / 415.5 MB, free: 0.7539 MB / 286.1 MB (rm -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesEquationsFullInitialInconsistent.pipe ; mkfifo ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesEquationsFullInitialInconsistent.pipe ; head -c 1048576 < ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesEquationsFullInitialInconsistent.pipe >> ../files/ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesEquationsFullInitialInconsistent.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ModelicaTestOverdetermined_ModelicaTestOverdetermined_InconsistentInitialization_Mechanical_TwoMassesEquationsFullInitialInconsistent_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTestOverdetermined_ModelicaTestOverdetermined_InconsistentInitialization_Mechanical_TwoMassesEquationsFullInitialInconsistent.fmu > ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesEquationsFullInitialInconsistent.pipe 2>&1)