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.001383/0.001383, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002127/0.002127, allocations: 211.6 kB / 22.25 MB, free: 5.262 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.441/1.441, 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.002893/0.002893, allocations: 0.5758 MB / 313 MB, free: 2.301 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.002031/0.002031, allocations: 67.89 kB / 435.1 MB, free: 16.88 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0952/0.09723, allocations: 53.53 MB / 488.6 MB, free: 11.26 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedInitial): time 0.003229/0.1005, allocations: 1.601 MB / 490.2 MB, free: 9.645 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003692/0.1008, allocations: 91.69 kB / 490.3 MB, free: 9.555 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.706e-05/0.1009, allocations: 7.938 kB / 490.3 MB, free: 9.547 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 6.457e-05/0.101, allocations: 11.86 kB / 490.3 MB, free: 9.535 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001388/0.1011, allocations: 35.77 kB / 490.4 MB, free: 9.5 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001529/0.1013, allocations: 19.92 kB / 490.4 MB, free: 9.48 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001695/0.1015, allocations: 111.5 kB / 490.5 MB, free: 9.371 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000136/0.1016, allocations: 23.98 kB / 490.5 MB, free: 9.348 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.639e-05/0.1017, allocations: 39.86 kB / 490.6 MB, free: 9.309 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.609e-05/0.1018, allocations: 39.78 kB / 490.6 MB, free: 9.27 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.427e-05/0.1018, allocations: 11.98 kB / 490.6 MB, free: 9.258 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.295e-05/0.1018, allocations: 12 kB / 490.6 MB, free: 9.246 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.553e-05/0.1018, allocations: 15.92 kB / 490.6 MB, free: 9.23 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.841e-05/0.1019, allocations: 39.81 kB / 490.7 MB, free: 9.191 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001705/0.1021, allocations: 119.8 kB / 490.8 MB, free: 9.074 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.1021, allocations: 3.938 kB / 490.8 MB, free: 9.07 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.113e-06/0.1021, allocations: 0 / 490.8 MB, free: 9.07 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.551e-06/0.1021, allocations: 0 / 490.8 MB, free: 9.07 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.0005327/0.1026, allocations: 322.2 kB / 491.1 MB, free: 8.723 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.327e-05/0.1027, allocations: 12.03 kB / 491.1 MB, free: 8.711 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.952e-05/0.1027, allocations: 34.75 kB / 491.2 MB, free: 8.668 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.017e-05/0.1028, allocations: 16.84 kB / 491.2 MB, free: 8.652 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001976/0.1029, allocations: 130.4 kB / 491.3 MB, free: 8.5 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.69e-05/0.103, allocations: 8.562 kB / 491.3 MB, free: 8.492 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.241e-05/0.103, allocations: 12.33 kB / 491.3 MB, free: 8.48 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001902/0.1032, allocations: 93.78 kB / 491.4 MB, free: 8.383 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.727e-05/0.1032, allocations: 3.984 kB / 491.4 MB, free: 8.379 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.276e-05/0.1032, allocations: 4 kB / 491.4 MB, free: 8.375 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.633e-06/0.1032, allocations: 4 kB / 491.4 MB, free: 8.371 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001203/0.1033, allocations: 55.95 kB / 491.5 MB, free: 8.316 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005652/0.1039, allocations: 339.8 kB / 491.8 MB, free: 7.941 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001969/0.1041, allocations: 102.4 kB / 491.9 MB, free: 7.832 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.107e-05/0.1042, allocations: 36.84 kB / 492 MB, free: 7.793 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.434e-05/0.1042, allocations: 4 kB / 492 MB, free: 7.789 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.695e-05/0.1042, allocations: 30.56 kB / 492 MB, free: 7.75 MB / 350.1 MB Notification: Performance of pre-optimization done (n=12): time 1.303e-06/0.1042, allocations: 0 / 492 MB, free: 7.75 MB / 350.1 MB Notification: Performance of matching and sorting (n=16): time 0.001078/0.1053, allocations: 0.5279 MB / 492.5 MB, free: 7.164 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.281e-05/0.1053, allocations: 55.62 kB / 492.6 MB, free: 7.098 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000117/0.1055, allocations: 133.8 kB / 492.7 MB, free: 6.957 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.98e-05/0.1055, allocations: 29.7 kB / 492.7 MB, free: 6.922 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.261e-05/0.1056, allocations: 104.3 kB / 492.8 MB, free: 6.812 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.152e-05/0.1056, allocations: 63.47 kB / 492.9 MB, free: 6.75 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.213e-05/0.1057, allocations: 25.72 kB / 492.9 MB, free: 6.719 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001509/0.1058, allocations: 322.8 kB / 493.2 MB, free: 6.395 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.345e-05/0.1059, allocations: 31.98 kB / 493.3 MB, free: 6.363 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.358e-05/0.106, allocations: 62.5 kB / 493.3 MB, free: 6.293 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001522/0.1061, allocations: 100.9 kB / 493.4 MB, free: 6.188 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/0.1061, allocations: 0 / 493.4 MB, free: 6.188 MB / 350.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002803/0.1064, allocations: 170.3 kB / 493.6 MB, free: 6.012 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.649e-05/0.1064, allocations: 7.984 kB / 493.6 MB, free: 6.004 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.1064, allocations: 0 / 493.6 MB, free: 6.004 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001364/0.1065, allocations: 28.84 kB / 493.6 MB, free: 5.973 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001231/0.1067, allocations: 28.06 kB / 493.7 MB, free: 5.945 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001387/0.1081, allocations: 1.516 MB / 495.2 MB, free: 4.309 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.997e-05/0.1081, allocations: 0 / 495.2 MB, free: 4.309 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.366e-05/0.1081, allocations: 12.12 kB / 495.2 MB, free: 4.297 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.0001378/0.1083, allocations: 131.6 kB / 495.3 MB, free: 4.16 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.207e-05/0.1083, allocations: 7.953 kB / 495.3 MB, free: 4.152 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.258e-05/0.1083, allocations: 16.78 kB / 495.3 MB, free: 4.141 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-06/0.1083, allocations: 0 / 495.3 MB, free: 4.141 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/0.1083, allocations: 0 / 495.3 MB, free: 4.141 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.26e-06/0.1083, allocations: 3.984 kB / 495.3 MB, free: 4.137 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006561/0.109, allocations: 463.1 kB / 495.8 MB, free: 3.625 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.445e-06/0.109, allocations: 0 / 495.8 MB, free: 3.625 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001232/0.1091, allocations: 31.92 kB / 495.8 MB, free: 3.594 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.062e-05/0.1092, allocations: 20.8 kB / 495.8 MB, free: 3.57 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.185e-05/0.1092, allocations: 4 kB / 495.8 MB, free: 3.566 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001009/0.1102, allocations: 1.271 MB / 497.1 MB, free: 2.18 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.406e-06/0.1102, allocations: 12 kB / 497.1 MB, free: 2.168 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003992/0.1106, allocations: 309.8 kB / 497.4 MB, free: 1.84 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.194e-05/0.1106, allocations: 11.94 kB / 497.4 MB, free: 1.828 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.96e-05/0.1107, allocations: 8.047 kB / 497.5 MB, free: 1.82 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.069e-05/0.1107, allocations: 3.984 kB / 497.5 MB, free: 1.816 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.11e-05/0.1108, allocations: 23.91 kB / 497.5 MB, free: 1.793 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.497e-06/0.1108, allocations: 4 kB / 497.5 MB, free: 1.789 MB / 350.1 MB Notification: Performance of sorting global known variables: time 6.416e-05/0.1108, allocations: 91.27 kB / 497.6 MB, free: 1.699 MB / 350.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.1108, allocations: 0 / 497.6 MB, free: 1.699 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003213/0.1112, allocations: 32.06 kB / 497.6 MB, free: 1.668 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.0007075/0.1119, allocations: 0.8328 MB / 498.4 MB, free: 0.793 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004119/0.1123, allocations: 222.6 kB / 498.7 MB, free: 0.5625 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.1123, allocations: 0 / 498.7 MB, free: 0.5625 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001931/0.1125, allocations: 158.9 kB / 498.8 MB, free: 404 kB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003868/0.1129, allocations: 23.98 kB / 498.8 MB, free: 380 kB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002097/0.115, allocations: 1.847 MB / 0.4889 GB, free: 14.41 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.134e-05/0.1151, allocations: 92.62 kB / 0.489 GB, free: 14.3 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.919e-05/0.1151, allocations: 13.27 kB / 0.489 GB, free: 14.29 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.894e-05/0.1152, allocations: 27.42 kB / 0.4891 GB, free: 14.27 MB / 366.1 MB Notification: Performance of SimCode: time 4.21e-07/0.1152, allocations: 3.938 kB / 0.4891 GB, free: 14.26 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03265/0.1478, allocations: 3.497 MB / 0.4925 GB, free: 10.97 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.7/11.85, allocations: 8.188 kB / 0.4925 GB, free: 10.96 MB / 366.1 MB " [Timeout remaining time 648] (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: 14.651992694940418] Failed to read output from testmodel.py, exit status != 0: 11.964315727818757 12.207979351 12.102633752 Calling exit ...