Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedSteadyState.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.0008463/0.0008463, 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.001134/0.001134, 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.9466/0.9466, allocations: 177.1 MB / 202.8 MB, free: 5.742 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.002275/0.002275, allocations: 419.9 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.TwoMassesEquationsReducedSteadyState,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Mechanical_TwoMassesEquationsReducedSteadyState",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedSteadyState,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Mechanical_TwoMassesEquationsReducedSteadyState",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 9.71e-07/9.71e-07, allocations: 0 / 381.8 MB, free: 116 kB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.902e-05/1.999e-05, allocations: 9.172 kB / 381.8 MB, free: 108 kB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedSteadyState): time 0.00122/0.00124, allocations: 0.5198 MB / 382.3 MB, free: 15.59 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 9.297e-05/0.001333, allocations: 23.91 kB / 382.3 MB, free: 15.56 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.305e-05/0.001346, allocations: 0 / 382.3 MB, free: 15.56 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 1.031e-05/0.001356, allocations: 3.938 kB / 382.3 MB, free: 15.56 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 1.566e-05/0.001372, allocations: 0 / 382.3 MB, free: 15.56 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 6.811e-05/0.00144, allocations: 7.984 kB / 382.3 MB, free: 15.55 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 3.718e-05/0.001477, allocations: 15.98 kB / 382.4 MB, free: 15.54 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 2.302e-05/0.0015, allocations: 0 / 382.4 MB, free: 15.54 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.116e-05/0.001521, allocations: 19.92 kB / 382.4 MB, free: 15.52 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.11e-05/0.001552, allocations: 11.97 kB / 382.4 MB, free: 15.5 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.098e-05/0.001563, allocations: 0 / 382.4 MB, free: 15.5 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.36e-06/0.001569, allocations: 4 kB / 382.4 MB, free: 15.5 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 7.264e-06/0.001576, allocations: 0 / 382.4 MB, free: 15.5 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 1.146e-05/0.001587, allocations: 7.938 kB / 382.4 MB, free: 15.49 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 3.918e-05/0.001626, allocations: 15.97 kB / 382.4 MB, free: 15.48 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.102e-06/0.001628, allocations: 0 / 382.4 MB, free: 15.48 MB / 362.7 MB Notification: Performance of FrontEnd: time 4.71e-07/0.001628, allocations: 0 / 382.4 MB, free: 15.48 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.725e-06/0.001631, allocations: 0 / 382.4 MB, free: 15.48 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0002072/0.001838, allocations: 262.3 kB / 382.7 MB, free: 15.19 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.823e-05/0.001866, allocations: 12.03 kB / 382.7 MB, free: 15.18 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.3e-05/0.001889, allocations: 34.75 kB / 382.7 MB, free: 15.13 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.515e-05/0.001904, allocations: 0.9375 kB / 382.7 MB, free: 15.13 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.358e-05/0.001968, allocations: 117.7 kB / 382.8 MB, free: 14.99 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.59e-06/0.001974, allocations: 384 / 382.8 MB, free: 14.99 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.358e-05/0.001987, allocations: 8.328 kB / 382.8 MB, free: 14.98 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.557e-05/0.002043, allocations: 50.23 kB / 382.9 MB, free: 14.93 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.92e-06/0.002048, allocations: 192 / 382.9 MB, free: 14.93 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.499e-06/0.002052, allocations: 384 / 382.9 MB, free: 14.93 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.567e-06/0.002056, allocations: 4.125 kB / 382.9 MB, free: 14.93 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.502e-05/0.002081, allocations: 8 kB / 382.9 MB, free: 14.92 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002269/0.002308, allocations: 239.9 kB / 383.1 MB, free: 14.64 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.322e-05/0.002361, allocations: 42.62 kB / 383.2 MB, free: 14.59 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.439e-05/0.002375, allocations: 8.859 kB / 383.2 MB, free: 14.58 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.46e-06/0.002381, allocations: 3.938 kB / 383.2 MB, free: 14.57 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.437e-05/0.002395, allocations: 34.56 kB / 383.2 MB, free: 14.53 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 6.51e-07/0.002396, allocations: 7.938 kB / 383.2 MB, free: 14.52 MB / 362.7 MB Notification: Performance of matching and sorting (n=4): time 0.000234/0.00263, allocations: 86.64 kB / 383.3 MB, free: 14.43 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.867e-05/0.002658, allocations: 51.41 kB / 383.4 MB, free: 14.37 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.631e-05/0.002705, allocations: 101.9 kB / 383.5 MB, free: 14.26 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.025e-05/0.002715, allocations: 29.7 kB / 383.5 MB, free: 14.22 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.514e-05/0.00275, allocations: 84.12 kB / 383.6 MB, free: 14.14 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.997e-05/0.00277, allocations: 27.77 kB / 383.6 MB, free: 14.11 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.239e-05/0.002792, allocations: 17.72 kB / 383.6 MB, free: 14.09 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 7.651e-05/0.002869, allocations: 314.8 kB / 383.9 MB, free: 13.77 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.701e-05/0.002886, allocations: 12 kB / 383.9 MB, free: 13.76 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.04e-05/0.002906, allocations: 17.66 kB / 384 MB, free: 13.73 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.107e-05/0.002947, allocations: 41.64 kB / 384 MB, free: 13.69 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.002948, allocations: 0 / 384 MB, free: 13.69 MB / 362.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 5.509e-05/0.003004, allocations: 65.62 kB / 384.1 MB, free: 13.62 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.083e-05/0.003014, allocations: 4 kB / 384.1 MB, free: 13.61 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.989e-06/0.003019, allocations: 0 / 384.1 MB, free: 13.61 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.05e-05/0.00303, allocations: 0 / 384.1 MB, free: 13.61 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.565e-05/0.003096, allocations: 16 kB / 384.1 MB, free: 13.6 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.252e-06/0.003102, allocations: 0 / 384.1 MB, free: 13.6 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.386e-05/0.003116, allocations: 7.953 kB / 384.1 MB, free: 13.59 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.446e-06/0.003119, allocations: 0 / 384.1 MB, free: 13.59 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (6): * Single equations (assignments): 6 * 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 5.567e-05/0.003175, allocations: 117.8 kB / 384.2 MB, free: 13.46 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.109e-05/0.003186, allocations: 32 / 384.2 MB, free: 13.46 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.211e-05/0.003208, allocations: 11.69 kB / 384.2 MB, free: 13.45 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.052e-06/0.003209, allocations: 0 / 384.2 MB, free: 13.45 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/0.003214, allocations: 4 kB / 384.2 MB, free: 13.45 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.364e-06/0.003217, allocations: 0 / 384.2 MB, free: 13.45 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.673e-05/0.003313, allocations: 128.7 kB / 384.3 MB, free: 13.28 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.003314, allocations: 4 kB / 384.3 MB, free: 13.27 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.371e-05/0.003338, allocations: 4.062 kB / 384.3 MB, free: 13.27 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001057/0.003444, allocations: 24.84 kB / 384.4 MB, free: 13.24 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.392e-06/0.00345, allocations: 0 / 384.4 MB, free: 13.24 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006958/0.004146, allocations: 1.248 MB / 385.6 MB, free: 11.88 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.004147, allocations: 0 / 385.6 MB, free: 11.88 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001149/0.004262, allocations: 172.6 kB / 385.8 MB, free: 11.69 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.729e-06/0.004266, allocations: 11.83 kB / 385.8 MB, free: 11.68 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.792e-06/0.004273, allocations: 7.969 kB / 385.8 MB, free: 11.67 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.633e-05/0.0043, allocations: 0 / 385.8 MB, free: 11.67 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.828e-05/0.004318, allocations: 3.984 kB / 385.8 MB, free: 11.67 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.256e-06/0.004321, allocations: 4.219 kB / 385.8 MB, free: 11.66 MB / 362.7 MB Notification: Performance of sorting global known variables: time 2.796e-05/0.004349, allocations: 87.22 kB / 385.9 MB, free: 11.58 MB / 362.7 MB Notification: Performance of sort global known variables: time 4e-08/0.004349, allocations: 0 / 385.9 MB, free: 11.58 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001529/0.004502, allocations: 4 kB / 385.9 MB, free: 11.57 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (x1,v1) * 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 (3): * Single equations (assignments): 2 * 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.0003292/0.004831, allocations: 0.6977 MB / 386.6 MB, free: 10.84 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 8.152e-05/0.004913, allocations: 27.92 kB / 386.6 MB, free: 10.82 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.004915, allocations: 0 / 386.6 MB, free: 10.82 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001518/0.005066, allocations: 126.6 kB / 386.8 MB, free: 10.68 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001551/0.005221, allocations: 16 kB / 386.8 MB, free: 10.67 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000824/0.006045, allocations: 1.251 MB / 388 MB, free: 9.328 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.036e-05/0.006096, allocations: 67.2 kB / 388.1 MB, free: 9.242 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 1.813e-05/0.006114, allocations: 0 / 388.1 MB, free: 9.242 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.221e-05/0.006146, allocations: 16.5 kB / 388.1 MB, free: 9.227 MB / 362.7 MB Notification: Performance of SimCode: time 6.01e-07/0.006147, allocations: 0 / 388.1 MB, free: 9.227 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01736/0.0235, allocations: 2.08 MB / 390.2 MB, free: 7.359 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.352/7.375, allocations: 4.062 kB / 390.2 MB, free: 7.355 MB / 362.7 MB " [Timeout remaining time 653] (rm -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedSteadyState.pipe ; mkfifo ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedSteadyState.pipe ; head -c 1048576 < ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedSteadyState.pipe >> ../files/ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedSteadyState.sim & python3 -m fmpy simulate --output-file ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedSteadyState_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Mechanical_TwoMassesEquationsReducedSteadyState.fmu > ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedSteadyState.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.289808998815715] Failed to read output from testmodel.py, exit status != 0: 7.459689111448824 7.475352612 7.471870125 Calling exit ...