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.001084/0.001084, allocations: 80.44 kB / 19.17 MB, free: 0.7461 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.001089/0.001089, allocations: 165.9 kB / 22.45 MB, free: 2.109 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.9326/0.9326, allocations: 177.1 MB / 202.8 MB, free: 5.734 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.002347/0.002347, allocations: 427.4 kB / 259.6 MB, free: 12.83 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.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 1.633e-06/1.633e-06, allocations: 3.938 kB / 381.8 MB, free: 108 kB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.135e-05/2.298e-05, allocations: 2.281 kB / 381.8 MB, free: 104 kB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedInitial): time 0.00223/0.002253, allocations: 1.607 MB / 383.4 MB, free: 14.48 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002769/0.00253, allocations: 95.67 kB / 383.5 MB, free: 14.39 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.774e-05/0.002588, allocations: 4 kB / 383.5 MB, free: 14.38 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 4.845e-05/0.002636, allocations: 11.86 kB / 383.5 MB, free: 14.37 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 9.577e-05/0.002732, allocations: 35.66 kB / 383.5 MB, free: 14.34 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001381/0.00287, allocations: 27.95 kB / 383.6 MB, free: 14.31 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001122/0.002982, allocations: 111.4 kB / 383.7 MB, free: 14.2 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001224/0.003105, allocations: 23.98 kB / 383.7 MB, free: 14.18 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.285e-05/0.003198, allocations: 63.86 kB / 383.8 MB, free: 14.11 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.937e-05/0.003277, allocations: 31.91 kB / 383.8 MB, free: 14.08 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.576e-05/0.003303, allocations: 8 kB / 383.8 MB, free: 14.07 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.376e-05/0.003317, allocations: 8 kB / 383.8 MB, free: 14.07 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 2.584e-05/0.003342, allocations: 27.91 kB / 383.8 MB, free: 14.04 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.475e-05/0.003377, allocations: 27.94 kB / 383.9 MB, free: 14.01 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001362/0.003513, allocations: 111.6 kB / 384 MB, free: 13.9 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.003517, allocations: 8 kB / 384 MB, free: 13.89 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.563e-06/0.003518, allocations: 0 / 384 MB, free: 13.89 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.187e-06/0.003522, allocations: 0 / 384 MB, free: 13.89 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.0004358/0.003958, allocations: 329 kB / 384.3 MB, free: 13.54 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.931e-05/0.003997, allocations: 8.031 kB / 384.3 MB, free: 13.54 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.798e-05/0.004035, allocations: 46.73 kB / 384.3 MB, free: 13.48 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.825e-05/0.004064, allocations: 8.891 kB / 384.4 MB, free: 13.47 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001373/0.004201, allocations: 125.7 kB / 384.5 MB, free: 13.32 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.163e-05/0.004213, allocations: 12.56 kB / 384.5 MB, free: 13.31 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.48e-05/0.004237, allocations: 12.38 kB / 384.5 MB, free: 13.3 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001503/0.004388, allocations: 97.47 kB / 384.6 MB, free: 13.2 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.083e-05/0.004398, allocations: 0 / 384.6 MB, free: 13.2 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.289e-05/0.004411, allocations: 4 kB / 384.6 MB, free: 13.2 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.17e-06/0.004417, allocations: 4 kB / 384.6 MB, free: 13.2 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.913e-05/0.004506, allocations: 51.97 kB / 384.7 MB, free: 13.14 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004415/0.004947, allocations: 343.8 kB / 385 MB, free: 12.77 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001385/0.005086, allocations: 90.55 kB / 385.1 MB, free: 12.67 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003232/0.005409, allocations: 40.84 kB / 385.1 MB, free: 12.62 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.391e-05/0.005423, allocations: 4 kB / 385.1 MB, free: 12.62 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.132e-05/0.005444, allocations: 34.77 kB / 385.2 MB, free: 12.58 MB / 362.7 MB Notification: Performance of pre-optimization done (n=12): time 1.893e-06/0.005446, allocations: 0 / 385.2 MB, free: 12.58 MB / 362.7 MB Notification: Performance of matching and sorting (n=16): time 0.0008864/0.006332, allocations: 0.541 MB / 385.7 MB, free: 11.98 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3e-05/0.006362, allocations: 51.41 kB / 385.7 MB, free: 11.92 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.644e-05/0.006449, allocations: 133.8 kB / 385.9 MB, free: 11.78 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.25e-05/0.006461, allocations: 25.7 kB / 385.9 MB, free: 11.75 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.404e-05/0.006515, allocations: 112.3 kB / 386 MB, free: 11.63 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.632e-05/0.006552, allocations: 55.48 kB / 386.1 MB, free: 11.57 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.196e-05/0.006594, allocations: 33.72 kB / 386.1 MB, free: 11.54 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 8.139e-05/0.006675, allocations: 322.8 kB / 386.4 MB, free: 11.21 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.479e-05/0.00672, allocations: 35.98 kB / 386.4 MB, free: 11.18 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.455e-05/0.006774, allocations: 50.56 kB / 386.5 MB, free: 11.12 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001046/0.006879, allocations: 107.2 kB / 386.6 MB, free: 11.01 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.172e-06/0.00688, allocations: 0 / 386.6 MB, free: 11.01 MB / 362.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0001903/0.00707, allocations: 170.3 kB / 386.8 MB, free: 10.83 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.634e-05/0.007087, allocations: 8.031 kB / 386.8 MB, free: 10.82 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.69e-06/0.007092, allocations: 0 / 386.8 MB, free: 10.82 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001248/0.007217, allocations: 28.84 kB / 386.8 MB, free: 10.79 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.429e-05/0.007311, allocations: 27.92 kB / 386.8 MB, free: 10.77 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009452/0.008257, allocations: 1.504 MB / 388.3 MB, free: 9.141 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.995e-05/0.008297, allocations: 8.172 kB / 388.3 MB, free: 9.133 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.295e-06/0.008305, allocations: 4 kB / 388.3 MB, free: 9.129 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 (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 8.097e-05/0.008386, allocations: 125.9 kB / 388.5 MB, free: 8.996 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.019e-05/0.008406, allocations: 11.89 kB / 388.5 MB, free: 8.984 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.098e-05/0.008427, allocations: 24.77 kB / 388.5 MB, free: 8.965 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.413e-06/0.008428, allocations: 0 / 388.5 MB, free: 8.965 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.284e-06/0.008436, allocations: 4 kB / 388.5 MB, free: 8.961 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.008439, allocations: 3.938 kB / 388.5 MB, free: 8.957 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004525/0.008891, allocations: 452.9 kB / 389 MB, free: 8.453 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.475e-06/0.008894, allocations: 0 / 389 MB, free: 8.453 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.9e-05/0.008973, allocations: 23.98 kB / 389 MB, free: 8.43 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.922e-05/0.009032, allocations: 20.84 kB / 389 MB, free: 8.406 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.629e-06/0.009042, allocations: 8 kB / 389 MB, free: 8.398 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006073/0.009649, allocations: 1.263 MB / 390.3 MB, free: 7.02 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.374e-06/0.009651, allocations: 8.125 kB / 390.3 MB, free: 7.012 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002498/0.009901, allocations: 306.8 kB / 390.6 MB, free: 6.684 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.163e-05/0.009913, allocations: 7.953 kB / 390.6 MB, free: 6.676 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.969e-06/0.009923, allocations: 4 kB / 390.6 MB, free: 6.672 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.591e-05/0.009969, allocations: 4 kB / 390.6 MB, free: 6.668 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.563e-05/0.009994, allocations: 19.91 kB / 390.6 MB, free: 6.648 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.206e-06/0.01, allocations: 11.94 kB / 390.6 MB, free: 6.637 MB / 362.7 MB Notification: Performance of sorting global known variables: time 4.26e-05/0.01005, allocations: 103.2 kB / 390.7 MB, free: 6.535 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01005, allocations: 0 / 390.7 MB, free: 6.535 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002239/0.01027, allocations: 28 kB / 390.8 MB, free: 6.508 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.0004351/0.0107, allocations: 0.8299 MB / 391.6 MB, free: 5.637 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003159/0.01102, allocations: 210.6 kB / 391.8 MB, free: 5.418 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.01102, allocations: 3.938 kB / 391.8 MB, free: 5.414 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001034/0.01113, allocations: 166.6 kB / 392 MB, free: 5.238 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003131/0.01144, allocations: 37.67 kB / 392 MB, free: 5.203 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00163/0.01307, allocations: 1.792 MB / 393.8 MB, free: 3.297 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.72e-05/0.01314, allocations: 92.8 kB / 393.9 MB, free: 3.188 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.746e-05/0.01318, allocations: 17.14 kB / 393.9 MB, free: 3.168 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.581e-05/0.01323, allocations: 24.5 kB / 393.9 MB, free: 3.145 MB / 362.7 MB Notification: Performance of SimCode: time 1.142e-06/0.01323, allocations: 0 / 393.9 MB, free: 3.145 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02187/0.0351, allocations: 3.657 MB / 397.6 MB, free: 15.71 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.475/7.51, allocations: 11.88 kB / 397.6 MB, free: 15.7 MB / 378.7 MB " [Timeout remaining time 652] (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: 9.413809600286186] Failed to read output from testmodel.py, exit status != 0: 7.603220716118813 7.612687017 7.60719904 Calling exit ...