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.0008404/0.0008404, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0008393/0.0008393, allocations: 170.3 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.8843/0.8843, allocations: 177.1 MB / 202.8 MB, free: 5.754 MB / 186.7 MB " [Timeout remaining time 179] 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.001856/0.001856, allocations: 427.7 kB / 259.6 MB, free: 12.84 MB / 250.7 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 3.206e-06/3.206e-06, allocations: 0 / 381.8 MB, free: 124 kB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.24e-05/2.561e-05, allocations: 6.219 kB / 381.8 MB, free: 116 kB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedSteadyState): time 0.002754/0.00278, allocations: 1.618 MB / 383.4 MB, free: 14.48 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003406/0.003121, allocations: 95.64 kB / 383.5 MB, free: 14.39 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.591e-05/0.003197, allocations: 0 / 383.5 MB, free: 14.39 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 7.124e-05/0.003268, allocations: 19.84 kB / 383.5 MB, free: 14.37 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001188/0.003387, allocations: 39.7 kB / 383.5 MB, free: 14.33 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001438/0.00353, allocations: 19.92 kB / 383.6 MB, free: 14.31 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001434/0.003674, allocations: 115.4 kB / 383.7 MB, free: 14.2 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001396/0.003813, allocations: 27.97 kB / 383.7 MB, free: 14.17 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000121/0.003934, allocations: 59.89 kB / 383.8 MB, free: 14.11 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.292e-05/0.004027, allocations: 35.89 kB / 383.8 MB, free: 14.08 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 3.401e-05/0.004061, allocations: 8 kB / 383.8 MB, free: 14.07 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.93e-05/0.004081, allocations: 8 kB / 383.8 MB, free: 14.06 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 2.951e-05/0.00411, allocations: 19.92 kB / 383.8 MB, free: 14.04 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 4.582e-05/0.004156, allocations: 39.91 kB / 383.9 MB, free: 14 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001628/0.004319, allocations: 103.7 kB / 384 MB, free: 13.9 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.805e-06/0.004321, allocations: 4 kB / 384 MB, free: 13.9 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.042e-06/0.004322, allocations: 0 / 384 MB, free: 13.9 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.92e-06/0.004327, allocations: 0 / 384 MB, free: 13.9 MB / 362.7 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.0004823/0.00481, allocations: 326.1 kB / 384.3 MB, free: 13.55 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.373e-05/0.004853, allocations: 8.031 kB / 384.3 MB, free: 13.54 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.751e-05/0.004901, allocations: 42.73 kB / 384.3 MB, free: 13.49 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.3e-05/0.004934, allocations: 8.891 kB / 384.3 MB, free: 13.48 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001683/0.005102, allocations: 137.6 kB / 384.5 MB, free: 13.32 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.351e-05/0.005116, allocations: 4.562 kB / 384.5 MB, free: 13.32 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.798e-05/0.005144, allocations: 12.38 kB / 384.5 MB, free: 13.3 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001858/0.00533, allocations: 97.53 kB / 384.6 MB, free: 13.21 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.465e-05/0.005344, allocations: 0 / 384.6 MB, free: 13.21 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.204e-05/0.005356, allocations: 0 / 384.6 MB, free: 13.21 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.971e-06/0.005362, allocations: 4 kB / 384.6 MB, free: 13.2 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001251/0.005487, allocations: 59.89 kB / 384.7 MB, free: 13.14 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005453/0.006033, allocations: 335.8 kB / 385 MB, free: 12.77 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001892/0.006222, allocations: 102.5 kB / 385.1 MB, free: 12.66 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.483e-05/0.006287, allocations: 36.84 kB / 385.1 MB, free: 12.62 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.314e-05/0.0063, allocations: 4.219 kB / 385.1 MB, free: 12.62 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.182e-05/0.006322, allocations: 34.5 kB / 385.2 MB, free: 12.58 MB / 362.7 MB Notification: Performance of pre-optimization done (n=12): time 1.412e-06/0.006323, allocations: 0 / 385.2 MB, free: 12.58 MB / 362.7 MB Notification: Performance of matching and sorting (n=16): time 0.001094/0.007417, allocations: 0.5347 MB / 385.7 MB, free: 11.98 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.684e-05/0.007454, allocations: 51.41 kB / 385.7 MB, free: 11.92 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.925e-05/0.007554, allocations: 126.8 kB / 385.9 MB, free: 11.79 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.513e-05/0.007569, allocations: 29.7 kB / 385.9 MB, free: 11.75 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.338e-05/0.007632, allocations: 112.2 kB / 386 MB, free: 11.64 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.884e-05/0.007681, allocations: 63.47 kB / 386.1 MB, free: 11.57 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.433e-05/0.007735, allocations: 33.7 kB / 386.1 MB, free: 11.54 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 9.355e-05/0.007829, allocations: 318.8 kB / 386.4 MB, free: 11.21 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.677e-05/0.007896, allocations: 32 kB / 386.4 MB, free: 11.18 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.197e-05/0.007978, allocations: 62.48 kB / 386.5 MB, free: 11.11 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001519/0.008129, allocations: 98.33 kB / 386.6 MB, free: 11.01 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.008131, allocations: 0 / 386.6 MB, free: 11.01 MB / 362.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002126/0.008343, allocations: 149.6 kB / 386.7 MB, free: 10.86 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.328e-05/0.008357, allocations: 4 kB / 386.8 MB, free: 10.86 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.364e-06/0.008364, allocations: 4 kB / 386.8 MB, free: 10.85 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.554e-05/0.00838, allocations: 3.938 kB / 386.8 MB, free: 10.85 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001753/0.008555, allocations: 39.91 kB / 386.8 MB, free: 10.81 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.603e-06/0.008561, allocations: 4 kB / 386.8 MB, free: 10.8 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.031e-05/0.008612, allocations: 4 kB / 386.8 MB, free: 10.8 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.237e-06/0.008621, allocations: 4 kB / 386.8 MB, free: 10.8 MB / 362.7 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 8.285e-05/0.008704, allocations: 121.8 kB / 386.9 MB, free: 10.67 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.493e-05/0.008739, allocations: 15.91 kB / 386.9 MB, free: 10.65 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.919e-05/0.008778, allocations: 24.8 kB / 387 MB, free: 10.62 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.408e-06/0.008782, allocations: 7.938 kB / 387 MB, free: 10.62 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.873e-06/0.008789, allocations: 0 / 387 MB, free: 10.62 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.008792, allocations: 0 / 387 MB, free: 10.62 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005991/0.009392, allocations: 448.8 kB / 387.4 MB, free: 10.12 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.495e-06/0.009394, allocations: 0 / 387.4 MB, free: 10.12 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001189/0.009513, allocations: 27.92 kB / 387.4 MB, free: 10.09 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001137/0.009627, allocations: 24.95 kB / 387.5 MB, free: 10.06 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.474e-05/0.009641, allocations: 7.984 kB / 387.5 MB, free: 10.05 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008718/0.01051, allocations: 1.263 MB / 388.7 MB, free: 8.676 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.01052, allocations: 0 / 388.7 MB, free: 8.676 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003337/0.01085, allocations: 302.8 kB / 389 MB, free: 8.352 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.773e-05/0.01087, allocations: 11.94 kB / 389 MB, free: 8.34 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.519e-05/0.01088, allocations: 8.219 kB / 389.1 MB, free: 8.332 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.285e-05/0.01096, allocations: 11.94 kB / 389.1 MB, free: 8.32 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.614e-05/0.01099, allocations: 11.97 kB / 389.1 MB, free: 8.309 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.025e-05/0.011, allocations: 8.062 kB / 389.1 MB, free: 8.301 MB / 362.7 MB Notification: Performance of sorting global known variables: time 5.478e-05/0.01106, allocations: 103.6 kB / 389.2 MB, free: 8.199 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.01106, allocations: 0 / 389.2 MB, free: 8.199 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003087/0.01136, allocations: 28 kB / 389.2 MB, free: 8.172 MB / 362.7 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.0005739/0.01194, allocations: 0.8302 MB / 390 MB, free: 7.305 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001914/0.01213, allocations: 95.84 kB / 390.1 MB, free: 7.211 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.01213, allocations: 3.938 kB / 390.1 MB, free: 7.207 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002365/0.01237, allocations: 162.6 kB / 390.3 MB, free: 7.035 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000382/0.01275, allocations: 31.86 kB / 390.3 MB, free: 7.008 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001678/0.01443, allocations: 1.732 MB / 392.1 MB, free: 5.168 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.272e-05/0.01451, allocations: 96.67 kB / 392.2 MB, free: 5.055 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.551e-05/0.01457, allocations: 13.14 kB / 392.2 MB, free: 5.043 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.119e-05/0.01463, allocations: 28.48 kB / 392.2 MB, free: 5.016 MB / 362.7 MB Notification: Performance of SimCode: time 6.41e-07/0.01463, allocations: 0 / 392.2 MB, free: 5.016 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01627/0.0309, allocations: 3.579 MB / 395.8 MB, free: 1.652 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.698/7.729, allocations: 4 kB / 395.8 MB, free: 1.648 MB / 362.7 MB " [Timeout remaining time 652] (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: 9.531055929139256] Failed to read output from testmodel.py, exit status != 0: 7.812002556398511 7.82306408 7.816966307 Calling exit ...