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.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.001369/0.001369, allocations: 113 kB / 18.94 MB, free: 2.934 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.001496/0.001496, allocations: 209.6 kB / 22.25 MB, free: 5.086 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.376/1.376, allocations: 230.6 MB / 256 MB, free: 8.043 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.002859/0.002859, allocations: 0.5756 MB / 313 MB, free: 2.562 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.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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001884/0.001884, allocations: 68.12 kB / 435.2 MB, free: 17.13 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09882/0.1007, allocations: 53.53 MB / 488.7 MB, free: 11.51 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedInitial): time 0.002875/0.1036, allocations: 1.674 MB / 490.4 MB, free: 9.824 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002776/0.1039, allocations: 91.69 kB / 490.5 MB, free: 9.734 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.94e-05/0.1039, allocations: 4 kB / 490.5 MB, free: 9.73 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 5.773e-05/0.104, allocations: 11.86 kB / 490.5 MB, free: 9.719 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001012/0.1041, allocations: 31.72 kB / 490.5 MB, free: 9.688 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001309/0.1042, allocations: 27.95 kB / 490.5 MB, free: 9.66 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001422/0.1043, allocations: 107.5 kB / 490.6 MB, free: 9.555 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001307/0.1045, allocations: 27.98 kB / 490.7 MB, free: 9.527 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.982e-05/0.1046, allocations: 35.92 kB / 490.7 MB, free: 9.492 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001027/0.1047, allocations: 47.77 kB / 490.7 MB, free: 9.445 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.363e-05/0.1047, allocations: 12 kB / 490.8 MB, free: 9.434 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.929e-05/0.1047, allocations: 8 kB / 490.8 MB, free: 9.426 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.631e-05/0.1047, allocations: 19.92 kB / 490.8 MB, free: 9.406 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.151e-05/0.1048, allocations: 43.81 kB / 490.8 MB, free: 9.363 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001844/0.105, allocations: 119.8 kB / 490.9 MB, free: 9.246 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.105, allocations: 0 / 490.9 MB, free: 9.246 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.105, allocations: 3.938 kB / 491 MB, free: 9.242 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.781e-06/0.105, allocations: 0 / 491 MB, free: 9.242 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: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0005247/0.1055, allocations: 322.1 kB / 491.3 MB, free: 8.895 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.214e-05/0.1056, allocations: 8.031 kB / 491.3 MB, free: 8.887 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.33e-05/0.1056, allocations: 42.75 kB / 491.3 MB, free: 8.836 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.518e-05/0.1057, allocations: 20.84 kB / 491.3 MB, free: 8.816 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001629/0.1058, allocations: 118.5 kB / 491.5 MB, free: 8.676 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.561e-05/0.1058, allocations: 8.562 kB / 491.5 MB, free: 8.668 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.139e-05/0.1059, allocations: 16.33 kB / 491.5 MB, free: 8.652 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000197/0.1061, allocations: 95.59 kB / 491.6 MB, free: 8.555 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.621e-05/0.1061, allocations: 4 kB / 491.6 MB, free: 8.551 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.451e-05/0.1061, allocations: 4 kB / 491.6 MB, free: 8.547 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.749e-06/0.1061, allocations: 0 / 491.6 MB, free: 8.547 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001158/0.1062, allocations: 63.89 kB / 491.6 MB, free: 8.484 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005771/0.1068, allocations: 359.7 kB / 492 MB, free: 8.09 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001746/0.107, allocations: 90.55 kB / 492.1 MB, free: 7.992 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.352e-05/0.107, allocations: 36.84 kB / 492.1 MB, free: 7.953 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.733e-05/0.1071, allocations: 4 kB / 492.1 MB, free: 7.949 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.843e-05/0.1071, allocations: 34.56 kB / 492.2 MB, free: 7.906 MB / 350.1 MB Notification: Performance of pre-optimization done (n=12): time 1.072e-06/0.1071, allocations: 3.938 kB / 492.2 MB, free: 7.902 MB / 350.1 MB Notification: Performance of matching and sorting (n=16): time 0.001068/0.1082, allocations: 0.5348 MB / 492.7 MB, free: 7.312 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.91e-05/0.1082, allocations: 51.41 kB / 492.7 MB, free: 7.25 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001151/0.1083, allocations: 126 kB / 492.9 MB, free: 7.117 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.895e-05/0.1083, allocations: 33.7 kB / 492.9 MB, free: 7.078 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.016e-05/0.1084, allocations: 104.3 kB / 493 MB, free: 6.969 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.557e-05/0.1085, allocations: 59.48 kB / 493.1 MB, free: 6.91 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.002e-05/0.1085, allocations: 33.7 kB / 493.1 MB, free: 6.871 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000138/0.1087, allocations: 318.8 kB / 493.4 MB, free: 6.551 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.853e-05/0.1087, allocations: 35.98 kB / 493.4 MB, free: 6.516 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.516e-05/0.1088, allocations: 54.56 kB / 493.5 MB, free: 6.453 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001471/0.1089, allocations: 112 kB / 493.6 MB, free: 6.336 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.72e-07/0.1089, allocations: 0 / 493.6 MB, free: 6.336 MB / 350.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002633/0.1092, allocations: 158.4 kB / 493.8 MB, free: 6.172 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.381e-05/0.1092, allocations: 4 kB / 493.8 MB, free: 6.168 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.15e-06/0.1092, allocations: 0 / 493.8 MB, free: 6.168 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001306/0.1094, allocations: 36.81 kB / 493.8 MB, free: 6.129 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000115/0.1095, allocations: 31.97 kB / 493.8 MB, free: 6.098 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001359/0.1108, allocations: 1.512 MB / 495.3 MB, free: 4.465 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.237e-05/0.1109, allocations: 11.97 kB / 495.3 MB, free: 4.453 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.608e-06/0.1109, allocations: 7.938 kB / 495.4 MB, free: 4.445 MB / 350.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.0001185/0.111, allocations: 129.7 kB / 495.5 MB, free: 4.309 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.576e-05/0.111, allocations: 15.91 kB / 495.5 MB, free: 4.293 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.195e-05/0.1111, allocations: 16.78 kB / 495.5 MB, free: 4.281 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-06/0.1111, allocations: 0 / 495.5 MB, free: 4.281 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/0.1111, allocations: 8.062 kB / 495.5 MB, free: 4.273 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.1111, allocations: 0 / 495.5 MB, free: 4.273 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006583/0.1118, allocations: 0.5076 MB / 496 MB, free: 3.695 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.239e-06/0.1118, allocations: 4 kB / 496 MB, free: 3.691 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001156/0.1119, allocations: 27.98 kB / 496.1 MB, free: 3.664 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.866e-05/0.1119, allocations: 24.83 kB / 496.1 MB, free: 3.637 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.4e-05/0.112, allocations: 8 kB / 496.1 MB, free: 3.629 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001003/0.113, allocations: 1.275 MB / 497.4 MB, free: 2.238 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.113, allocations: 0 / 497.4 MB, free: 2.238 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003634/0.1133, allocations: 298.9 kB / 497.7 MB, free: 1.918 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.572e-05/0.1133, allocations: 7.984 kB / 497.7 MB, free: 1.91 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.771e-05/0.1134, allocations: 11.92 kB / 497.7 MB, free: 1.898 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.896e-05/0.1134, allocations: 8 kB / 497.7 MB, free: 1.891 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.685e-05/0.1135, allocations: 11.92 kB / 497.7 MB, free: 1.879 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.037e-06/0.1135, allocations: 8 kB / 497.7 MB, free: 1.871 MB / 350.1 MB Notification: Performance of sorting global known variables: time 6.085e-05/0.1135, allocations: 95.27 kB / 497.8 MB, free: 1.777 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1135, allocations: 0 / 497.8 MB, free: 1.777 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003028/0.1138, allocations: 32.06 kB / 497.8 MB, free: 1.746 MB / 350.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.0006758/0.1145, allocations: 0.8367 MB / 498.7 MB, free: 0.8672 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003897/0.1149, allocations: 214.6 kB / 498.9 MB, free: 0.6445 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.1149, allocations: 0 / 498.9 MB, free: 0.6445 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001959/0.1151, allocations: 166.5 kB / 499 MB, free: 480 kB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000378/0.1155, allocations: 20.3 kB / 499.1 MB, free: 460 kB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002066/0.1176, allocations: 1.852 MB / 0.4892 GB, free: 14.48 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003505/0.1179, allocations: 0.7122 MB / 0.4899 GB, free: 13.74 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.458e-05/0.1179, allocations: 5.094 kB / 0.4899 GB, free: 13.74 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.948e-05/0.118, allocations: 31.61 kB / 0.4899 GB, free: 13.71 MB / 366.1 MB Notification: Performance of SimCode: time 3.41e-07/0.118, allocations: 0 / 0.4899 GB, free: 13.71 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03006/0.1481, allocations: 3.09 MB / 0.4929 GB, free: 10.81 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.66/10.81, allocations: 7.25 kB / 0.4929 GB, free: 10.81 MB / 366.1 MB " [Timeout remaining time 649] (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) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.529969216000609] Failed to read output from testmodel.py, exit status != 0: 10.916187511000317 11.124831569 11.016520731 Calling exit ...