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.004648/0.004648, allocations: 100.9 kB / 15.73 MB, free: 6.055 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.001235/0.001235, allocations: 195.2 kB / 16.67 MB, free: 5.969 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.39/1.39, allocations: 222.9 MB / 240.4 MB, free: 15.08 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.002833/0.002833, allocations: 0.5648 MB / 291.1 MB, free: 14.16 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00181/0.00181, allocations: 71.88 kB / 401.9 MB, free: 32.65 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07851/0.08033, allocations: 49.59 MB / 451.5 MB, free: 15.02 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullInitial): time 0.001613/0.08198, allocations: 0.5275 MB / 452 MB, free: 14.5 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001628/0.08216, allocations: 23.91 kB / 452.1 MB, free: 14.47 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.48e-05/0.0822, allocations: 0 / 452.1 MB, free: 14.47 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 1.947e-05/0.08223, allocations: 3.938 kB / 452.1 MB, free: 14.47 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 2.613e-05/0.08226, allocations: 0 / 452.1 MB, free: 14.47 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001246/0.08239, allocations: 11.98 kB / 452.1 MB, free: 14.46 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 5.941e-05/0.08245, allocations: 19.92 kB / 452.1 MB, free: 14.44 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.025e-05/0.08251, allocations: 4 kB / 452.1 MB, free: 14.43 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.227e-05/0.08254, allocations: 7.938 kB / 452.1 MB, free: 14.43 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.467e-05/0.08261, allocations: 11.98 kB / 452.1 MB, free: 14.41 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.656e-05/0.08263, allocations: 4 kB / 452.1 MB, free: 14.41 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.436e-06/0.08264, allocations: 0 / 452.1 MB, free: 14.41 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.339e-05/0.08267, allocations: 11.91 kB / 452.1 MB, free: 14.4 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 2.535e-05/0.0827, allocations: 11.94 kB / 452.2 MB, free: 14.39 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 6.567e-05/0.08277, allocations: 12.2 kB / 452.2 MB, free: 14.38 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.08278, allocations: 0 / 452.2 MB, free: 14.38 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.854e-06/0.08279, allocations: 0 / 452.2 MB, free: 14.38 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.709e-06/0.0828, allocations: 0 / 452.2 MB, free: 14.38 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.0004398/0.08324, allocations: 339.4 kB / 452.5 MB, free: 13.99 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.341e-05/0.08329, allocations: 16.03 kB / 452.5 MB, free: 13.97 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.659e-05/0.08334, allocations: 30.75 kB / 452.5 MB, free: 13.93 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.34e-05/0.08336, allocations: 4.891 kB / 452.5 MB, free: 13.93 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001311/0.0835, allocations: 168.4 kB / 452.7 MB, free: 13.73 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.036e-05/0.08352, allocations: 384 / 452.7 MB, free: 13.73 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.472e-05/0.08354, allocations: 8.375 kB / 452.7 MB, free: 13.72 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001008/0.08365, allocations: 46.19 kB / 452.8 MB, free: 13.67 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.223e-05/0.08367, allocations: 3.938 kB / 452.8 MB, free: 13.66 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.612e-06/0.08368, allocations: 0 / 452.8 MB, free: 13.66 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.476e-06/0.08369, allocations: 0 / 452.8 MB, free: 13.66 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.226e-05/0.08374, allocations: 19.98 kB / 452.8 MB, free: 13.64 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002872/0.08403, allocations: 248.9 kB / 453 MB, free: 13.35 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001086/0.08415, allocations: 58.5 kB / 453.1 MB, free: 13.29 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.579e-05/0.08419, allocations: 20.98 kB / 453.1 MB, free: 13.26 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.034e-05/0.08421, allocations: 0 / 453.1 MB, free: 13.26 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.857e-05/0.08424, allocations: 34.56 kB / 453.1 MB, free: 13.22 MB / 334.1 MB Notification: Performance of pre-optimization done (n=6): time 7.71e-07/0.08425, allocations: 0 / 453.1 MB, free: 13.22 MB / 334.1 MB Notification: Performance of matching and sorting (n=8): time 0.0007345/0.08499, allocations: 0.5029 MB / 453.6 MB, free: 12.62 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.353e-05/0.08504, allocations: 55.41 kB / 453.7 MB, free: 12.55 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.35e-05/0.08513, allocations: 97.84 kB / 453.8 MB, free: 12.45 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.825e-05/0.08515, allocations: 33.7 kB / 453.8 MB, free: 12.41 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.38e-05/0.0852, allocations: 80.14 kB / 453.9 MB, free: 12.33 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.591e-05/0.08524, allocations: 31.73 kB / 453.9 MB, free: 12.3 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.905e-05/0.08529, allocations: 25.72 kB / 454 MB, free: 12.27 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001367/0.08543, allocations: 318.8 kB / 454.3 MB, free: 11.95 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.898e-05/0.08546, allocations: 12 kB / 454.3 MB, free: 11.93 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.073e-05/0.08552, allocations: 37.64 kB / 454.3 MB, free: 11.89 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003253/0.08585, allocations: 260.1 kB / 454.6 MB, free: 11.59 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.52e-07/0.08586, allocations: 0 / 454.6 MB, free: 11.59 MB / 334.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000165/0.08603, allocations: 98.42 kB / 454.7 MB, free: 11.49 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.297e-05/0.08606, allocations: 4 kB / 454.7 MB, free: 11.48 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.807e-06/0.08607, allocations: 4.234 kB / 454.7 MB, free: 11.48 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001176/0.08619, allocations: 24.78 kB / 454.7 MB, free: 11.45 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.541e-05/0.08626, allocations: 15.94 kB / 454.7 MB, free: 11.44 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001137/0.08741, allocations: 1.379 MB / 456.1 MB, free: 9.914 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.224e-05/0.08744, allocations: 12 kB / 456.1 MB, free: 9.902 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.453e-06/0.08746, allocations: 4.031 kB / 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.0001421/0.0876, allocations: 122.4 kB / 456.2 MB, free: 9.77 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.197e-05/0.08763, allocations: 4 kB / 456.2 MB, free: 9.766 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.388e-05/0.08766, allocations: 7.969 kB / 456.2 MB, free: 9.758 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.222e-06/0.08767, allocations: 0 / 456.2 MB, free: 9.758 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.625e-06/0.08768, allocations: 4 kB / 456.2 MB, free: 9.754 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.896e-06/0.08768, allocations: 0 / 456.2 MB, free: 9.754 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000435/0.08813, allocations: 374 kB / 456.6 MB, free: 9.32 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.08814, allocations: 4 kB / 456.6 MB, free: 9.316 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.862e-05/0.08819, allocations: 11.94 kB / 456.6 MB, free: 9.305 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.586e-05/0.08827, allocations: 16.84 kB / 456.6 MB, free: 9.285 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.532e-05/0.08829, allocations: 8.078 kB / 456.7 MB, free: 9.277 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001003/0.08931, allocations: 1.383 MB / 458 MB, free: 7.754 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.08932, allocations: 0 / 458 MB, free: 7.754 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002451/0.08957, allocations: 234.9 kB / 458.3 MB, free: 7.496 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.28e-05/0.08962, allocations: 81.14 kB / 458.3 MB, free: 7.398 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.195e-05/0.08964, allocations: 8.062 kB / 458.4 MB, free: 7.391 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.972e-05/0.08971, allocations: 8.062 kB / 458.4 MB, free: 7.383 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.871e-05/0.08974, allocations: 15.92 kB / 458.4 MB, free: 7.367 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.927e-06/0.08975, allocations: 0 / 458.4 MB, free: 7.367 MB / 334.1 MB Notification: Performance of sorting global known variables: time 4.281e-05/0.0898, allocations: 83.27 kB / 458.5 MB, free: 7.285 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.0898, allocations: 0 / 458.5 MB, free: 7.285 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002391/0.09005, allocations: 12 kB / 458.5 MB, free: 7.273 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.0005492/0.0906, allocations: 0.7607 MB / 459.2 MB, free: 6.477 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002941/0.09091, allocations: 162.6 kB / 459.4 MB, free: 6.305 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.09092, allocations: 4.062 kB / 459.4 MB, free: 6.301 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001836/0.09111, allocations: 146.6 kB / 459.5 MB, free: 6.145 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000211/0.09133, allocations: 3.938 kB / 459.5 MB, free: 6.141 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001316/0.09265, allocations: 1.399 MB / 460.9 MB, free: 4.629 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003227/0.09298, allocations: 0.6846 MB / 461.6 MB, free: 3.918 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 2.015e-05/0.09301, allocations: 7.938 kB / 461.6 MB, free: 3.91 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.533e-05/0.09306, allocations: 15.42 kB / 461.6 MB, free: 3.895 MB / 334.1 MB Notification: Performance of SimCode: time 2.7e-07/0.09307, allocations: 0 / 461.6 MB, free: 3.895 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0271/0.1202, allocations: 1.782 MB / 463.4 MB, free: 2.344 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.467/9.587, allocations: 18.83 kB / 463.4 MB, free: 2.332 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 & 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)