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-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.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.001097/0.001101, 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.001515/0.001515, allocations: 177.3 kB / 15.94 MB, free: 228 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.445/1.445, allocations: 223.2 MB / 239.9 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.0.0-master/package.mo): time 0.003846/0.003846, allocations: 0.5547 MB / 291.5 MB, free: 1.609 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003637/0.000364, allocations: 8 kB / 352.7 MB, free: 2.762 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.117/0.1174, allocations: 50.58 MB / 403.2 MB, free: 148 kB / 286.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesEquationsFullInitialInconsistent): time 0.2218/0.3393, allocations: 242.3 kB / 403.5 MB, free: 9.441 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001552/0.3395, allocations: 28.53 kB / 403.5 MB, free: 9.438 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.181e-05/0.3395, allocations: 0 / 403.5 MB, free: 9.438 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 1.739e-05/0.3395, allocations: 5.656 kB / 403.5 MB, free: 9.438 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 3.532e-05/0.3396, allocations: 0 / 403.5 MB, free: 9.438 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001199/0.3397, allocations: 11.16 kB / 403.5 MB, free: 9.438 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 5.831e-05/0.3398, allocations: 10.72 kB / 403.5 MB, free: 9.438 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.644e-05/0.3398, allocations: 2.531 kB / 403.5 MB, free: 9.438 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.706e-05/0.3399, allocations: 9.234 kB / 403.5 MB, free: 9.438 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.268e-05/0.3399, allocations: 13.75 kB / 403.6 MB, free: 9.434 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.079e-05/0.34, allocations: 2.031 kB / 403.6 MB, free: 9.434 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.102e-05/0.34, allocations: 1 kB / 403.6 MB, free: 9.434 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 1.511e-05/0.34, allocations: 2.781 kB / 403.6 MB, free: 9.434 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 2.388e-05/0.34, allocations: 32.77 kB / 403.6 MB, free: 9.402 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 4.121e-05/0.3401, allocations: 9.531 kB / 403.6 MB, free: 9.402 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.515e-06/0.3401, allocations: 0 / 403.6 MB, free: 9.402 MB / 286.1 MB Notification: Performance of FrontEnd: time 3.827e-06/0.3401, allocations: 0 / 403.6 MB, free: 9.402 MB / 286.1 MB Notification: Performance of Transformations before backend: time 4.198e-06/0.3401, allocations: 7.766 kB / 403.6 MB, free: 9.398 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.0003335/0.3404, allocations: 331.5 kB / 403.9 MB, free: 9.047 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.199e-05/0.3405, allocations: 9.906 kB / 403.9 MB, free: 9.047 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.254e-05/0.3405, allocations: 32.11 kB / 404 MB, free: 9.008 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.783e-05/0.3406, allocations: 6.484 kB / 404 MB, free: 9.004 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.423e-05/0.3407, allocations: 162.7 kB / 404.1 MB, free: 8.809 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.241e-05/0.3407, allocations: 4.312 kB / 404.1 MB, free: 8.809 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.307e-05/0.3407, allocations: 3.719 kB / 404.2 MB, free: 8.809 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001114/0.3408, allocations: 44.38 kB / 404.2 MB, free: 8.777 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.112e-05/0.3408, allocations: 1.609 kB / 404.2 MB, free: 8.777 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.606e-06/0.3409, allocations: 0 / 404.2 MB, free: 8.777 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.197e-06/0.3409, allocations: 8.984 kB / 404.2 MB, free: 8.77 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.998e-05/0.3409, allocations: 17.73 kB / 404.2 MB, free: 8.766 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000278/0.3412, allocations: 246.9 kB / 404.5 MB, free: 8.5 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001062/0.3413, allocations: 49.25 kB / 404.5 MB, free: 8.477 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.154e-05/0.3414, allocations: 1.891 kB / 404.5 MB, free: 8.477 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.885e-05/0.3414, allocations: 38.81 kB / 404.6 MB, free: 8.434 MB / 286.1 MB Notification: Performance of pre-optimization done (n=6): time 1.002e-06/0.3414, allocations: 0 / 404.6 MB, free: 8.434 MB / 286.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006925/0.3421, allocations: 0.5031 MB / 405.1 MB, free: 7.984 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.658e-05/0.3421, allocations: 56.47 kB / 405.1 MB, free: 7.918 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.121e-05/0.3422, allocations: 98.55 kB / 405.2 MB, free: 7.82 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 9.217e-06/0.3422, allocations: 30.58 kB / 405.2 MB, free: 7.785 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.452e-05/0.3422, allocations: 84.98 kB / 405.3 MB, free: 7.703 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.184e-05/0.3423, allocations: 29.25 kB / 405.3 MB, free: 7.684 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.589e-06/0.3423, allocations: 0.5312 kB / 405.3 MB, free: 7.684 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 5.353e-05/0.3423, allocations: 320.8 kB / 405.7 MB, free: 7.367 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.229e-05/0.3424, allocations: 13.94 kB / 405.7 MB, free: 7.367 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.225e-05/0.3424, allocations: 30.83 kB / 405.7 MB, free: 7.352 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.0002887/0.3427, allocations: 200.7 kB / 405.9 MB, free: 7.16 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.51e-07/0.3427, allocations: 0 / 405.9 MB, free: 7.16 MB / 286.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001635/0.3429, allocations: 101.1 kB / 406 MB, free: 7.109 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.707e-05/0.3429, allocations: 6.781 kB / 406 MB, free: 7.109 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.413e-06/0.3429, allocations: 5.484 kB / 406 MB, free: 7.105 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001195/0.3431, allocations: 21.3 kB / 406 MB, free: 7.098 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.443e-05/0.3431, allocations: 15.39 kB / 406 MB, free: 7.094 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007762/0.3439, allocations: 1.295 MB / 407.3 MB, free: 5.824 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.112e-05/0.344, allocations: 4.734 kB / 407.3 MB, free: 5.82 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.203e-06/0.344, allocations: 2.531 kB / 407.3 MB, free: 5.82 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 8.22e-05/0.3441, allocations: 121.4 kB / 407.5 MB, free: 5.699 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.538e-05/0.3441, allocations: 6.453 kB / 407.5 MB, free: 5.695 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.19e-05/0.3441, allocations: 12.61 kB / 407.5 MB, free: 5.684 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.3441, allocations: 1.156 kB / 407.5 MB, free: 5.684 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.3441, allocations: 0 / 407.5 MB, free: 5.684 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.302e-06/0.3441, allocations: 4.172 kB / 407.5 MB, free: 5.684 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003727/0.3445, allocations: 366.3 kB / 407.8 MB, free: 5.344 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.677e-06/0.3445, allocations: 2.062 kB / 407.9 MB, free: 5.344 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.924e-05/0.3446, allocations: 7.234 kB / 407.9 MB, free: 5.344 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.067e-05/0.3447, allocations: 26.64 kB / 407.9 MB, free: 5.332 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.093e-05/0.3447, allocations: 5.875 kB / 407.9 MB, free: 5.332 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000659/0.3454, allocations: 1.296 MB / 409.2 MB, free: 4.07 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.717e-06/0.3454, allocations: 1.781 kB / 409.2 MB, free: 4.07 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002193/0.3456, allocations: 262.1 kB / 409.4 MB, free: 3.848 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.409e-05/0.3456, allocations: 84.45 kB / 409.5 MB, free: 3.754 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.093e-05/0.3456, allocations: 1.906 kB / 409.5 MB, free: 3.754 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.612e-05/0.3457, allocations: 6.031 kB / 409.5 MB, free: 3.75 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.566e-05/0.3457, allocations: 17.55 kB / 409.6 MB, free: 3.742 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.51e-06/0.3457, allocations: 3.281 kB / 409.6 MB, free: 3.742 MB / 286.1 MB Notification: Performance of sorting global known variables: time 2.063e-05/0.3458, allocations: 79.62 kB / 409.6 MB, free: 3.668 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3458, allocations: 0 / 409.6 MB, free: 3.668 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002395/0.346, allocations: 12.97 kB / 409.6 MB, free: 3.668 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.000411/0.3464, allocations: 0.9971 MB / 410.6 MB, free: 2.719 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0002751/0.3467, allocations: 165.6 kB / 410.8 MB, free: 2.602 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/0.3467, allocations: 0 / 410.8 MB, free: 2.602 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001591/0.3469, allocations: 150.2 kB / 411 MB, free: 2.488 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001383/0.3471, allocations: 2.188 kB / 411 MB, free: 2.488 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000665/0.3477, allocations: 0.6399 MB / 411.6 MB, free: 1.941 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001362/0.3479, allocations: 0.6888 MB / 412.3 MB, free: 1.246 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 2.054e-05/0.3479, allocations: 6.859 kB / 412.3 MB, free: 1.238 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.182e-05/0.3479, allocations: 13.47 kB / 412.3 MB, free: 1.234 MB / 286.1 MB Notification: Performance of SimCode: time 4e-07/0.3479, allocations: 1.031 kB / 412.3 MB, free: 1.234 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01231/0.3603, allocations: 1.521 MB / 413.8 MB, free: 1.059 MB / 286.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000199/0.3605, allocations: 285.5 kB / 414.1 MB, free: 0.6992 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.786/2.147, allocations: 4 kB / 414.1 MB, free: 0.6953 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/linux/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)