Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedInitial.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.TwoMassesReducedInitial,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Mechanical_TwoMassesReducedInitial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedInitial,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Mechanical_TwoMassesReducedInitial",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.006767/0.006767, allocations: 99.81 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.001407/0.001407, allocations: 192.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.375/1.375, allocations: 222.9 MB / 240.4 MB, free: 15.15 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.002701/0.002701, allocations: 0.5708 MB / 291.1 MB, free: 14.19 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00124/0.00124, allocations: 71.88 kB / 401.9 MB, free: 32.67 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1083/0.1096, allocations: 49.59 MB / 451.5 MB, free: 15.04 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedInitial): time 0.002707/0.1123, allocations: 1.645 MB / 453.2 MB, free: 13.39 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.000342/0.1127, allocations: 99.67 kB / 453.3 MB, free: 13.29 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.573e-05/0.1128, allocations: 4 kB / 453.3 MB, free: 13.29 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.935e-05/0.1128, allocations: 11.86 kB / 453.3 MB, free: 13.27 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001329/0.113, allocations: 27.72 kB / 453.3 MB, free: 13.25 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001608/0.1131, allocations: 31.89 kB / 453.3 MB, free: 13.21 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001526/0.1133, allocations: 99.53 kB / 453.4 MB, free: 13.12 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001735/0.1135, allocations: 39.98 kB / 453.5 MB, free: 13.08 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.483e-05/0.1136, allocations: 35.86 kB / 453.5 MB, free: 13.04 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001106/0.1137, allocations: 51.77 kB / 453.6 MB, free: 12.99 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.409e-05/0.1137, allocations: 8 kB / 453.6 MB, free: 12.98 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.07e-05/0.1137, allocations: 8 kB / 453.6 MB, free: 12.98 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 3.616e-05/0.1138, allocations: 23.92 kB / 453.6 MB, free: 12.95 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 6.815e-05/0.1139, allocations: 43.8 kB / 453.6 MB, free: 12.91 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001951/0.1141, allocations: 107.8 kB / 453.7 MB, free: 12.8 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/0.1141, allocations: 0 / 453.7 MB, free: 12.8 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.1141, allocations: 0 / 453.7 MB, free: 12.8 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.794e-06/0.1141, allocations: 0 / 453.7 MB, free: 12.8 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: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0005615/0.1147, allocations: 407.2 kB / 454.1 MB, free: 12.36 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.582e-05/0.1147, allocations: 8.031 kB / 454.1 MB, free: 12.35 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.098e-05/0.1148, allocations: 50.67 kB / 454.2 MB, free: 12.29 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.154e-05/0.1148, allocations: 12.89 kB / 454.2 MB, free: 12.28 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001698/0.115, allocations: 180.3 kB / 454.4 MB, free: 12.06 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.592e-05/0.115, allocations: 8.562 kB / 454.4 MB, free: 12.05 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.718e-05/0.115, allocations: 12.38 kB / 454.4 MB, free: 12.04 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001767/0.1152, allocations: 100.2 kB / 454.5 MB, free: 11.94 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.326e-05/0.1152, allocations: 0 / 454.5 MB, free: 11.94 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.241e-05/0.1153, allocations: 11.94 kB / 454.5 MB, free: 11.93 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.939e-06/0.1153, allocations: 0 / 454.5 MB, free: 11.93 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001157/0.1154, allocations: 59.95 kB / 454.6 MB, free: 11.87 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005214/0.1159, allocations: 392.6 kB / 455 MB, free: 11.44 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001764/0.1161, allocations: 102.5 kB / 455.1 MB, free: 11.33 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.988e-05/0.1162, allocations: 36.86 kB / 455.1 MB, free: 11.29 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.373e-05/0.1162, allocations: 0 / 455.1 MB, free: 11.29 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.732e-05/0.1162, allocations: 38.55 kB / 455.1 MB, free: 11.24 MB / 334.1 MB Notification: Performance of pre-optimization done (n=12): time 1.022e-06/0.1162, allocations: 0 / 455.1 MB, free: 11.24 MB / 334.1 MB Notification: Performance of matching and sorting (n=16): time 0.001101/0.1173, allocations: 0.6903 MB / 455.8 MB, free: 10.46 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.774e-05/0.1174, allocations: 55.41 kB / 455.9 MB, free: 10.39 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.617e-05/0.1175, allocations: 125.8 kB / 456 MB, free: 10.26 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.627e-05/0.1175, allocations: 29.7 kB / 456 MB, free: 10.22 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.69e-05/0.1176, allocations: 100.3 kB / 456.1 MB, free: 10.12 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.889e-05/0.1176, allocations: 59.48 kB / 456.2 MB, free: 10.06 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.051e-05/0.1177, allocations: 29.7 kB / 456.2 MB, free: 10.02 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001031/0.1178, allocations: 330.8 kB / 456.5 MB, free: 9.691 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.367e-05/0.1179, allocations: 24 kB / 456.6 MB, free: 9.668 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.606e-05/0.1179, allocations: 66.5 kB / 456.6 MB, free: 9.594 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001442/0.1181, allocations: 102.5 kB / 456.7 MB, free: 9.484 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.72e-07/0.1181, allocations: 0 / 456.7 MB, free: 9.484 MB / 334.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002476/0.1183, allocations: 170.1 kB / 456.9 MB, free: 9.312 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.891e-05/0.1184, allocations: 8 kB / 456.9 MB, free: 9.305 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.182e-06/0.1184, allocations: 0 / 456.9 MB, free: 9.305 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001406/0.1185, allocations: 28.84 kB / 456.9 MB, free: 9.273 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001188/0.1187, allocations: 27.92 kB / 457 MB, free: 9.246 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001207/0.1199, allocations: 1.619 MB / 458.6 MB, free: 7.48 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.512e-05/0.1199, allocations: 0 / 458.6 MB, free: 7.48 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.759e-06/0.1199, allocations: 4.031 kB / 458.6 MB, free: 7.477 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (16): * Single equations (assignments): 15 * 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,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001054/0.1201, allocations: 138.5 kB / 458.7 MB, free: 7.332 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.236e-05/0.1201, allocations: 7.953 kB / 458.7 MB, free: 7.324 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.916e-05/0.1201, allocations: 16.78 kB / 458.7 MB, free: 7.312 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.005e-06/0.1201, allocations: 4 kB / 458.7 MB, free: 7.309 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.505e-06/0.1201, allocations: 0 / 458.7 MB, free: 7.309 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/0.1202, allocations: 0 / 458.7 MB, free: 7.309 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005977/0.1208, allocations: 0.5401 MB / 459.3 MB, free: 6.688 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.838e-06/0.1208, allocations: 0 / 459.3 MB, free: 6.688 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001469/0.1209, allocations: 35.92 kB / 459.3 MB, free: 6.652 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.246e-05/0.121, allocations: 24.72 kB / 459.3 MB, free: 6.625 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.917e-05/0.1211, allocations: 8 kB / 459.3 MB, free: 6.617 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009114/0.122, allocations: 1.367 MB / 460.7 MB, free: 5.113 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.186e-05/0.122, allocations: 3.938 kB / 460.7 MB, free: 5.109 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003185/0.1223, allocations: 306.9 kB / 461 MB, free: 4.781 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.458e-05/0.1224, allocations: 85.09 kB / 461.1 MB, free: 4.68 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.438e-05/0.1224, allocations: 0 / 461.1 MB, free: 4.68 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.778e-05/0.1225, allocations: 8 kB / 461.1 MB, free: 4.672 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.497e-05/0.1225, allocations: 19.92 kB / 461.1 MB, free: 4.652 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.678e-06/0.1225, allocations: 8 kB / 461.1 MB, free: 4.645 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.444e-05/0.1226, allocations: 95.27 kB / 461.2 MB, free: 4.551 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1226, allocations: 0 / 461.2 MB, free: 4.551 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002935/0.1229, allocations: 28 kB / 461.3 MB, free: 4.523 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (mass1.s,mass1.v) * 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 (15): * Single equations (assignments): 14 * 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,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005853/0.1235, allocations: 0.8405 MB / 462.1 MB, free: 3.641 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000372/0.1239, allocations: 214.6 kB / 462.3 MB, free: 3.418 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.067e-06/0.1239, allocations: 8.125 kB / 462.3 MB, free: 3.41 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001693/0.1241, allocations: 170.5 kB / 462.5 MB, free: 3.23 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003883/0.1245, allocations: 29.56 kB / 462.5 MB, free: 3.207 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001816/0.1263, allocations: 1.853 MB / 464.4 MB, free: 1.242 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002431/0.1265, allocations: 0.7045 MB / 465.1 MB, free: 0.5117 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 4.733e-05/0.1266, allocations: 13.08 kB / 465.1 MB, free: 0.4961 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.291e-05/0.1267, allocations: 27.44 kB / 465.1 MB, free: 480 kB / 334.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1267, allocations: 0 / 465.1 MB, free: 480 kB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02286/0.1495, allocations: 2.984 MB / 468.1 MB, free: 13.73 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.37/9.519, allocations: 20.28 kB / 468.1 MB, free: 13.71 MB / 350.1 MB (rm -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedInitial.pipe ; mkfifo ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedInitial.pipe ; head -c 1048576 < ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedInitial.pipe >> ../files/ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedInitial.sim & python3 -m fmpy simulate --output-file ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedInitial_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Mechanical_TwoMassesReducedInitial.fmu > ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedInitial.pipe 2>&1)