Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullSteadyState.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.ConsistentInitialization.Mechanical.TwoMassesEquationsFullSteadyState,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Mechanical_TwoMassesEquationsFullSteadyState",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullSteadyState,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Mechanical_TwoMassesEquationsFullSteadyState",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.001251/0.001251, allocations: 91.14 kB / 15.06 MB, free: 1.098 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.001413/0.001413, allocations: 172.7 kB / 15.95 MB, free: 208 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.484/1.484, allocations: 223.3 MB / 240 MB, free: 5.238 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.0.0-master/package.mo): time 0.00251/0.00251, allocations: 0.5468 MB / 291.6 MB, free: 1.504 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000465/0.000465, allocations: 8 kB / 352.8 MB, free: 2.734 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1459/0.1463, allocations: 50.58 MB / 403.4 MB, free: 120 kB / 286.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullSteadyState): time 0.2408/0.3872, allocations: 234.3 kB / 403.6 MB, free: 9.84 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001541/0.3874, allocations: 25.69 kB / 403.6 MB, free: 9.84 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.1e-05/0.3875, allocations: 0 / 403.6 MB, free: 9.84 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 9.538e-06/0.3875, allocations: 0 / 403.6 MB, free: 9.84 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 2.792e-05/0.3875, allocations: 0.5312 kB / 403.6 MB, free: 9.84 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000132/0.3877, allocations: 8.781 kB / 403.6 MB, free: 9.84 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 5.639e-05/0.3877, allocations: 21.09 kB / 403.6 MB, free: 9.84 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.926e-05/0.3878, allocations: 2.359 kB / 403.6 MB, free: 9.84 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.48e-05/0.3878, allocations: 13.84 kB / 403.7 MB, free: 9.836 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.284e-05/0.3879, allocations: 5.953 kB / 403.7 MB, free: 9.836 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.69e-05/0.3879, allocations: 1.594 kB / 403.7 MB, free: 9.836 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.908e-06/0.3879, allocations: 1.312 kB / 403.7 MB, free: 9.836 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 1.504e-05/0.3879, allocations: 12.39 kB / 403.7 MB, free: 9.832 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 2.313e-05/0.388, allocations: 31.08 kB / 403.7 MB, free: 9.801 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 4.642e-05/0.388, allocations: 12.14 kB / 403.7 MB, free: 9.801 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/0.388, allocations: 0 / 403.7 MB, free: 9.801 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.388, allocations: 0 / 403.7 MB, free: 9.801 MB / 286.1 MB Notification: Performance of Transformations before backend: time 3.907e-06/0.3881, allocations: 0 / 403.7 MB, free: 9.801 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.0002992/0.3884, allocations: 330.6 kB / 404 MB, free: 9.453 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.453e-05/0.3884, allocations: 9.562 kB / 404 MB, free: 9.453 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.077e-05/0.3884, allocations: 32.36 kB / 404.1 MB, free: 9.414 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.813e-05/0.3885, allocations: 13.02 kB / 404.1 MB, free: 9.406 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.839e-05/0.3886, allocations: 164.5 kB / 404.3 MB, free: 9.211 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.165e-05/0.3886, allocations: 6.188 kB / 404.3 MB, free: 9.207 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.37e-05/0.3886, allocations: 6.422 kB / 404.3 MB, free: 9.207 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001036/0.3887, allocations: 41.67 kB / 404.3 MB, free: 9.176 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.036e-05/0.3887, allocations: 0.625 kB / 404.3 MB, free: 9.176 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.584e-06/0.3888, allocations: 1.031 kB / 404.3 MB, free: 9.176 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.641e-06/0.3888, allocations: 4.484 kB / 404.3 MB, free: 9.172 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.741e-05/0.3888, allocations: 14 kB / 404.3 MB, free: 9.172 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002498/0.3891, allocations: 253.6 kB / 404.6 MB, free: 8.902 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001082/0.3892, allocations: 53.77 kB / 404.6 MB, free: 8.875 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.72e-05/0.3892, allocations: 17.92 kB / 404.6 MB, free: 8.867 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.222e-05/0.3893, allocations: 1.375 kB / 404.6 MB, free: 8.867 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.673e-05/0.3893, allocations: 31.67 kB / 404.7 MB, free: 8.828 MB / 286.1 MB Notification: Performance of pre-optimization done (n=6): time 1.082e-06/0.3893, allocations: 4.5 kB / 404.7 MB, free: 8.824 MB / 286.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006556/0.3899, allocations: 0.5012 MB / 405.2 MB, free: 8.375 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.894e-05/0.39, allocations: 52.97 kB / 405.2 MB, free: 8.312 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.874e-05/0.39, allocations: 95.2 kB / 405.3 MB, free: 8.215 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.036e-05/0.3901, allocations: 34.28 kB / 405.4 MB, free: 8.18 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.286e-05/0.3901, allocations: 84.95 kB / 405.4 MB, free: 8.094 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.401e-05/0.3901, allocations: 33.5 kB / 405.5 MB, free: 8.074 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.39e-06/0.3901, allocations: 1 kB / 405.5 MB, free: 8.074 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 5.967e-05/0.3902, allocations: 317.2 kB / 405.8 MB, free: 7.762 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.053e-05/0.3902, allocations: 14.8 kB / 405.8 MB, free: 7.762 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.549e-05/0.3903, allocations: 34.23 kB / 405.8 MB, free: 7.742 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002171/0.3905, allocations: 198.9 kB / 406 MB, free: 7.555 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.3905, allocations: 8.641 kB / 406 MB, free: 7.547 MB / 286.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001216/0.3906, allocations: 81.41 kB / 406.1 MB, free: 7.512 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.771e-05/0.3907, allocations: 5.656 kB / 406.1 MB, free: 7.512 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/0.3907, allocations: 0 / 406.1 MB, free: 7.512 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.31e-05/0.3907, allocations: 1.953 kB / 406.1 MB, free: 7.512 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001114/0.3908, allocations: 25.94 kB / 406.1 MB, free: 7.508 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.005e-06/0.3908, allocations: 1.641 kB / 406.1 MB, free: 7.508 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.221e-05/0.3909, allocations: 1.188 kB / 406.2 MB, free: 7.508 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.315e-06/0.3909, allocations: 6.406 kB / 406.2 MB, free: 7.504 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: $DER.v1 = 0.0 $DER.x1 = 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 (10): * Single equations (assignments): 10 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000123/0.391, allocations: 117.9 kB / 406.3 MB, free: 7.387 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.592e-05/0.391, allocations: 9.094 kB / 406.3 MB, free: 7.383 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.145e-05/0.3911, allocations: 9.578 kB / 406.3 MB, free: 7.371 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.3911, allocations: 1.312 kB / 406.3 MB, free: 7.371 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.56e-06/0.3911, allocations: 0 / 406.3 MB, free: 7.371 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.14e-06/0.3911, allocations: 1.562 kB / 406.3 MB, free: 7.371 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003823/0.3915, allocations: 374.3 kB / 406.7 MB, free: 7.027 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.3915, allocations: 0.9688 kB / 406.7 MB, free: 7.027 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.027e-05/0.3916, allocations: 12.62 kB / 406.7 MB, free: 7.023 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001174/0.3917, allocations: 21.5 kB / 406.7 MB, free: 7.016 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.648e-06/0.3917, allocations: 5.438 kB / 406.7 MB, free: 7.016 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007524/0.3925, allocations: 1.281 MB / 408 MB, free: 5.746 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.649e-06/0.3925, allocations: 5.656 kB / 408 MB, free: 5.742 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002004/0.3927, allocations: 226.4 kB / 408.2 MB, free: 5.57 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.158e-05/0.3927, allocations: 85.47 kB / 408.3 MB, free: 5.473 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.132e-05/0.3927, allocations: 6.156 kB / 408.3 MB, free: 5.469 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.736e-05/0.3928, allocations: 3.844 kB / 408.3 MB, free: 5.469 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.45e-05/0.3928, allocations: 8.844 kB / 408.3 MB, free: 5.469 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.023e-06/0.3928, allocations: 2.562 kB / 408.3 MB, free: 5.469 MB / 286.1 MB Notification: Performance of sorting global known variables: time 2.305e-05/0.3929, allocations: 84.7 kB / 408.4 MB, free: 5.391 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3929, allocations: 3.938 kB / 408.4 MB, free: 5.387 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002338/0.3931, allocations: 10.66 kB / 408.4 MB, free: 5.387 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.0003786/0.3935, allocations: 0.7545 MB / 409.2 MB, free: 4.688 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0001184/0.3936, allocations: 44.89 kB / 409.2 MB, free: 4.684 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 3.366e-06/0.3936, allocations: 1.031 kB / 409.2 MB, free: 4.684 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002104/0.3939, allocations: 143.5 kB / 409.3 MB, free: 4.57 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002219/0.3941, allocations: 7.297 kB / 409.4 MB, free: 4.57 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006113/0.3947, allocations: 481.6 kB / 409.8 MB, free: 4.191 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001189/0.3948, allocations: 0.6874 MB / 410.5 MB, free: 3.492 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 2.179e-05/0.3949, allocations: 5.125 kB / 410.5 MB, free: 3.488 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.719e-05/0.3949, allocations: 13.64 kB / 410.5 MB, free: 3.484 MB / 286.1 MB Notification: Performance of SimCode: time 2.4e-07/0.3949, allocations: 1.062 kB / 410.5 MB, free: 3.484 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01245/0.4074, allocations: 1.429 MB / 412 MB, free: 3.344 MB / 286.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000202/0.4076, allocations: 276.1 kB / 412.2 MB, free: 2.992 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.842/2.25, allocations: 0 / 412.2 MB, free: 2.992 MB / 286.1 MB (rm -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullSteadyState.pipe ; mkfifo ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullSteadyState.pipe ; head -c 1048576 < ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullSteadyState.pipe >> ../files/ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullSteadyState.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Mechanical_TwoMassesEquationsFullSteadyState_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Mechanical_TwoMassesEquationsFullSteadyState.fmu > ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullSteadyState.pipe 2>&1)