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+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.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.001309/0.001309, allocations: 108 kB / 15.6 MB, free: 132 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.001301/0.001301, allocations: 193.2 kB / 16.53 MB, free: 6.391 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.536/1.536, allocations: 222.9 MB / 240.2 MB, free: 4.254 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.003449/0.003449, allocations: 0.5663 MB / 291 MB, free: 1.559 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001904/0.001904, allocations: 63.89 kB / 351.7 MB, free: 2.176 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1032/0.1052, allocations: 49.6 MB / 401.3 MB, free: 0.5352 MB / 286.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullSteadyState): time 0.001667/0.1069, allocations: 0.5059 MB / 401.8 MB, free: 32 kB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001457/0.107, allocations: 27.89 kB / 401.8 MB, free: 4 kB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.07e-05/0.1071, allocations: 0 / 401.8 MB, free: 4 kB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 1.176e-05/0.1071, allocations: 4 kB / 401.8 MB, free: 0 / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.1989/0.306, allocations: 3.953 kB / 401.8 MB, free: 10.36 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001966/0.3062, allocations: 4.922 kB / 401.8 MB, free: 10.36 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 7.124e-05/0.3063, allocations: 19.73 kB / 401.8 MB, free: 10.36 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.896e-05/0.3064, allocations: 2.328 kB / 401.8 MB, free: 10.36 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.193e-05/0.3064, allocations: 9.281 kB / 401.8 MB, free: 10.36 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.328e-05/0.3065, allocations: 15.47 kB / 401.9 MB, free: 10.36 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.888e-05/0.3065, allocations: 0.9688 kB / 401.9 MB, free: 10.36 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.201e-05/0.3065, allocations: 1.188 kB / 401.9 MB, free: 10.36 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 1.845e-05/0.3066, allocations: 5.609 kB / 401.9 MB, free: 10.36 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 3.693e-05/0.3066, allocations: 13.83 kB / 401.9 MB, free: 10.35 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 7.061e-05/0.3067, allocations: 15 kB / 401.9 MB, free: 10.35 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.05e-06/0.3067, allocations: 0.5156 kB / 401.9 MB, free: 10.35 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.3067, allocations: 0.5625 kB / 401.9 MB, free: 10.35 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.111e-05/0.3067, allocations: 0 / 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.0003762/0.3071, allocations: 338.9 kB / 402.2 MB, free: 9.996 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.691e-05/0.3072, allocations: 17.64 kB / 402.2 MB, free: 9.992 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.16e-05/0.3072, allocations: 35.89 kB / 402.3 MB, free: 9.953 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.969e-05/0.3072, allocations: 3.469 kB / 402.3 MB, free: 9.953 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.288e-05/0.3073, allocations: 166.1 kB / 402.4 MB, free: 9.758 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.457e-05/0.3073, allocations: 2.344 kB / 402.4 MB, free: 9.758 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.995e-05/0.3074, allocations: 6.5 kB / 402.4 MB, free: 9.758 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001159/0.3075, allocations: 42.55 kB / 402.5 MB, free: 9.727 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.433e-05/0.3075, allocations: 5.719 kB / 402.5 MB, free: 9.723 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.167e-06/0.3075, allocations: 0.6094 kB / 402.5 MB, free: 9.723 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.491e-06/0.3076, allocations: 5.062 kB / 402.5 MB, free: 9.723 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.232e-05/0.3076, allocations: 15.28 kB / 402.5 MB, free: 9.723 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003188/0.3079, allocations: 255.8 kB / 402.8 MB, free: 9.453 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001476/0.3081, allocations: 61.73 kB / 402.8 MB, free: 9.422 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.908e-05/0.3082, allocations: 22.64 kB / 402.8 MB, free: 9.414 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.545e-05/0.3082, allocations: 0 / 402.8 MB, free: 9.414 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.617e-05/0.3082, allocations: 31.94 kB / 402.9 MB, free: 9.375 MB / 286.1 MB Notification: Performance of pre-optimization done (n=6): time 1.252e-06/0.3082, allocations: 0.5 kB / 402.9 MB, free: 9.375 MB / 286.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009679/0.3092, allocations: 0.5027 MB / 403.4 MB, free: 8.93 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.903e-05/0.3093, allocations: 52.69 kB / 403.4 MB, free: 8.867 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.389e-05/0.3094, allocations: 101 kB / 403.5 MB, free: 8.77 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.498e-05/0.3094, allocations: 31.14 kB / 403.6 MB, free: 8.734 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.776e-05/0.3094, allocations: 81.64 kB / 403.6 MB, free: 8.652 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.088e-05/0.3095, allocations: 27.98 kB / 403.7 MB, free: 8.637 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.227e-05/0.3096, allocations: 24.88 kB / 403.7 MB, free: 8.621 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001025/0.3097, allocations: 321.9 kB / 404 MB, free: 8.301 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.713e-05/0.3097, allocations: 18.05 kB / 404 MB, free: 8.297 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.791e-05/0.3098, allocations: 31.92 kB / 404.1 MB, free: 8.281 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004229/0.3102, allocations: 250.3 kB / 404.3 MB, free: 8.074 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.512e-06/0.3102, allocations: 0 / 404.3 MB, free: 8.074 MB / 286.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001637/0.3104, allocations: 83.05 kB / 404.4 MB, free: 8.035 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.671e-05/0.3105, allocations: 8.812 kB / 404.4 MB, free: 8.031 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.067e-06/0.3105, allocations: 0.5625 kB / 404.4 MB, free: 8.031 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.772e-05/0.3105, allocations: 1.969 kB / 404.4 MB, free: 8.031 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001404/0.3107, allocations: 18.91 kB / 404.4 MB, free: 8.031 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.546e-06/0.3107, allocations: 0.75 kB / 404.4 MB, free: 8.031 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.421e-05/0.3107, allocations: 8.75 kB / 404.4 MB, free: 8.027 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.403e-05/0.3107, allocations: 4.344 kB / 404.4 MB, free: 8.027 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: $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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002468/0.311, allocations: 121.1 kB / 404.5 MB, free: 7.906 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.196e-05/0.311, allocations: 6 kB / 404.5 MB, free: 7.902 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.889e-05/0.3111, allocations: 9.391 kB / 404.6 MB, free: 7.891 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.527e-06/0.3111, allocations: 1.25 kB / 404.6 MB, free: 7.891 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.002e-05/0.3111, allocations: 0.5156 kB / 404.6 MB, free: 7.891 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.073e-06/0.3111, allocations: 9.531 kB / 404.6 MB, free: 7.887 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005089/0.3116, allocations: 376.2 kB / 404.9 MB, free: 7.543 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.837e-06/0.3116, allocations: 1.281 kB / 404.9 MB, free: 7.543 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.984e-05/0.3117, allocations: 8.328 kB / 404.9 MB, free: 7.543 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001557/0.3119, allocations: 21.62 kB / 405 MB, free: 7.535 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.412e-05/0.3119, allocations: 2.703 kB / 405 MB, free: 7.535 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001132/0.313, allocations: 1.387 MB / 406.4 MB, free: 6.168 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.013e-06/0.3131, allocations: 6 kB / 406.4 MB, free: 6.164 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003249/0.3134, allocations: 221.2 kB / 406.6 MB, free: 5.996 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.922e-05/0.3134, allocations: 88.28 kB / 406.7 MB, free: 5.895 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.43e-05/0.3135, allocations: 9.781 kB / 406.7 MB, free: 5.891 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.434e-05/0.3135, allocations: 2.031 kB / 406.7 MB, free: 5.891 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.39e-05/0.3136, allocations: 7 kB / 406.7 MB, free: 5.891 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.234e-05/0.3136, allocations: 5.688 kB / 406.7 MB, free: 5.891 MB / 286.1 MB Notification: Performance of sorting global known variables: time 3.915e-05/0.3136, allocations: 89.23 kB / 406.8 MB, free: 5.809 MB / 286.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3136, allocations: 0 / 406.8 MB, free: 5.809 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002803/0.3139, allocations: 10.97 kB / 406.8 MB, free: 5.809 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.0005134/0.3144, allocations: 0.7601 MB / 407.5 MB, free: 5.105 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0001785/0.3146, allocations: 47.61 kB / 407.6 MB, free: 5.102 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.3146, allocations: 0 / 407.6 MB, free: 5.102 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002944/0.3149, allocations: 143.3 kB / 407.7 MB, free: 4.988 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002444/0.3152, allocations: 8.062 kB / 407.7 MB, free: 4.988 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009967/0.3162, allocations: 1.35 MB / 409.1 MB, free: 3.754 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001371/0.3164, allocations: 0.6878 MB / 409.8 MB, free: 3.055 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 2.59e-05/0.3164, allocations: 3.906 kB / 409.8 MB, free: 3.055 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.789e-05/0.3164, allocations: 14.09 kB / 409.8 MB, free: 3.051 MB / 286.1 MB Notification: Performance of SimCode: time 5.71e-07/0.3164, allocations: 0 / 409.8 MB, free: 3.051 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03325/0.3497, allocations: 1.637 MB / 411.4 MB, free: 2.711 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.576/9.926, allocations: 6.797 kB / 411.4 MB, free: 2.707 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 & python3 -m fmpy simulate --output-file ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullSteadyState_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_TwoMassesEquationsFullSteadyState.fmu > ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullSteadyState.pipe 2>&1)