Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullSteadyState.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.001093/0.001093, allocations: 80.44 kB / 19.17 MB, free: 0.7344 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.0008464/0.0008464, allocations: 165.9 kB / 22.45 MB, free: 2.098 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.9132/0.9132, allocations: 177.1 MB / 202.8 MB, free: 5.746 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.003898/0.003898, allocations: 419.6 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.TwoMassesEquationsFullSteadyState,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Mechanical_TwoMassesEquationsFullSteadyState",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullSteadyState,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Mechanical_TwoMassesEquationsFullSteadyState",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.104e-06/2.104e-06, allocations: 0 / 381.8 MB, free: 112 kB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.045e-05/2.255e-05, allocations: 2.281 kB / 381.8 MB, free: 108 kB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullSteadyState): time 0.001801/0.001824, allocations: 0.515 MB / 382.3 MB, free: 15.59 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001759/0.002, allocations: 19.92 kB / 382.3 MB, free: 15.57 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.862e-05/0.002028, allocations: 3.938 kB / 382.3 MB, free: 15.57 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 1.797e-05/0.002046, allocations: 4 kB / 382.3 MB, free: 15.56 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 3.381e-05/0.00208, allocations: 0 / 382.3 MB, free: 15.56 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000146/0.002226, allocations: 7.969 kB / 382.3 MB, free: 15.55 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 6.771e-05/0.002294, allocations: 23.92 kB / 382.4 MB, free: 15.53 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.503e-05/0.002349, allocations: 7.922 kB / 382.4 MB, free: 15.52 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.049e-05/0.002399, allocations: 15.98 kB / 382.4 MB, free: 15.51 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.762e-05/0.002477, allocations: 3.984 kB / 382.4 MB, free: 15.5 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.911e-05/0.002506, allocations: 7.938 kB / 382.4 MB, free: 15.5 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.959e-06/0.002516, allocations: 0 / 382.4 MB, free: 15.5 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 2.246e-05/0.002539, allocations: 7.984 kB / 382.4 MB, free: 15.49 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 2.379e-05/0.002562, allocations: 8 kB / 382.4 MB, free: 15.48 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 7.76e-05/0.00264, allocations: 11.97 kB / 382.4 MB, free: 15.47 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.948e-06/0.002644, allocations: 3.984 kB / 382.4 MB, free: 15.46 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.002646, allocations: 4 kB / 382.4 MB, free: 15.46 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.669e-06/0.00265, allocations: 0 / 382.4 MB, free: 15.46 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.000407/0.003057, allocations: 258.3 kB / 382.7 MB, free: 15.18 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.977e-05/0.003107, allocations: 11.97 kB / 382.7 MB, free: 15.16 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.589e-05/0.003143, allocations: 34.75 kB / 382.7 MB, free: 15.12 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.5e-05/0.003168, allocations: 4.938 kB / 382.7 MB, free: 15.12 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.256e-05/0.00326, allocations: 109.8 kB / 382.8 MB, free: 14.98 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.123e-05/0.003272, allocations: 4.375 kB / 382.8 MB, free: 14.98 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.596e-05/0.003298, allocations: 12.33 kB / 382.9 MB, free: 14.97 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001088/0.003406, allocations: 42.25 kB / 382.9 MB, free: 14.92 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.471e-05/0.003421, allocations: 4.125 kB / 382.9 MB, free: 14.92 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.937e-06/0.00343, allocations: 384 / 382.9 MB, free: 14.92 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.691e-06/0.003436, allocations: 4.125 kB / 382.9 MB, free: 14.91 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.932e-05/0.003485, allocations: 15.98 kB / 382.9 MB, free: 14.9 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002931/0.003778, allocations: 212 kB / 383.1 MB, free: 14.65 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000108/0.003886, allocations: 46.62 kB / 383.2 MB, free: 14.59 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.096e-05/0.003917, allocations: 20.92 kB / 383.2 MB, free: 14.57 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.176e-05/0.003929, allocations: 8 kB / 383.2 MB, free: 14.56 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.694e-05/0.003956, allocations: 38.5 kB / 383.2 MB, free: 14.52 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.052e-06/0.003957, allocations: 0 / 383.2 MB, free: 14.52 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0009156/0.004872, allocations: 367.8 kB / 383.6 MB, free: 14.1 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.734e-05/0.0049, allocations: 51.41 kB / 383.6 MB, free: 14.04 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.015e-05/0.00495, allocations: 93.86 kB / 383.7 MB, free: 13.93 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.218e-05/0.004962, allocations: 29.7 kB / 383.8 MB, free: 13.9 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.868e-05/0.004991, allocations: 84.08 kB / 383.8 MB, free: 13.81 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.507e-05/0.005016, allocations: 31.73 kB / 383.9 MB, free: 13.78 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.74e-05/0.005053, allocations: 29.72 kB / 383.9 MB, free: 13.75 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 9.258e-05/0.005146, allocations: 322.8 kB / 384.2 MB, free: 13.42 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.495e-05/0.005171, allocations: 12.62 kB / 384.2 MB, free: 13.41 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.779e-05/0.005209, allocations: 33.7 kB / 384.3 MB, free: 13.37 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002091/0.005418, allocations: 97.62 kB / 384.4 MB, free: 13.27 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.62e-07/0.005419, allocations: 0 / 384.4 MB, free: 13.27 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001024/0.005521, allocations: 81.58 kB / 384.4 MB, free: 13.18 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.088e-05/0.005532, allocations: 4 kB / 384.4 MB, free: 13.18 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.067e-06/0.005536, allocations: 7.938 kB / 384.5 MB, free: 13.17 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.197e-06/0.005545, allocations: 0 / 384.5 MB, free: 13.17 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.105e-05/0.005626, allocations: 23.98 kB / 384.5 MB, free: 13.15 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.156e-06/0.005629, allocations: 0 / 384.5 MB, free: 13.15 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.669e-05/0.005646, allocations: 0 / 384.5 MB, free: 13.15 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.607e-06/0.00565, allocations: 4 kB / 384.5 MB, free: 13.14 MB / 362.7 MB Warning: The initial conditions are over specified. The following 2 initial equations are redundant, so they are removed from the initialization system: $DER.v1 = 0.0 $DER.x1 = 0.0. 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 (10): * Single equations (assignments): 10 * 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.0001546/0.005804, allocations: 121.8 kB / 384.6 MB, free: 13.02 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.148e-05/0.005826, allocations: 0 / 384.6 MB, free: 13.02 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.13e-05/0.005847, allocations: 12.12 kB / 384.6 MB, free: 13 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.432e-06/0.005848, allocations: 0 / 384.6 MB, free: 13 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.888e-06/0.005852, allocations: 0 / 384.6 MB, free: 13 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.005855, allocations: 4 kB / 384.6 MB, free: 13 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003801/0.006235, allocations: 340.9 kB / 385 MB, free: 12.6 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.006237, allocations: 3.938 kB / 385 MB, free: 12.6 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.101e-05/0.006278, allocations: 11.98 kB / 385 MB, free: 12.59 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.598e-05/0.006354, allocations: 24.78 kB / 385 MB, free: 12.56 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.294e-06/0.006361, allocations: 4.312 kB / 385 MB, free: 12.55 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008587/0.00722, allocations: 1.28 MB / 386.3 MB, free: 11.16 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.007221, allocations: 4.062 kB / 386.3 MB, free: 11.15 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002036/0.007425, allocations: 222.8 kB / 386.5 MB, free: 10.91 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.424e-06/0.007432, allocations: 7.984 kB / 386.5 MB, free: 10.9 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.843e-06/0.007439, allocations: 0 / 386.5 MB, free: 10.9 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.699e-05/0.007496, allocations: 7.938 kB / 386.5 MB, free: 10.89 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.214e-05/0.007518, allocations: 11.98 kB / 386.5 MB, free: 10.88 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.797e-06/0.007522, allocations: 0 / 386.5 MB, free: 10.88 MB / 362.7 MB Notification: Performance of sorting global known variables: time 3.706e-05/0.007559, allocations: 83.36 kB / 386.6 MB, free: 10.8 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.007559, allocations: 3.938 kB / 386.6 MB, free: 10.79 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002585/0.007818, allocations: 12 kB / 386.6 MB, free: 10.78 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (x2,v2) * 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 (6): * Single equations (assignments): 5 * 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,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004162/0.008234, allocations: 0.7592 MB / 387.4 MB, free: 9.984 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 8.843e-05/0.008322, allocations: 43.92 kB / 387.4 MB, free: 9.941 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 9.92e-07/0.008323, allocations: 0 / 387.4 MB, free: 9.941 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001419/0.008465, allocations: 146.6 kB / 387.6 MB, free: 9.785 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001319/0.008597, allocations: 0.6562 kB / 387.6 MB, free: 9.785 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000716/0.009313, allocations: 1.359 MB / 388.9 MB, free: 8.324 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.387e-05/0.009357, allocations: 79.06 kB / 389 MB, free: 8.227 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 1.303e-05/0.00937, allocations: 4 kB / 389 MB, free: 8.223 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.507e-05/0.009395, allocations: 16.5 kB / 389 MB, free: 8.207 MB / 362.7 MB Notification: Performance of SimCode: time 3.71e-07/0.009395, allocations: 0 / 389 MB, free: 8.207 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01575/0.02515, allocations: 2.276 MB / 391.3 MB, free: 6.141 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.104/7.129, allocations: 10.42 kB / 391.3 MB, free: 6.133 MB / 362.7 MB " [Timeout remaining time 653] (rm -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullSteadyState.pipe ; mkfifo ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullSteadyState.pipe ; head -c 1048576 < ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullSteadyState.pipe >> ../files/ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullSteadyState.sim & python3 -m fmpy simulate --output-file ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullSteadyState_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_TwoMassesEquationsFullSteadyState.fmu > ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullSteadyState.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.053194239735603] Failed to read output from testmodel.py, exit status != 0: 7.2121748654171824 7.221561051 7.216742252 Calling exit ...