Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullSteadyState.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.001438/0.001438, allocations: 97.88 kB / 19.73 MB, free: 2.117 MB / 14.72 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.001438/0.001438, allocations: 215.5 kB / 23.03 MB, free: 4.918 MB / 14.72 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 1.479/1.479, allocations: 230.6 MB / 256.8 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 178] 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.00298/0.00298, allocations: 0.5744 MB / 313.8 MB, free: 2.297 MB / 238.1 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.TwoMassesFullSteadyState,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Mechanical_TwoMassesFullSteadyState",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullSteadyState,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Mechanical_TwoMassesFullSteadyState",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001971/0.001971, allocations: 67.84 kB / 435.9 MB, free: 16.88 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09559/0.09756, allocations: 53.52 MB / 489.4 MB, free: 11.26 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullSteadyState): time 0.003155/0.1007, allocations: 1.616 MB / 491 MB, free: 9.629 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002673/0.101, allocations: 87.7 kB / 491.1 MB, free: 9.543 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.977e-05/0.101, allocations: 3.938 kB / 491.1 MB, free: 9.539 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 5.371e-05/0.1011, allocations: 19.86 kB / 491.1 MB, free: 9.52 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001037/0.1012, allocations: 31.7 kB / 491.2 MB, free: 9.488 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001303/0.1013, allocations: 27.97 kB / 491.2 MB, free: 9.461 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001441/0.1015, allocations: 107.5 kB / 491.3 MB, free: 9.355 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001313/0.1016, allocations: 31.97 kB / 491.3 MB, free: 9.324 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.306e-05/0.1017, allocations: 39.86 kB / 491.4 MB, free: 9.285 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.867e-05/0.1018, allocations: 43.78 kB / 491.4 MB, free: 9.242 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.717e-05/0.1018, allocations: 12 kB / 491.4 MB, free: 9.23 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.201e-05/0.1018, allocations: 8 kB / 491.4 MB, free: 9.223 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.984e-05/0.1019, allocations: 19.91 kB / 491.4 MB, free: 9.203 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.674e-05/0.1019, allocations: 39.88 kB / 491.5 MB, free: 9.164 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001728/0.1021, allocations: 111.8 kB / 491.6 MB, free: 9.055 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.618e-06/0.1021, allocations: 4 kB / 491.6 MB, free: 9.051 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.1021, allocations: 0 / 491.6 MB, free: 9.051 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.983e-06/0.1021, allocations: 4 kB / 491.6 MB, free: 9.047 MB / 350.1 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.0005519/0.1026, allocations: 322.2 kB / 491.9 MB, free: 8.699 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.305e-05/0.1027, allocations: 8.031 kB / 491.9 MB, free: 8.691 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.735e-05/0.1027, allocations: 4.375 kB / 491.9 MB, free: 8.688 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.172e-05/0.1027, allocations: 38.75 kB / 492 MB, free: 8.641 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.586e-05/0.1028, allocations: 12.84 kB / 492 MB, free: 8.629 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001976/0.103, allocations: 130.4 kB / 492.1 MB, free: 8.477 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.535e-05/0.103, allocations: 12.56 kB / 492.1 MB, free: 8.465 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.601e-05/0.103, allocations: 12.08 kB / 492.1 MB, free: 8.453 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002298/0.1033, allocations: 96.84 kB / 492.2 MB, free: 8.355 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.398e-05/0.1033, allocations: 3.938 kB / 492.2 MB, free: 8.352 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.366e-05/0.1033, allocations: 4 kB / 492.2 MB, free: 8.348 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.396e-06/0.1033, allocations: 4 kB / 492.2 MB, free: 8.344 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001284/0.1034, allocations: 59.89 kB / 492.3 MB, free: 8.285 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005481/0.104, allocations: 335.8 kB / 492.6 MB, free: 7.914 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001925/0.1042, allocations: 98.48 kB / 492.7 MB, free: 7.809 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.05e-05/0.1042, allocations: 36.84 kB / 492.8 MB, free: 7.77 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.251e-05/0.1042, allocations: 4 kB / 492.8 MB, free: 7.766 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.778e-05/0.1043, allocations: 34.56 kB / 492.8 MB, free: 7.723 MB / 350.1 MB Notification: Performance of pre-optimization done (n=12): time 1.232e-06/0.1043, allocations: 0 / 492.8 MB, free: 7.723 MB / 350.1 MB Notification: Performance of matching and sorting (n=16): time 0.001099/0.1054, allocations: 0.5356 MB / 493.3 MB, free: 7.129 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.624e-05/0.1054, allocations: 55.34 kB / 493.4 MB, free: 7.062 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001108/0.1055, allocations: 130 kB / 493.5 MB, free: 6.926 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.334e-05/0.1055, allocations: 29.7 kB / 493.5 MB, free: 6.891 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.732e-05/0.1056, allocations: 104.3 kB / 493.6 MB, free: 6.781 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.958e-05/0.1057, allocations: 63.47 kB / 493.7 MB, free: 6.719 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.626e-05/0.1057, allocations: 33.72 kB / 493.7 MB, free: 6.68 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001397/0.1059, allocations: 322.8 kB / 494.1 MB, free: 6.355 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.276e-05/0.1059, allocations: 31.98 kB / 494.1 MB, free: 6.324 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.783e-05/0.106, allocations: 62.5 kB / 494.1 MB, free: 6.254 MB / 350.1 MB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: mass1.v = $START.mass1.v ($START.mass2.v = $START.mass1.v) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: mass2.a = $START.mass2.a ($START.mass1.a = $START.mass2.a) Notification: Performance of analyzeInitialSystem (initialization): time 0.0005628/0.1066, allocations: 221.4 kB / 494.4 MB, free: 6.031 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-06/0.1066, allocations: 4 kB / 494.4 MB, free: 6.027 MB / 350.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002239/0.1068, allocations: 141.8 kB / 494.5 MB, free: 5.883 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.71e-05/0.1068, allocations: 8 kB / 494.5 MB, free: 5.875 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.142e-06/0.1068, allocations: 0 / 494.5 MB, free: 5.875 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.565e-05/0.1068, allocations: 0 / 494.5 MB, free: 5.875 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002105/0.107, allocations: 39.91 kB / 494.5 MB, free: 5.836 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.737e-06/0.107, allocations: 4 kB / 494.6 MB, free: 5.832 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.187e-05/0.1071, allocations: 4 kB / 494.6 MB, free: 5.828 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.959e-06/0.1071, allocations: 4 kB / 494.6 MB, free: 5.824 MB / 350.1 MB Warning: The initial conditions are over specified. The following 2 initial equations are redundant, so they are removed from the initialization system: mass1.v = $START.mass1.v mass2.a = $START.mass2.a. 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 0.0001178/0.1072, allocations: 133.8 kB / 494.7 MB, free: 5.684 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.469e-05/0.1073, allocations: 11.94 kB / 494.7 MB, free: 5.672 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.493e-05/0.1073, allocations: 16.78 kB / 494.7 MB, free: 5.652 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.1073, allocations: 0 / 494.7 MB, free: 5.652 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.192e-06/0.1073, allocations: 3.938 kB / 494.7 MB, free: 5.648 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.905e-06/0.1073, allocations: 4 kB / 494.7 MB, free: 5.645 MB / 350.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006512/0.108, allocations: 460.6 kB / 495.2 MB, free: 5.137 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.108, allocations: 0 / 495.2 MB, free: 5.137 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001347/0.1081, allocations: 36.02 kB / 495.2 MB, free: 5.102 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001023/0.1082, allocations: 16.84 kB / 495.2 MB, free: 5.082 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.272e-05/0.1082, allocations: 8 kB / 495.2 MB, free: 5.074 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001075/0.1093, allocations: 1.26 MB / 496.5 MB, free: 3.699 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.1093, allocations: 0 / 496.5 MB, free: 3.699 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003797/0.1097, allocations: 313.8 kB / 496.8 MB, free: 3.367 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.697e-05/0.1097, allocations: 11.89 kB / 496.8 MB, free: 3.355 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.845e-05/0.1097, allocations: 3.984 kB / 496.8 MB, free: 3.352 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.693e-05/0.1098, allocations: 15.94 kB / 496.8 MB, free: 3.336 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.106e-05/0.1098, allocations: 11.97 kB / 496.8 MB, free: 3.324 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.026e-05/0.1098, allocations: 4 kB / 496.8 MB, free: 3.32 MB / 350.1 MB Notification: Performance of sorting global known variables: time 6.237e-05/0.1099, allocations: 103.2 kB / 496.9 MB, free: 3.219 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1099, allocations: 0 / 496.9 MB, free: 3.219 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002719/0.1102, allocations: 28 kB / 497 MB, free: 3.191 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (mass2.s,mass2.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.0007409/0.1109, allocations: 0.8407 MB / 497.8 MB, free: 2.312 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002303/0.1111, allocations: 87.91 kB / 497.9 MB, free: 2.227 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 6.392e-06/0.1112, allocations: 0 / 497.9 MB, free: 2.227 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002612/0.1114, allocations: 162.6 kB / 498.1 MB, free: 2.055 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000344/0.1118, allocations: 28.28 kB / 498.1 MB, free: 2.027 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001999/0.1138, allocations: 1.798 MB / 499.9 MB, free: 124 kB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.844e-05/0.1138, allocations: 88.62 kB / 500 MB, free: 16 kB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.079e-05/0.1139, allocations: 17.08 kB / 500 MB, free: 0 / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.494e-05/0.114, allocations: 27.59 kB / 0.4883 GB, free: 15.97 MB / 366.1 MB Notification: Performance of SimCode: time 3.7e-07/0.114, allocations: 0 / 0.4883 GB, free: 15.97 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02598/0.14, allocations: 3.194 MB / 0.4914 GB, free: 12.99 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12/12.14, allocations: 20.05 kB / 0.4914 GB, free: 12.97 MB / 366.1 MB " [Timeout remaining time 648] (rm -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullSteadyState.pipe ; mkfifo ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullSteadyState.pipe ; head -c 1048576 < ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullSteadyState.pipe >> ../files/ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullSteadyState.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Mechanical_TwoMassesFullSteadyState_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=50 --tolerance=1e-06 ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Mechanical_TwoMassesFullSteadyState.fmu > ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullSteadyState.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.92850781197194] Failed to read output from testmodel.py, exit status != 0: 12.308432642021216 12.517716895 12.221407995 Calling exit ...