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.001652/0.001652, allocations: 108 kB / 15.6 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001859/0.001859, allocations: 197 kB / 16.53 MB, free: 6.672 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.532/1.532, allocations: 222.9 MB / 240.2 MB, free: 4.387 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.003029/0.003029, allocations: 0.5663 MB / 291 MB, free: 1.691 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002761/0.002761, allocations: 71.88 kB / 351.7 MB, free: 2.18 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1129/0.1157, allocations: 49.6 MB / 401.3 MB, free: 0.5391 MB / 286.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullInitial): time 0.001872/0.1176, allocations: 0.5078 MB / 401.8 MB, free: 36 kB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.000193/0.1179, allocations: 27.89 kB / 401.8 MB, free: 8 kB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.089e-05/0.1179, allocations: 0 / 401.8 MB, free: 8 kB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 1.761e-05/0.1179, allocations: 3.938 kB / 401.8 MB, free: 4 kB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 3.468e-05/0.118, allocations: 4 kB / 401.8 MB, free: 0 / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.1907/0.3087, allocations: 3.578 kB / 401.8 MB, free: 10.36 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 7.377e-05/0.3088, allocations: 17.22 kB / 401.8 MB, free: 10.36 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.664e-05/0.3089, allocations: 2.984 kB / 401.8 MB, free: 10.36 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.711e-05/0.3089, allocations: 12.53 kB / 401.8 MB, free: 10.36 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.564e-05/0.309, allocations: 12.2 kB / 401.9 MB, free: 10.36 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.758e-05/0.309, allocations: 2 kB / 401.9 MB, free: 10.36 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.001e-05/0.3091, allocations: 1.125 kB / 401.9 MB, free: 10.36 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 2.055e-05/0.3091, allocations: 5.734 kB / 401.9 MB, free: 10.36 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 3.254e-05/0.3091, allocations: 15.3 kB / 401.9 MB, free: 10.35 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 5.963e-05/0.3092, allocations: 14.42 kB / 401.9 MB, free: 10.35 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.578e-06/0.3092, allocations: 0 / 401.9 MB, free: 10.35 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.3092, allocations: 0 / 401.9 MB, free: 10.35 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.74e-06/0.3092, allocations: 1.156 kB / 401.9 MB, free: 10.35 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.0003596/0.3096, allocations: 336.5 kB / 402.2 MB, free: 9.996 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.196e-05/0.3096, allocations: 9.406 kB / 402.2 MB, free: 9.996 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.438e-05/0.3097, allocations: 33.39 kB / 402.3 MB, free: 9.957 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.673e-05/0.3097, allocations: 5.781 kB / 402.3 MB, free: 9.957 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.351e-05/0.3098, allocations: 163.8 kB / 402.4 MB, free: 9.762 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.007e-05/0.3098, allocations: 5.094 kB / 402.4 MB, free: 9.762 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.804e-05/0.3098, allocations: 11.44 kB / 402.4 MB, free: 9.762 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001075/0.3099, allocations: 45.31 kB / 402.5 MB, free: 9.73 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.243e-05/0.31, allocations: 6.688 kB / 402.5 MB, free: 9.727 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.085e-06/0.31, allocations: 0 / 402.5 MB, free: 9.727 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.729e-06/0.31, allocations: 0.8125 kB / 402.5 MB, free: 9.727 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.167e-05/0.31, allocations: 15.16 kB / 402.5 MB, free: 9.727 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002301/0.3103, allocations: 254.2 kB / 402.8 MB, free: 9.457 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001001/0.3104, allocations: 61.7 kB / 402.8 MB, free: 9.426 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.15e-05/0.3104, allocations: 19.03 kB / 402.8 MB, free: 9.418 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.331e-05/0.3104, allocations: 1.188 kB / 402.8 MB, free: 9.418 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.348e-05/0.3105, allocations: 34.94 kB / 402.9 MB, free: 9.379 MB / 286.1 MB Notification: Performance of pre-optimization done (n=6): time 9.42e-07/0.3105, allocations: 0 / 402.9 MB, free: 9.379 MB / 286.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006476/0.3111, allocations: 0.5003 MB / 403.4 MB, free: 8.938 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.383e-05/0.3112, allocations: 54.62 kB / 403.4 MB, free: 8.875 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.866e-05/0.3112, allocations: 95.42 kB / 403.5 MB, free: 8.777 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 8.807e-06/0.3112, allocations: 30.02 kB / 403.5 MB, free: 8.746 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.245e-05/0.3112, allocations: 81.08 kB / 403.6 MB, free: 8.664 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.404e-05/0.3113, allocations: 28.06 kB / 403.7 MB, free: 8.648 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.544e-05/0.3113, allocations: 22.25 kB / 403.7 MB, free: 8.633 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 4.834e-05/0.3114, allocations: 326 kB / 404 MB, free: 8.312 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.577e-05/0.3114, allocations: 18.27 kB / 404 MB, free: 8.309 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.785e-05/0.3115, allocations: 34.69 kB / 404 MB, free: 8.293 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002643/0.3117, allocations: 244 kB / 404.3 MB, free: 8.09 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.263e-06/0.3117, allocations: 1.125 kB / 404.3 MB, free: 8.09 MB / 286.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000178/0.3119, allocations: 104.6 kB / 404.4 MB, free: 8.043 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.721e-05/0.312, allocations: 4.656 kB / 404.4 MB, free: 8.043 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/0.312, allocations: 5.203 kB / 404.4 MB, free: 8.039 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001204/0.3121, allocations: 25.92 kB / 404.4 MB, free: 8.027 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.393e-05/0.3122, allocations: 17.59 kB / 404.4 MB, free: 8.023 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000739/0.3129, allocations: 1.377 MB / 405.8 MB, free: 6.664 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.181e-05/0.3129, allocations: 3.938 kB / 405.8 MB, free: 6.664 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.973e-06/0.313, allocations: 2.062 kB / 405.8 MB, free: 6.664 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 0.0001468/0.3131, allocations: 125.9 kB / 405.9 MB, free: 6.539 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.466e-05/0.3131, allocations: 3.594 kB / 406 MB, free: 6.539 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.032e-05/0.3132, allocations: 8.422 kB / 406 MB, free: 6.527 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.897e-06/0.3132, allocations: 1.719 kB / 406 MB, free: 6.527 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.3132, allocations: 4.656 kB / 406 MB, free: 6.523 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.019e-06/0.3132, allocations: 1.188 kB / 406 MB, free: 6.523 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003601/0.3136, allocations: 375.2 kB / 406.3 MB, free: 6.18 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.266e-06/0.3136, allocations: 2.234 kB / 406.3 MB, free: 6.18 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.168e-05/0.3136, allocations: 11.56 kB / 406.3 MB, free: 6.176 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.458e-05/0.3137, allocations: 22.89 kB / 406.4 MB, free: 6.168 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.558e-06/0.3137, allocations: 2.828 kB / 406.4 MB, free: 6.168 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006287/0.3144, allocations: 1.383 MB / 407.8 MB, free: 4.82 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.315e-06/0.3144, allocations: 1.156 kB / 407.8 MB, free: 4.82 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001915/0.3146, allocations: 232.1 kB / 408 MB, free: 4.645 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.796e-05/0.3146, allocations: 83.42 kB / 408.1 MB, free: 4.547 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.211e-05/0.3146, allocations: 9.312 kB / 408.1 MB, free: 4.543 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.681e-05/0.3147, allocations: 3.781 kB / 408.1 MB, free: 4.543 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.979e-05/0.3147, allocations: 14.22 kB / 408.1 MB, free: 4.535 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.901e-06/0.3147, allocations: 3.938 kB / 408.1 MB, free: 4.535 MB / 286.1 MB Notification: Performance of sorting global known variables: time 2.224e-05/0.3147, allocations: 81.81 kB / 408.2 MB, free: 4.461 MB / 286.1 MB Notification: Performance of sort global known variables: time 8.11e-07/0.3148, allocations: 0 / 408.2 MB, free: 4.461 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002386/0.315, allocations: 16.34 kB / 408.2 MB, free: 4.457 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.0003511/0.3154, allocations: 0.7513 MB / 408.9 MB, free: 3.758 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.000285/0.3156, allocations: 166.5 kB / 409.1 MB, free: 3.645 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.225e-06/0.3157, allocations: 0 / 409.1 MB, free: 3.645 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000163/0.3158, allocations: 151.4 kB / 409.3 MB, free: 3.523 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002178/0.3161, allocations: 6.969 kB / 409.3 MB, free: 3.523 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009711/0.317, allocations: 1.399 MB / 410.7 MB, free: 2.23 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000123/0.3172, allocations: 0.6853 MB / 411.3 MB, free: 1.535 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 1.829e-05/0.3172, allocations: 6.922 kB / 411.3 MB, free: 1.531 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.053e-05/0.3172, allocations: 14.52 kB / 411.4 MB, free: 1.523 MB / 286.1 MB Notification: Performance of SimCode: time 3.51e-07/0.3172, allocations: 1.094 kB / 411.4 MB, free: 1.523 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0288/0.346, allocations: 1.731 MB / 413.1 MB, free: 1.18 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.613/9.959, allocations: 11.55 kB / 413.1 MB, free: 1.172 MB / 286.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 & python3 -m fmpy simulate --output-file ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullInitial_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Mechanical_TwoMassesEquationsFullInitial.fmu > ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullInitial.pipe 2>&1)