Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullInitial.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.ConsistentInitialization.Mechanical.TwoMassesEquationsFullInitial,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Mechanical_TwoMassesEquationsFullInitial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullInitial,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Mechanical_TwoMassesEquationsFullInitial",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.004889/0.004889, allocations: 103.4 kB / 15.73 MB, free: 6.039 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.001143/0.001143, allocations: 191.2 kB / 16.67 MB, free: 5.957 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.307/1.307, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.0.0+maint.om/package.mo): time 0.002881/0.002881, allocations: 0.565 MB / 291.1 MB, free: 14.15 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001274/0.001274, allocations: 63.91 kB / 401.9 MB, free: 32.63 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08147/0.08276, allocations: 49.59 MB / 451.5 MB, free: 15 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullInitial): time 0.001871/0.08468, allocations: 0.5197 MB / 452 MB, free: 14.48 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001788/0.08488, allocations: 27.91 kB / 452.1 MB, free: 14.46 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.961e-05/0.08493, allocations: 0 / 452.1 MB, free: 14.46 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 2.002e-05/0.08495, allocations: 0 / 452.1 MB, free: 14.46 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 2.961e-05/0.08501, allocations: 3.938 kB / 452.1 MB, free: 14.45 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001356/0.08515, allocations: 11.98 kB / 452.1 MB, free: 14.44 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 6.088e-05/0.08522, allocations: 15.98 kB / 452.1 MB, free: 14.43 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.637e-05/0.08528, allocations: 0 / 452.1 MB, free: 14.43 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.276e-05/0.08531, allocations: 11.92 kB / 452.1 MB, free: 14.41 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.298e-05/0.08538, allocations: 11.98 kB / 452.1 MB, free: 14.4 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.365e-05/0.0854, allocations: 0 / 452.1 MB, free: 14.4 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.127e-05/0.08541, allocations: 4 kB / 452.1 MB, free: 14.4 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.898e-05/0.08544, allocations: 15.86 kB / 452.1 MB, free: 14.38 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 2.759e-05/0.08547, allocations: 11.94 kB / 452.1 MB, free: 14.37 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 6.483e-05/0.08554, allocations: 15.97 kB / 452.2 MB, free: 14.36 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.342e-06/0.08555, allocations: 0 / 452.2 MB, free: 14.36 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.08556, allocations: 3.938 kB / 452.2 MB, free: 14.35 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.101e-06/0.08557, allocations: 0 / 452.2 MB, free: 14.35 MB / 334.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.0004101/0.08598, allocations: 334.4 kB / 452.5 MB, free: 13.98 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.816e-05/0.08604, allocations: 8.031 kB / 452.5 MB, free: 13.97 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.086e-05/0.08608, allocations: 38.69 kB / 452.5 MB, free: 13.92 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.162e-05/0.08612, allocations: 12.83 kB / 452.5 MB, free: 13.91 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000154/0.08628, allocations: 160.4 kB / 452.7 MB, free: 13.71 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.255e-05/0.0863, allocations: 4.375 kB / 452.7 MB, free: 13.71 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.292e-05/0.08634, allocations: 8.375 kB / 452.7 MB, free: 13.7 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001257/0.08647, allocations: 42.25 kB / 452.8 MB, free: 13.65 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.503e-05/0.08649, allocations: 3.938 kB / 452.8 MB, free: 13.65 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.067e-06/0.0865, allocations: 0 / 452.8 MB, free: 13.65 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.859e-06/0.08651, allocations: 0 / 452.8 MB, free: 13.65 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.217e-05/0.08657, allocations: 15.98 kB / 452.8 MB, free: 13.63 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003462/0.08692, allocations: 256.8 kB / 453 MB, free: 13.33 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001019/0.08704, allocations: 50.56 kB / 453.1 MB, free: 13.27 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.465e-05/0.08708, allocations: 16.98 kB / 453.1 MB, free: 13.25 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.149e-05/0.08709, allocations: 8 kB / 453.1 MB, free: 13.25 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.07e-05/0.08712, allocations: 30.56 kB / 453.1 MB, free: 13.21 MB / 334.1 MB Notification: Performance of pre-optimization done (n=6): time 1.724e-06/0.08713, allocations: 0 / 453.1 MB, free: 13.21 MB / 334.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008292/0.08796, allocations: 0.5032 MB / 453.6 MB, free: 12.61 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.495e-05/0.08801, allocations: 51.41 kB / 453.7 MB, free: 12.55 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.166e-05/0.08809, allocations: 105.8 kB / 453.8 MB, free: 12.43 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.672e-05/0.08811, allocations: 33.7 kB / 453.8 MB, free: 12.39 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.168e-05/0.08816, allocations: 84.14 kB / 453.9 MB, free: 12.31 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.014e-05/0.08821, allocations: 31.55 kB / 453.9 MB, free: 12.28 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.925e-05/0.08827, allocations: 21.72 kB / 454 MB, free: 12.25 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001116/0.08839, allocations: 322.8 kB / 454.3 MB, free: 11.93 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.025e-05/0.08842, allocations: 12 kB / 454.3 MB, free: 11.91 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.211e-05/0.08847, allocations: 33.7 kB / 454.3 MB, free: 11.88 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002998/0.08877, allocations: 251.8 kB / 454.6 MB, free: 11.59 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.08879, allocations: 0 / 454.6 MB, free: 11.59 MB / 334.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001626/0.08896, allocations: 102.3 kB / 454.7 MB, free: 11.48 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.392e-05/0.08898, allocations: 4.094 kB / 454.7 MB, free: 11.47 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.192e-06/0.08899, allocations: 3.938 kB / 454.7 MB, free: 11.47 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001205/0.08912, allocations: 28.78 kB / 454.7 MB, free: 11.44 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.367e-05/0.08919, allocations: 8 kB / 454.7 MB, free: 11.43 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001041/0.09024, allocations: 1.38 MB / 456.1 MB, free: 9.906 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.614e-05/0.09028, allocations: 8 kB / 456.1 MB, free: 9.898 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.31e-06/0.09029, allocations: 0 / 456.1 MB, free: 9.898 MB / 334.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 0.0001795/0.09047, allocations: 130.5 kB / 456.2 MB, free: 9.762 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.98e-05/0.09051, allocations: 7.906 kB / 456.2 MB, free: 9.754 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.433e-05/0.09054, allocations: 7.969 kB / 456.2 MB, free: 9.746 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.09055, allocations: 0 / 456.2 MB, free: 9.746 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.165e-06/0.09055, allocations: 0 / 456.2 MB, free: 9.746 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.059e-06/0.09056, allocations: 4 kB / 456.2 MB, free: 9.742 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004342/0.091, allocations: 365.8 kB / 456.6 MB, free: 9.316 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.345e-06/0.09102, allocations: 0 / 456.6 MB, free: 9.316 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.445e-05/0.09108, allocations: 15.88 kB / 456.6 MB, free: 9.301 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.164e-05/0.09116, allocations: 20.84 kB / 456.6 MB, free: 9.277 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.056e-05/0.09118, allocations: 3.984 kB / 456.6 MB, free: 9.273 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009152/0.0921, allocations: 1.391 MB / 458 MB, free: 7.742 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.983e-06/0.09211, allocations: 0 / 458 MB, free: 7.742 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002192/0.09234, allocations: 226.8 kB / 458.2 MB, free: 7.492 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.439e-05/0.09238, allocations: 81.28 kB / 458.3 MB, free: 7.395 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.17e-05/0.0924, allocations: 7.922 kB / 458.3 MB, free: 7.387 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.675e-05/0.09246, allocations: 3.984 kB / 458.3 MB, free: 7.383 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.427e-05/0.09249, allocations: 8.062 kB / 458.3 MB, free: 7.375 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.823e-06/0.0925, allocations: 12.06 kB / 458.4 MB, free: 7.363 MB / 334.1 MB Notification: Performance of sorting global known variables: time 3.194e-05/0.09254, allocations: 83.27 kB / 458.4 MB, free: 7.281 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.09255, allocations: 0 / 458.4 MB, free: 7.281 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002454/0.0928, allocations: 12 kB / 458.5 MB, free: 7.27 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.0004666/0.09327, allocations: 0.7568 MB / 459.2 MB, free: 6.477 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002853/0.09356, allocations: 170.6 kB / 459.4 MB, free: 6.297 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.09358, allocations: 0 / 459.4 MB, free: 6.297 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001695/0.09375, allocations: 150.8 kB / 459.5 MB, free: 6.137 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002193/0.09398, allocations: 4 kB / 459.5 MB, free: 6.133 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001216/0.09521, allocations: 1.402 MB / 460.9 MB, free: 4.621 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002279/0.09545, allocations: 0.6885 MB / 461.6 MB, free: 3.906 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 2.201e-05/0.09548, allocations: 3.984 kB / 461.6 MB, free: 3.902 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.236e-05/0.09551, allocations: 15.44 kB / 461.6 MB, free: 3.887 MB / 334.1 MB Notification: Performance of SimCode: time 2.61e-07/0.09552, allocations: 0 / 461.6 MB, free: 3.887 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02024/0.1158, allocations: 1.807 MB / 463.4 MB, free: 2.312 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.11/9.226, allocations: 24.58 kB / 463.5 MB, free: 2.289 MB / 334.1 MB (rm -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullInitial.pipe ; mkfifo ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullInitial.pipe ; head -c 1048576 < ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullInitial.pipe >> ../files/ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullInitial.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Mechanical_TwoMassesEquationsFullInitial_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Mechanical_TwoMassesEquationsFullInitial.fmu > ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullInitial.pipe 2>&1)