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.005026/0.005026, allocations: 99.31 kB / 15.73 MB, free: 6.047 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.001181/0.001181, allocations: 187.4 kB / 16.67 MB, free: 5.977 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.324/1.324, allocations: 222.9 MB / 240.4 MB, free: 4.32 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.003005/0.003005, allocations: 0.5741 MB / 291.1 MB, free: 1.617 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.1514/0.1514, allocations: 56.69 kB / 401.9 MB, free: 9.859 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09652/0.248, allocations: 49.59 MB / 451.5 MB, free: 5.918 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesEquationsFullInitialInconsistent): time 0.002031/0.25, allocations: 0.5452 MB / 452.1 MB, free: 5.379 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001965/0.2503, allocations: 23.89 kB / 452.1 MB, free: 5.355 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.126e-05/0.2503, allocations: 0 / 452.1 MB, free: 5.355 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 1.526e-05/0.2503, allocations: 0 / 452.1 MB, free: 5.355 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 4.552e-05/0.2504, allocations: 3.938 kB / 452.1 MB, free: 5.352 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001399/0.2505, allocations: 4 kB / 452.1 MB, free: 5.348 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 6.855e-05/0.2506, allocations: 15.98 kB / 452.1 MB, free: 5.332 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.76e-05/0.2507, allocations: 0 / 452.1 MB, free: 5.332 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.347e-05/0.2507, allocations: 19.91 kB / 452.1 MB, free: 5.312 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.71e-05/0.2508, allocations: 11.92 kB / 452.1 MB, free: 5.301 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.733e-05/0.2508, allocations: 4 kB / 452.1 MB, free: 5.297 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.073e-05/0.2509, allocations: 4 kB / 452.1 MB, free: 5.293 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.886e-05/0.2509, allocations: 4 kB / 452.2 MB, free: 5.289 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.41e-05/0.2509, allocations: 11.94 kB / 452.2 MB, free: 5.277 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 7.303e-05/0.251, allocations: 15.91 kB / 452.2 MB, free: 5.262 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.251, allocations: 0 / 452.2 MB, free: 5.262 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.024e-06/0.251, allocations: 0 / 452.2 MB, free: 5.262 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.052e-05/0.251, allocations: 0 / 452.2 MB, free: 5.262 MB / 318.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.0004255/0.2515, allocations: 332.1 kB / 452.5 MB, free: 4.891 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.009e-05/0.2515, allocations: 19.88 kB / 452.5 MB, free: 4.871 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.967e-05/0.2516, allocations: 38.75 kB / 452.6 MB, free: 4.824 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.101e-05/0.2516, allocations: 4.844 kB / 452.6 MB, free: 4.82 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001276/0.2517, allocations: 168.3 kB / 452.7 MB, free: 4.617 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.328e-05/0.2518, allocations: 384 / 452.7 MB, free: 4.617 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.759e-05/0.2518, allocations: 8.375 kB / 452.7 MB, free: 4.609 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001178/0.2519, allocations: 42.25 kB / 452.8 MB, free: 4.562 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.075e-05/0.2519, allocations: 3.938 kB / 452.8 MB, free: 4.559 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.824e-06/0.2519, allocations: 0 / 452.8 MB, free: 4.559 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.898e-06/0.252, allocations: 0 / 452.8 MB, free: 4.559 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.127e-05/0.252, allocations: 23.92 kB / 452.8 MB, free: 4.535 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003153/0.2523, allocations: 260.8 kB / 453.1 MB, free: 4.23 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001052/0.2524, allocations: 54.5 kB / 453.1 MB, free: 4.168 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.334e-05/0.2525, allocations: 20.97 kB / 453.1 MB, free: 4.145 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.217e-05/0.2525, allocations: 0 / 453.1 MB, free: 4.145 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.507e-05/0.2525, allocations: 34.56 kB / 453.2 MB, free: 4.102 MB / 318.1 MB Notification: Performance of pre-optimization done (n=6): time 8.42e-07/0.2525, allocations: 0 / 453.2 MB, free: 4.102 MB / 318.1 MB Notification: Performance of matching and sorting (n=8): time 0.00072/0.2533, allocations: 0.4943 MB / 453.7 MB, free: 3.512 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.705e-05/0.2534, allocations: 55.41 kB / 453.7 MB, free: 3.445 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.449e-05/0.2534, allocations: 97.98 kB / 453.8 MB, free: 3.34 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.916e-05/0.2535, allocations: 33.7 kB / 453.8 MB, free: 3.301 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.301e-05/0.2535, allocations: 80.14 kB / 453.9 MB, free: 3.219 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.615e-05/0.2536, allocations: 27.56 kB / 453.9 MB, free: 3.191 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.115e-05/0.2536, allocations: 33.58 kB / 454 MB, free: 3.152 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001119/0.2537, allocations: 318.8 kB / 454.3 MB, free: 2.832 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.081e-05/0.2538, allocations: 15.98 kB / 454.3 MB, free: 2.816 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.039e-05/0.2538, allocations: 29.7 kB / 454.3 MB, free: 2.781 MB / 318.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.0004528/0.2543, allocations: 251.9 kB / 454.6 MB, free: 2.492 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.2543, allocations: 0 / 454.6 MB, free: 2.492 MB / 318.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001577/0.2544, allocations: 99.19 kB / 454.7 MB, free: 2.387 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.631e-05/0.2545, allocations: 13.97 kB / 454.7 MB, free: 2.375 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.371e-06/0.2545, allocations: 0 / 454.7 MB, free: 2.375 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001146/0.2546, allocations: 24.78 kB / 454.7 MB, free: 2.348 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.265e-05/0.2547, allocations: 16 kB / 454.7 MB, free: 2.332 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001037/0.2557, allocations: 1.379 MB / 456.1 MB, free: 0.8086 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.198e-05/0.2558, allocations: 0 / 456.1 MB, free: 0.8086 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.053e-05/0.2558, allocations: 8.031 kB / 456.1 MB, free: 0.8008 MB / 318.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 9.069e-05/0.2559, allocations: 114.6 kB / 456.2 MB, free: 0.6797 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.463e-05/0.2559, allocations: 3.906 kB / 456.2 MB, free: 0.6758 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.282e-05/0.2559, allocations: 11.95 kB / 456.2 MB, free: 0.6641 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-06/0.2559, allocations: 4 kB / 456.3 MB, free: 0.6602 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.505e-06/0.2559, allocations: 0 / 456.3 MB, free: 0.6602 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.17e-06/0.2559, allocations: 8.047 kB / 456.3 MB, free: 0.6523 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004154/0.2564, allocations: 373.8 kB / 456.6 MB, free: 224 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.2564, allocations: 0 / 456.6 MB, free: 224 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.144e-05/0.2564, allocations: 15.88 kB / 456.6 MB, free: 208 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.961e-05/0.2565, allocations: 20.94 kB / 456.7 MB, free: 184 kB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.138e-05/0.2565, allocations: 8.031 kB / 456.7 MB, free: 176 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009446/0.2575, allocations: 1.383 MB / 458.1 MB, free: 14.65 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.861e-06/0.2575, allocations: 12.16 kB / 458.1 MB, free: 14.64 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00023/0.2577, allocations: 223.2 kB / 458.3 MB, free: 14.39 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.66e-05/0.2578, allocations: 81.11 kB / 458.4 MB, free: 14.29 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.24e-05/0.2578, allocations: 7.938 kB / 458.4 MB, free: 14.29 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.4e-05/0.2579, allocations: 4.062 kB / 458.4 MB, free: 14.28 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.292e-05/0.2579, allocations: 8.125 kB / 458.4 MB, free: 14.27 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.026e-05/0.2579, allocations: 8 kB / 458.4 MB, free: 14.27 MB / 334.1 MB Notification: Performance of sorting global known variables: time 4.076e-05/0.258, allocations: 83.2 kB / 458.5 MB, free: 14.18 MB / 334.1 MB Notification: Performance of sort global known variables: time 1e-07/0.258, allocations: 0 / 458.5 MB, free: 14.18 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002407/0.2582, allocations: 16 kB / 458.5 MB, free: 14.17 MB / 334.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.0005244/0.2587, allocations: 0.7555 MB / 459.2 MB, free: 13.38 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003029/0.2591, allocations: 166.6 kB / 459.4 MB, free: 13.2 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.2591, allocations: 4.062 kB / 459.4 MB, free: 13.2 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001856/0.2593, allocations: 146.5 kB / 459.6 MB, free: 13.04 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002289/0.2595, allocations: 11.98 kB / 459.6 MB, free: 13.03 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001283/0.2608, allocations: 1.398 MB / 461 MB, free: 11.52 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003388/0.2611, allocations: 0.6846 MB / 461.6 MB, free: 10.81 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 2.385e-05/0.2612, allocations: 4 kB / 461.6 MB, free: 10.8 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.849e-05/0.2612, allocations: 11.44 kB / 461.7 MB, free: 10.79 MB / 334.1 MB Notification: Performance of SimCode: time 3.11e-07/0.2612, allocations: 0 / 461.7 MB, free: 10.79 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02196/0.2832, allocations: 1.826 MB / 463.5 MB, free: 9.172 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.559/8.843, allocations: 21.47 kB / 463.5 MB, free: 9.152 MB / 334.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)