Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedInitial.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001682/0.001682, allocations: 95.64 kB / 18.95 MB, free: 2.691 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002022/0.002022, allocations: 212.8 kB / 22.24 MB, free: 5.242 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.541/1.541, allocations: 230.6 MB / 256 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.1.0+maint.om/package.mo): time 0.002929/0.002929, allocations: 0.5749 MB / 313 MB, free: 2.391 MB / 238.1 MB " [Timeout remaining time 180] Using package ModelicaTestOverdetermined with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedInitial,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Mechanical_TwoMassesEquationsReducedInitial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedInitial,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Mechanical_TwoMassesEquationsReducedInitial",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.003268/0.003268, allocations: 67.91 kB / 435.1 MB, free: 16.88 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1134/0.1167, allocations: 53.52 MB / 488.6 MB, free: 11.26 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedInitial): time 0.001594/0.1183, allocations: 0.5079 MB / 489.1 MB, free: 10.75 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001768/0.1185, allocations: 27.89 kB / 489.2 MB, free: 10.73 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.494e-05/0.1185, allocations: 0 / 489.2 MB, free: 10.73 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.539e-05/0.1185, allocations: 7.875 kB / 489.2 MB, free: 10.72 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 4.685e-05/0.1186, allocations: 0 / 489.2 MB, free: 10.72 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001238/0.1187, allocations: 3.984 kB / 489.2 MB, free: 10.71 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 5.166e-05/0.1187, allocations: 12 kB / 489.2 MB, free: 10.7 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.711e-05/0.1188, allocations: 8.391 kB / 489.2 MB, free: 10.7 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.005e-05/0.1188, allocations: 7.938 kB / 489.2 MB, free: 10.69 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.736e-05/0.1189, allocations: 19.91 kB / 489.2 MB, free: 10.67 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.587e-05/0.1189, allocations: 4 kB / 489.2 MB, free: 10.66 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.967e-06/0.1189, allocations: 0 / 489.2 MB, free: 10.66 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.889e-05/0.1189, allocations: 3.938 kB / 489.2 MB, free: 10.66 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.528e-05/0.1189, allocations: 8 kB / 489.2 MB, free: 10.65 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 7.016e-05/0.119, allocations: 16.14 kB / 489.3 MB, free: 10.64 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.119, allocations: 3.938 kB / 489.3 MB, free: 10.63 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.119, allocations: 0 / 489.3 MB, free: 10.63 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.661e-06/0.119, allocations: 0 / 489.3 MB, free: 10.63 MB / 350.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.000429/0.1195, allocations: 254.4 kB / 489.5 MB, free: 10.35 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.409e-05/0.1195, allocations: 16.03 kB / 489.5 MB, free: 10.34 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.581e-05/0.1195, allocations: 38.73 kB / 489.6 MB, free: 10.29 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.109e-05/0.1196, allocations: 0.9375 kB / 489.6 MB, free: 10.29 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001134/0.1197, allocations: 110.5 kB / 489.7 MB, free: 10.16 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.284e-05/0.1197, allocations: 384 / 489.7 MB, free: 10.16 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.281e-05/0.1197, allocations: 4.375 kB / 489.7 MB, free: 10.15 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001074/0.1198, allocations: 46.25 kB / 489.7 MB, free: 10.1 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.272e-05/0.1198, allocations: 7.875 kB / 489.7 MB, free: 10.09 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.887e-06/0.1198, allocations: 0 / 489.7 MB, free: 10.09 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.432e-06/0.1198, allocations: 4 kB / 489.7 MB, free: 10.09 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.782e-05/0.1199, allocations: 11.98 kB / 489.7 MB, free: 10.08 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004068/0.1203, allocations: 251.8 kB / 490 MB, free: 9.789 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001034/0.1204, allocations: 46.48 kB / 490 MB, free: 9.734 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.605e-05/0.1204, allocations: 12.86 kB / 490 MB, free: 9.719 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.025e-05/0.1205, allocations: 0 / 490 MB, free: 9.719 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.087e-05/0.1205, allocations: 38.64 kB / 490.1 MB, free: 9.672 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 8.52e-07/0.1205, allocations: 0 / 490.1 MB, free: 9.672 MB / 350.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003709/0.1209, allocations: 74.53 kB / 490.2 MB, free: 9.59 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.222e-05/0.1209, allocations: 55.34 kB / 490.2 MB, free: 9.523 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.612e-05/0.121, allocations: 101.8 kB / 490.3 MB, free: 9.414 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.147e-05/0.121, allocations: 29.7 kB / 490.3 MB, free: 9.379 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.418e-05/0.121, allocations: 88.09 kB / 490.4 MB, free: 9.289 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.079e-05/0.1211, allocations: 15.89 kB / 490.4 MB, free: 9.273 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.376e-05/0.1211, allocations: 17.72 kB / 490.5 MB, free: 9.25 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001385/0.1212, allocations: 318.8 kB / 490.8 MB, free: 8.93 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.409e-05/0.1213, allocations: 8 kB / 490.8 MB, free: 8.922 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.884e-05/0.1213, allocations: 29.7 kB / 490.8 MB, free: 8.887 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.404e-05/0.1214, allocations: 29.72 kB / 490.8 MB, free: 8.852 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.1214, allocations: 0 / 490.8 MB, free: 8.852 MB / 350.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001346/0.1215, allocations: 78.47 kB / 490.9 MB, free: 8.766 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.434e-05/0.1215, allocations: 4 kB / 490.9 MB, free: 8.762 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.657e-06/0.1215, allocations: 0 / 490.9 MB, free: 8.762 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001308/0.1216, allocations: 20.78 kB / 490.9 MB, free: 8.738 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.106e-05/0.1217, allocations: 8 kB / 490.9 MB, free: 8.73 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001061/0.1228, allocations: 1.244 MB / 492.2 MB, free: 7.371 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.957e-05/0.1228, allocations: 4.188 kB / 492.2 MB, free: 7.367 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.995e-06/0.1228, allocations: 8.016 kB / 492.2 MB, free: 7.359 MB / 350.1 MB 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 (5): * Single equations (assignments): 4 * 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 prepare postOptimizeDAE: time 9.61e-05/0.1229, allocations: 121.7 kB / 492.3 MB, free: 7.23 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.684e-05/0.1229, allocations: 11.92 kB / 492.3 MB, free: 7.219 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.877e-05/0.1229, allocations: 3.688 kB / 492.3 MB, free: 7.211 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.473e-06/0.1229, allocations: 0 / 492.3 MB, free: 7.211 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.094e-06/0.1229, allocations: 0 / 492.3 MB, free: 7.211 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.634e-06/0.1229, allocations: 0 / 492.3 MB, free: 7.211 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001675/0.1231, allocations: 140.6 kB / 492.5 MB, free: 7.031 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.1231, allocations: 4 kB / 492.5 MB, free: 7.027 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.679e-05/0.1231, allocations: 4 kB / 492.5 MB, free: 7.023 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.336e-05/0.1232, allocations: 20.78 kB / 492.5 MB, free: 7 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.724e-06/0.1232, allocations: 0 / 492.5 MB, free: 7 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001012/0.1242, allocations: 1.244 MB / 493.7 MB, free: 5.645 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.627e-06/0.1242, allocations: 3.938 kB / 493.7 MB, free: 5.641 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002062/0.1244, allocations: 176.5 kB / 493.9 MB, free: 5.449 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.823e-06/0.1244, allocations: 4.031 kB / 493.9 MB, free: 5.445 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.017e-06/0.1245, allocations: 3.938 kB / 493.9 MB, free: 5.441 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.847e-05/0.1245, allocations: 0 / 493.9 MB, free: 5.441 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.992e-05/0.1245, allocations: 7.984 kB / 493.9 MB, free: 5.434 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.945e-06/0.1245, allocations: 0 / 493.9 MB, free: 5.434 MB / 350.1 MB Notification: Performance of sorting global known variables: time 4.743e-05/0.1246, allocations: 83.28 kB / 494 MB, free: 5.352 MB / 350.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.1246, allocations: 0 / 494 MB, free: 5.352 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002329/0.1248, allocations: 4 kB / 494 MB, free: 5.348 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (x1,v1) * 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 (3): * Single equations (assignments): 2 * 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.0006138/0.1254, allocations: 0.7095 MB / 494.7 MB, free: 4.605 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003012/0.1257, allocations: 142.7 kB / 494.9 MB, free: 4.453 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.1257, allocations: 0 / 494.9 MB, free: 4.453 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001605/0.1259, allocations: 126.6 kB / 495 MB, free: 4.316 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002354/0.1261, allocations: 4 kB / 495 MB, free: 4.312 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001352/0.1275, allocations: 1.28 MB / 496.3 MB, free: 2.938 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.334e-05/0.1275, allocations: 71.5 kB / 496.3 MB, free: 2.848 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 1.726e-05/0.1276, allocations: 7.938 kB / 496.4 MB, free: 2.84 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.555e-05/0.1276, allocations: 11.44 kB / 496.4 MB, free: 2.828 MB / 350.1 MB Notification: Performance of SimCode: time 2.91e-07/0.1276, allocations: 0 / 496.4 MB, free: 2.828 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03261/0.1602, allocations: 2.013 MB / 498.4 MB, free: 1.004 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.43/11.59, allocations: 4 kB / 498.4 MB, free: 1 MB / 350.1 MB " [Timeout remaining time 648] (rm -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedInitial.pipe ; mkfifo ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedInitial.pipe ; head -c 1048576 < ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedInitial.pipe >> ../files/ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedInitial.sim & python3 -m fmpy simulate --output-file ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedInitial_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_TwoMassesEquationsReducedInitial.fmu > ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedInitial.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.288005548994988] Failed to read output from testmodel.py, exit status != 0: 11.702604287303984 11.730116253 11.605658064 Calling exit ...