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.001135/0.001134, allocations: 99.36 kB / 15.33 MB, free: 0.5078 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.001372/0.001372, allocations: 195.8 kB / 16.25 MB, free: 6.629 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.36/1.36, allocations: 222.9 MB / 239.9 MB, free: 4.512 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.003901/0.0039, allocations: 0.558 MB / 290.6 MB, free: 1.844 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001225/0.001225, allocations: 63.91 kB / 351.2 MB, free: 2.566 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1152/0.1164, allocations: 49.6 MB / 400.8 MB, free: 0.9336 MB / 286.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesEquationsFullInitialInconsistent): time 0.001786/0.1182, allocations: 0.5833 MB / 401.3 MB, free: 356 kB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001683/0.1184, allocations: 31.89 kB / 401.4 MB, free: 324 kB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.185e-05/0.1184, allocations: 0 / 401.4 MB, free: 324 kB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 1.543e-05/0.1185, allocations: 0 / 401.4 MB, free: 324 kB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 3.43e-05/0.1185, allocations: 3.938 kB / 401.4 MB, free: 320 kB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000126/0.1186, allocations: 0 / 401.4 MB, free: 320 kB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 5.417e-05/0.1187, allocations: 19.98 kB / 401.4 MB, free: 300 kB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.209e-05/0.1188, allocations: 0 / 401.4 MB, free: 300 kB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.908e-05/0.1188, allocations: 23.91 kB / 401.4 MB, free: 276 kB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.124e-05/0.1189, allocations: 11.88 kB / 401.4 MB, free: 264 kB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.545e-05/0.1189, allocations: 0 / 401.4 MB, free: 264 kB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.097e-06/0.1189, allocations: 0 / 401.4 MB, free: 264 kB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 1.761e-05/0.1189, allocations: 11.98 kB / 401.4 MB, free: 252 kB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 2.579e-05/0.1189, allocations: 7.938 kB / 401.4 MB, free: 244 kB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 5.601e-05/0.119, allocations: 15.91 kB / 401.5 MB, free: 228 kB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.991e-06/0.119, allocations: 4 kB / 401.5 MB, free: 224 kB / 286.1 MB Notification: Performance of FrontEnd: time 1.893e-06/0.119, allocations: 0 / 401.5 MB, free: 224 kB / 286.1 MB Notification: Performance of Transformations before backend: time 6.573e-06/0.119, allocations: 0 / 401.5 MB, free: 224 kB / 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.1767/0.2957, allocations: 334.8 kB / 401.8 MB, free: 10.7 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.262e-05/0.2958, allocations: 13.08 kB / 401.8 MB, free: 10.7 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.69e-05/0.2958, allocations: 36.58 kB / 401.8 MB, free: 10.66 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.059e-05/0.2959, allocations: 2.781 kB / 401.8 MB, free: 10.66 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.602e-05/0.296, allocations: 166 kB / 402 MB, free: 10.46 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.898e-05/0.296, allocations: 2.625 kB / 402 MB, free: 10.46 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.665e-05/0.296, allocations: 7.141 kB / 402 MB, free: 10.46 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000147/0.2962, allocations: 43.88 kB / 402.1 MB, free: 10.43 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.625e-05/0.2962, allocations: 5.438 kB / 402.1 MB, free: 10.43 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.392e-05/0.2962, allocations: 3.875 kB / 402.1 MB, free: 10.43 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.163e-06/0.2962, allocations: 1.094 kB / 402.1 MB, free: 10.43 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.065e-05/0.2963, allocations: 10.08 kB / 402.1 MB, free: 10.43 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003305/0.2966, allocations: 256.9 kB / 402.3 MB, free: 10.16 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001168/0.2968, allocations: 54.61 kB / 402.4 MB, free: 10.13 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.169e-05/0.2968, allocations: 25.97 kB / 402.4 MB, free: 10.12 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.287e-06/0.2968, allocations: 0 / 402.4 MB, free: 10.12 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.307e-05/0.2968, allocations: 32.81 kB / 402.4 MB, free: 10.09 MB / 286.1 MB Notification: Performance of pre-optimization done (n=6): time 9.82e-07/0.2969, allocations: 0 / 402.4 MB, free: 10.09 MB / 286.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008523/0.2977, allocations: 0.504 MB / 402.9 MB, free: 9.645 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.761e-05/0.2978, allocations: 59.53 kB / 403 MB, free: 9.582 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.528e-05/0.2978, allocations: 103.4 kB / 403.1 MB, free: 9.484 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 9.198e-06/0.2979, allocations: 25.7 kB / 403.1 MB, free: 9.453 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.421e-05/0.2979, allocations: 85.14 kB / 403.2 MB, free: 9.371 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.316e-05/0.2979, allocations: 24.75 kB / 403.2 MB, free: 9.355 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.067e-05/0.298, allocations: 24.72 kB / 403.3 MB, free: 9.34 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 5.96e-05/0.298, allocations: 325.2 kB / 403.6 MB, free: 9.02 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.472e-05/0.2981, allocations: 14.44 kB / 403.6 MB, free: 9.02 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.966e-05/0.2981, allocations: 28.23 kB / 403.6 MB, free: 9.004 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.0004183/0.2986, allocations: 253.7 kB / 403.9 MB, free: 8.797 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.202e-06/0.2986, allocations: 0 / 403.9 MB, free: 8.797 MB / 286.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001694/0.2987, allocations: 102.3 kB / 404 MB, free: 8.746 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.663e-05/0.2988, allocations: 5.75 kB / 404 MB, free: 8.746 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.532e-06/0.2988, allocations: 0.6094 kB / 404 MB, free: 8.746 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001274/0.2989, allocations: 30.66 kB / 404 MB, free: 8.734 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.705e-05/0.299, allocations: 10.61 kB / 404 MB, free: 8.734 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008238/0.2998, allocations: 1.385 MB / 405.4 MB, free: 7.375 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.07e-05/0.2999, allocations: 0.9062 kB / 405.4 MB, free: 7.375 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.754e-06/0.2999, allocations: 5.25 kB / 405.4 MB, free: 7.375 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 system: 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.909e-05/0.3, allocations: 126.7 kB / 405.5 MB, free: 7.25 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.35e-05/0.3, allocations: 3.219 kB / 405.5 MB, free: 7.25 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.24e-05/0.3, allocations: 7.375 kB / 405.5 MB, free: 7.234 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.3, allocations: 0.7188 kB / 405.5 MB, free: 7.234 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/0.3, allocations: 1.922 kB / 405.5 MB, free: 7.234 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/0.3001, allocations: 0.5625 kB / 405.5 MB, free: 7.234 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003885/0.3004, allocations: 379.9 kB / 405.9 MB, free: 6.891 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.444e-06/0.3005, allocations: 0.5156 kB / 405.9 MB, free: 6.891 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.416e-05/0.3005, allocations: 12.7 kB / 405.9 MB, free: 6.887 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.307e-05/0.3006, allocations: 22.39 kB / 405.9 MB, free: 6.879 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.118e-05/0.3006, allocations: 6.141 kB / 406 MB, free: 6.879 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006508/0.3013, allocations: 1.377 MB / 407.3 MB, free: 5.531 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.546e-06/0.3013, allocations: 1.438 kB / 407.3 MB, free: 5.531 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002394/0.3015, allocations: 235.2 kB / 407.6 MB, free: 5.355 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.185e-05/0.3016, allocations: 86.58 kB / 407.6 MB, free: 5.258 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.208e-05/0.3016, allocations: 6.047 kB / 407.7 MB, free: 5.254 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.697e-05/0.3017, allocations: 5.438 kB / 407.7 MB, free: 5.254 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.973e-05/0.3017, allocations: 15.38 kB / 407.7 MB, free: 5.246 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.995e-06/0.3017, allocations: 3.156 kB / 407.7 MB, free: 5.246 MB / 286.1 MB Notification: Performance of sorting global known variables: time 2.465e-05/0.3017, allocations: 85.12 kB / 407.8 MB, free: 5.172 MB / 286.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3017, allocations: 1.344 kB / 407.8 MB, free: 5.172 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002578/0.302, allocations: 15.56 kB / 407.8 MB, free: 5.168 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.0003907/0.3024, allocations: 0.748 MB / 408.5 MB, free: 4.473 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0003039/0.3027, allocations: 162.6 kB / 408.7 MB, free: 4.348 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.3027, allocations: 0 / 408.7 MB, free: 4.348 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001762/0.3029, allocations: 155.9 kB / 408.8 MB, free: 4.219 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002209/0.3031, allocations: 7.234 kB / 408.8 MB, free: 4.215 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001033/0.3042, allocations: 1.401 MB / 410.2 MB, free: 2.887 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001478/0.3043, allocations: 0.685 MB / 410.9 MB, free: 2.191 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 2.229e-05/0.3044, allocations: 3.422 kB / 410.9 MB, free: 2.191 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.582e-05/0.3044, allocations: 18.59 kB / 410.9 MB, free: 2.18 MB / 286.1 MB Notification: Performance of SimCode: time 2.3e-07/0.3044, allocations: 0 / 410.9 MB, free: 2.18 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01703/0.3214, allocations: 1.68 MB / 412.6 MB, free: 1.914 MB / 286.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001959/0.3217, allocations: 317.3 kB / 412.9 MB, free: 1.531 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.773/2.094, allocations: 0 / 412.9 MB, free: 1.531 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)