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.0009576/0.0009576, 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.001007/0.001007, allocations: 169.9 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.9295/0.9295, 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.002159/0.002159, allocations: 415.8 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 1.653e-06/1.653e-06, allocations: 0 / 381.8 MB, free: 112 kB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.669e-05/1.835e-05, allocations: 5.234 kB / 381.8 MB, free: 108 kB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedSteadyState): time 0.001323/0.001342, allocations: 0.5188 MB / 382.3 MB, free: 15.59 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001955/0.001537, allocations: 23.89 kB / 382.3 MB, free: 15.56 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.06e-05/0.001568, allocations: 0 / 382.3 MB, free: 15.56 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 1.917e-05/0.001587, allocations: 0 / 382.3 MB, free: 15.56 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 3.588e-05/0.001623, allocations: 7.938 kB / 382.3 MB, free: 15.55 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000141/0.001764, allocations: 3.984 kB / 382.3 MB, free: 15.55 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 6.824e-05/0.001832, allocations: 15.98 kB / 382.4 MB, free: 15.54 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.282e-05/0.001885, allocations: 4 kB / 382.4 MB, free: 15.53 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.451e-05/0.001929, allocations: 15.92 kB / 382.4 MB, free: 15.52 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.835e-05/0.001998, allocations: 3.984 kB / 382.4 MB, free: 15.51 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.601e-05/0.002024, allocations: 8 kB / 382.4 MB, free: 15.5 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.097e-06/0.002033, allocations: 0 / 382.4 MB, free: 15.5 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 1.97e-05/0.002053, allocations: 0 / 382.4 MB, free: 15.5 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 2.68e-05/0.002079, allocations: 15.91 kB / 382.4 MB, free: 15.49 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 8.004e-05/0.002159, allocations: 11.98 kB / 382.4 MB, free: 15.48 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.034e-06/0.002161, allocations: 0 / 382.4 MB, free: 15.48 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.184e-06/0.002164, allocations: 0 / 382.4 MB, free: 15.48 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.348e-06/0.002168, 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.0005822/0.00275, allocations: 258.3 kB / 382.7 MB, free: 15.19 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.44e-05/0.002795, allocations: 12.03 kB / 382.7 MB, free: 15.18 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.072e-05/0.002835, allocations: 34.75 kB / 382.7 MB, free: 15.14 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.345e-05/0.002859, allocations: 0.9375 kB / 382.7 MB, free: 15.14 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.956e-05/0.002948, allocations: 117.7 kB / 382.8 MB, free: 15 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.356e-05/0.002962, allocations: 4.375 kB / 382.8 MB, free: 14.99 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.605e-05/0.002988, allocations: 8.328 kB / 382.8 MB, free: 14.98 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001171/0.003105, allocations: 42.25 kB / 382.9 MB, free: 14.94 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.169e-05/0.003117, allocations: 192 / 382.9 MB, free: 14.94 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.517e-06/0.003126, allocations: 4.375 kB / 382.9 MB, free: 14.93 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.362e-06/0.003133, allocations: 8.125 kB / 382.9 MB, free: 14.93 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.771e-05/0.00318, allocations: 11.98 kB / 382.9 MB, free: 14.91 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004311/0.003611, allocations: 232 kB / 383.1 MB, free: 14.64 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001062/0.003718, allocations: 46.56 kB / 383.2 MB, free: 14.59 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.706e-05/0.003745, allocations: 8.859 kB / 383.2 MB, free: 14.58 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.68e-05/0.003761, allocations: 7.938 kB / 383.2 MB, free: 14.57 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.875e-05/0.00379, allocations: 30.56 kB / 383.2 MB, free: 14.53 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 1.232e-06/0.003791, allocations: 3.938 kB / 383.2 MB, free: 14.53 MB / 362.7 MB Notification: Performance of matching and sorting (n=4): time 0.0003976/0.004189, allocations: 90.5 kB / 383.3 MB, free: 14.43 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.408e-05/0.004233, allocations: 51.41 kB / 383.4 MB, free: 14.37 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.652e-05/0.00431, allocations: 97.84 kB / 383.5 MB, free: 14.26 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.597e-05/0.004326, allocations: 33.7 kB / 383.5 MB, free: 14.22 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.016e-05/0.004376, allocations: 84.14 kB / 383.6 MB, free: 14.14 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.282e-05/0.004399, allocations: 15.78 kB / 383.6 MB, free: 14.12 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.155e-05/0.00444, allocations: 21.7 kB / 383.6 MB, free: 14.09 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001106/0.004551, allocations: 318.8 kB / 383.9 MB, free: 13.77 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.059e-05/0.004571, allocations: 4 kB / 383.9 MB, free: 13.77 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.732e-05/0.004609, allocations: 25.7 kB / 383.9 MB, free: 13.74 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.11e-05/0.00467, allocations: 37.59 kB / 384 MB, free: 13.7 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.955e-06/0.004673, allocations: 0 / 384 MB, free: 13.7 MB / 362.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 9.915e-05/0.004772, allocations: 62.05 kB / 384 MB, free: 13.63 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.576e-05/0.004788, allocations: 8.031 kB / 384.1 MB, free: 13.62 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.272e-06/0.004794, allocations: 4 kB / 384.1 MB, free: 13.62 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.559e-05/0.004809, allocations: 0 / 384.1 MB, free: 13.62 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.908e-05/0.004908, allocations: 15.98 kB / 384.1 MB, free: 13.6 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.861e-06/0.004914, allocations: 0 / 384.1 MB, free: 13.6 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.533e-05/0.00494, allocations: 7.953 kB / 384.1 MB, free: 13.59 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.145e-06/0.004948, allocations: 4 kB / 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 7.895e-05/0.005027, allocations: 109.8 kB / 384.2 MB, free: 13.47 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.366e-05/0.00505, allocations: 3.984 kB / 384.2 MB, free: 13.47 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.38e-05/0.005084, allocations: 11.69 kB / 384.2 MB, free: 13.45 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.016e-06/0.005087, allocations: 4.125 kB / 384.2 MB, free: 13.45 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.574e-06/0.005095, allocations: 4 kB / 384.2 MB, free: 13.45 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/0.005099, allocations: 0 / 384.2 MB, free: 13.45 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00017/0.005269, allocations: 132.7 kB / 384.3 MB, free: 13.27 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.173e-06/0.00527, allocations: 0 / 384.3 MB, free: 13.27 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.794e-05/0.005308, allocations: 4 kB / 384.4 MB, free: 13.27 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001646/0.005473, allocations: 24.78 kB / 384.4 MB, free: 13.24 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.418e-06/0.005482, allocations: 0 / 384.4 MB, free: 13.24 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001005/0.006487, allocations: 1.244 MB / 385.6 MB, free: 11.88 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.006488, allocations: 3.938 kB / 385.6 MB, free: 11.88 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001843/0.006672, allocations: 160.4 kB / 385.8 MB, free: 11.7 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.356e-05/0.006686, allocations: 19.86 kB / 385.8 MB, free: 11.68 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.139e-05/0.006697, allocations: 7.922 kB / 385.8 MB, free: 11.68 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.856e-05/0.006746, allocations: 0 / 385.8 MB, free: 11.68 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.382e-05/0.00677, allocations: 4 kB / 385.8 MB, free: 11.67 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.128e-06/0.006774, allocations: 0 / 385.8 MB, free: 11.67 MB / 362.7 MB Notification: Performance of sorting global known variables: time 3.904e-05/0.006813, allocations: 83.48 kB / 385.9 MB, free: 11.59 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.006813, allocations: 4 kB / 385.9 MB, free: 11.59 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002804/0.007093, allocations: 11.94 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.0004311/0.007524, allocations: 0.694 MB / 386.6 MB, free: 10.85 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 9.413e-05/0.007619, allocations: 27.95 kB / 386.6 MB, free: 10.82 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.007621, allocations: 4 kB / 386.6 MB, free: 10.82 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001681/0.007789, 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.0002272/0.008016, allocations: 12.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.0009286/0.008945, allocations: 1.251 MB / 388 MB, free: 9.332 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.909e-05/0.009004, allocations: 67.2 kB / 388.1 MB, free: 9.246 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 2.146e-05/0.009025, allocations: 7.984 kB / 388.1 MB, free: 9.238 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.905e-05/0.009064, allocations: 12.5 kB / 388.1 MB, free: 9.227 MB / 362.7 MB Notification: Performance of SimCode: time 5.72e-07/0.009065, allocations: 0 / 388.1 MB, free: 9.227 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0165/0.02556, allocations: 2.077 MB / 390.2 MB, free: 7.359 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.58/7.606, allocations: 3.984 kB / 390.2 MB, free: 7.355 MB / 362.7 MB " [Timeout remaining time 652] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Mechanical_TwoMassesEquationsReducedSteadyState_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Mechanical_TwoMassesEquationsReducedSteadyState.fmu > ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedSteadyState.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.35207580961287] Failed to read output from testmodel.py, exit status != 0: 7.689995573833585 7.700191562 7.696037393 Calling exit ...