Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedSteadyState.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.001354/0.001354, allocations: 103.6 kB / 18.95 MB, free: 2.664 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.001502/0.001502, allocations: 210.8 kB / 22.24 MB, free: 5.266 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.482/1.482, allocations: 230.6 MB / 256 MB, free: 7.781 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.003248/0.003248, allocations: 0.5747 MB / 313 MB, free: 2.305 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.TwoMassesReducedSteadyState,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Mechanical_TwoMassesReducedSteadyState",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedSteadyState,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Mechanical_TwoMassesReducedSteadyState",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002077/0.002077, allocations: 63.89 kB / 435.1 MB, free: 16.89 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09296/0.09503, allocations: 53.54 MB / 488.6 MB, free: 11.26 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedSteadyState): time 0.002928/0.09796, allocations: 1.601 MB / 490.2 MB, free: 9.648 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002846/0.09825, allocations: 103.7 kB / 490.3 MB, free: 9.547 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.41e-05/0.0983, allocations: 0 / 490.3 MB, free: 9.547 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 5.298e-05/0.09835, allocations: 19.8 kB / 490.4 MB, free: 9.527 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001084/0.09846, allocations: 23.78 kB / 490.4 MB, free: 9.504 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000129/0.09859, allocations: 23.91 kB / 490.4 MB, free: 9.48 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001868/0.09878, allocations: 111.5 kB / 490.5 MB, free: 9.371 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001291/0.09891, allocations: 23.98 kB / 490.5 MB, free: 9.348 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.811e-05/0.09898, allocations: 39.86 kB / 490.6 MB, free: 9.309 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.594e-05/0.09908, allocations: 43.77 kB / 490.6 MB, free: 9.266 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.672e-05/0.09911, allocations: 8 kB / 490.6 MB, free: 9.258 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.205e-05/0.09913, allocations: 11.94 kB / 490.6 MB, free: 9.246 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.511e-05/0.09916, allocations: 23.92 kB / 490.7 MB, free: 9.223 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.352e-05/0.09923, allocations: 35.86 kB / 490.7 MB, free: 9.188 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001736/0.0994, allocations: 119.8 kB / 490.8 MB, free: 9.07 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.956e-06/0.0994, allocations: 0 / 490.8 MB, free: 9.07 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.283e-06/0.09941, allocations: 0 / 490.8 MB, free: 9.07 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.43e-06/0.09941, 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.0005059/0.09992, allocations: 318.2 kB / 491.1 MB, free: 8.727 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.027e-05/0.09996, allocations: 8.031 kB / 491.1 MB, free: 8.719 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.718e-05/0.1, allocations: 46.73 kB / 491.2 MB, free: 8.664 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.469e-05/0.1, allocations: 16.84 kB / 491.2 MB, free: 8.648 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000184/0.1002, allocations: 126.4 kB / 491.3 MB, free: 8.5 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.04e-05/0.1002, allocations: 8.5 kB / 491.3 MB, free: 8.492 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.236e-05/0.1003, allocations: 16.33 kB / 491.3 MB, free: 8.477 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001881/0.1005, allocations: 89.78 kB / 491.4 MB, free: 8.383 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.366e-05/0.1005, allocations: 4 kB / 491.4 MB, free: 8.379 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.197e-05/0.1005, allocations: 8 kB / 491.4 MB, free: 8.371 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.881e-06/0.1005, allocations: 4 kB / 491.4 MB, free: 8.367 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001114/0.1006, allocations: 51.97 kB / 491.5 MB, free: 8.316 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005505/0.1012, allocations: 339.8 kB / 491.8 MB, free: 7.941 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001885/0.1013, allocations: 102.4 kB / 491.9 MB, free: 7.832 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001148/0.1015, allocations: 36.84 kB / 492 MB, free: 7.793 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.301e-05/0.1015, allocations: 0 / 492 MB, free: 7.793 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.001e-05/0.1015, allocations: 34.56 kB / 492 MB, free: 7.75 MB / 350.1 MB Notification: Performance of pre-optimization done (n=12): time 1.042e-06/0.1015, allocations: 0 / 492 MB, free: 7.75 MB / 350.1 MB Notification: Performance of matching and sorting (n=16): time 0.001098/0.1026, allocations: 0.5352 MB / 492.5 MB, free: 7.16 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.803e-05/0.1027, allocations: 55.41 kB / 492.6 MB, free: 7.094 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001142/0.1028, allocations: 126.2 kB / 492.7 MB, free: 6.961 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.912e-05/0.1028, allocations: 25.7 kB / 492.7 MB, free: 6.93 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.525e-05/0.1029, allocations: 108.3 kB / 492.8 MB, free: 6.816 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.916e-05/0.1029, allocations: 55.48 kB / 492.9 MB, free: 6.762 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.439e-05/0.103, allocations: 33.7 kB / 492.9 MB, free: 6.723 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001469/0.1031, allocations: 322.8 kB / 493.2 MB, free: 6.398 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.728e-05/0.1032, allocations: 28 kB / 493.3 MB, free: 6.371 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.916e-05/0.1033, allocations: 70.48 kB / 493.3 MB, free: 6.293 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001557/0.1034, allocations: 100.7 kB / 493.4 MB, free: 6.188 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.1034, allocations: 0 / 493.4 MB, free: 6.188 MB / 350.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002252/0.1037, allocations: 141.5 kB / 493.6 MB, free: 6.043 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.583e-05/0.1037, allocations: 8 kB / 493.6 MB, free: 6.035 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.918e-06/0.1037, allocations: 0 / 493.6 MB, free: 6.035 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.237e-05/0.1037, allocations: 0 / 493.6 MB, free: 6.035 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001855/0.1039, allocations: 43.91 kB / 493.6 MB, free: 5.992 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.02e-06/0.1039, allocations: 0 / 493.6 MB, free: 5.992 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.73e-05/0.1039, allocations: 8.031 kB / 493.6 MB, free: 5.984 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.119e-05/0.1039, allocations: 4 kB / 493.6 MB, free: 5.98 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 (19): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001283/0.1041, allocations: 125.8 kB / 493.8 MB, free: 5.848 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.926e-05/0.1041, allocations: 15.88 kB / 493.8 MB, free: 5.832 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.46e-05/0.1042, allocations: 20.77 kB / 493.8 MB, free: 5.809 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.1042, allocations: 0 / 493.8 MB, free: 5.809 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.565e-06/0.1042, allocations: 0 / 493.8 MB, free: 5.809 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.1042, allocations: 0 / 493.8 MB, free: 5.809 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007478/0.1049, allocations: 471.1 kB / 494.3 MB, free: 5.289 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.1049, allocations: 0 / 494.3 MB, free: 5.289 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001321/0.1051, allocations: 31.92 kB / 494.3 MB, free: 5.258 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001381/0.1052, allocations: 24.78 kB / 494.3 MB, free: 5.23 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.338e-05/0.1052, allocations: 4 kB / 494.3 MB, free: 5.227 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001126/0.1063, allocations: 1.271 MB / 495.6 MB, free: 3.84 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.714e-06/0.1063, allocations: 64 / 495.6 MB, free: 3.84 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000403/0.1067, allocations: 306.7 kB / 495.9 MB, free: 3.512 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.821e-05/0.1068, allocations: 7.984 kB / 495.9 MB, free: 3.504 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.065e-05/0.1068, allocations: 8 kB / 495.9 MB, free: 3.496 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.873e-05/0.1069, allocations: 0 / 495.9 MB, free: 3.496 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.122e-05/0.1069, allocations: 23.91 kB / 495.9 MB, free: 3.473 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.885e-06/0.1069, allocations: 4 kB / 495.9 MB, free: 3.469 MB / 350.1 MB Notification: Performance of sorting global known variables: time 6.851e-05/0.107, allocations: 95.31 kB / 496 MB, free: 3.375 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.107, allocations: 0 / 496 MB, free: 3.375 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002769/0.1072, allocations: 36.16 kB / 496.1 MB, free: 3.34 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.0007616/0.108, allocations: 0.827 MB / 496.9 MB, free: 2.477 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002082/0.1082, allocations: 91.84 kB / 497 MB, free: 2.387 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.1082, allocations: 0 / 497 MB, free: 2.387 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002924/0.1085, allocations: 166.6 kB / 497.1 MB, free: 2.211 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004222/0.1089, allocations: 28.23 kB / 497.2 MB, free: 2.184 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002064/0.111, allocations: 1.791 MB / 499 MB, free: 296 kB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001106/0.1111, allocations: 96.56 kB / 499 MB, free: 180 kB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.495e-05/0.1112, allocations: 13.08 kB / 499.1 MB, free: 168 kB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.471e-05/0.1112, allocations: 27.44 kB / 499.1 MB, free: 140 kB / 350.1 MB Notification: Performance of SimCode: time 5.41e-07/0.1112, allocations: 0 / 499.1 MB, free: 140 kB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03396/0.1452, allocations: 3.422 MB / 0.4907 GB, free: 12.91 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.76/11.9, allocations: 3.984 kB / 0.4907 GB, free: 12.91 MB / 366.1 MB " [Timeout remaining time 648] (rm -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedSteadyState.pipe ; mkfifo ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedSteadyState.pipe ; head -c 1048576 < ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedSteadyState.pipe >> ../files/ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedSteadyState.sim & python3 -m fmpy simulate --output-file ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedSteadyState_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_TwoMassesReducedSteadyState.fmu > ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedSteadyState.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.740945109166205] Failed to read output from testmodel.py, exit status != 0: 12.018095040228218 12.230619526 11.940110683 Calling exit ...