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.001774/0.001774, allocations: 116.9 kB / 17.17 MB, free: 5.906 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.002144/0.002144, allocations: 209.2 kB / 20.13 MB, free: 2.969 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.484/1.484, allocations: 230.6 MB / 253.5 MB, free: 15.08 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.003267/0.003267, allocations: 0.5661 MB / 310.1 MB, free: 3.43 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.002031/0.002031, allocations: 65.8 kB / 430.7 MB, free: 41.04 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09062/0.09265, allocations: 53.48 MB / 484.2 MB, free: 18.99 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullSteadyState): time 0.002455/0.0951, allocations: 1.676 MB / 485.9 MB, free: 17.77 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002556/0.09536, allocations: 97.38 kB / 486 MB, free: 17.69 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.884e-05/0.09542, allocations: 2.062 kB / 486 MB, free: 17.69 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 4.961e-05/0.09547, allocations: 12.95 kB / 486 MB, free: 17.68 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001002/0.09557, allocations: 31.88 kB / 486 MB, free: 17.65 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001227/0.09569, allocations: 27.2 kB / 486 MB, free: 17.63 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000128/0.09582, allocations: 111.1 kB / 486.1 MB, free: 17.56 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001194/0.09594, allocations: 25.8 kB / 486.2 MB, free: 17.55 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.148e-05/0.096, allocations: 40.02 kB / 486.2 MB, free: 17.53 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.437e-05/0.09608, allocations: 46.27 kB / 486.2 MB, free: 17.5 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.624e-05/0.09611, allocations: 9.156 kB / 486.3 MB, free: 17.5 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.117e-05/0.09613, allocations: 8.281 kB / 486.3 MB, free: 17.5 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.327e-05/0.09615, allocations: 22.3 kB / 486.3 MB, free: 17.48 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.392e-05/0.09621, allocations: 49.28 kB / 486.3 MB, free: 17.45 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001456/0.09635, allocations: 107 kB / 486.4 MB, free: 17.37 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.09636, allocations: 5.094 kB / 486.4 MB, free: 17.37 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.09636, allocations: 0 / 486.4 MB, free: 17.37 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.008e-05/0.09637, allocations: 0 / 486.4 MB, free: 17.37 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.0004477/0.09682, allocations: 395.6 kB / 486.8 MB, free: 16.96 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.806e-05/0.09686, allocations: 9.062 kB / 486.8 MB, free: 16.96 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.522e-05/0.09687, allocations: 10.62 kB / 486.8 MB, free: 16.96 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.494e-05/0.0969, allocations: 42.22 kB / 486.9 MB, free: 16.91 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.271e-05/0.09693, allocations: 14.06 kB / 486.9 MB, free: 16.9 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001392/0.09707, allocations: 195.6 kB / 487.1 MB, free: 16.68 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.559e-05/0.09708, allocations: 7.969 kB / 487.1 MB, free: 16.68 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.314e-05/0.09712, allocations: 18.56 kB / 487.1 MB, free: 16.66 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001743/0.09729, allocations: 91.88 kB / 487.2 MB, free: 16.6 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.269e-05/0.0973, allocations: 0 / 487.2 MB, free: 16.6 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.262e-05/0.09732, allocations: 5.438 kB / 487.2 MB, free: 16.59 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.51e-06/0.09732, allocations: 2.531 kB / 487.2 MB, free: 16.59 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000108/0.09743, allocations: 62.59 kB / 487.3 MB, free: 16.56 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004499/0.09788, allocations: 383.8 kB / 487.7 MB, free: 16.19 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001619/0.09804, allocations: 92.55 kB / 487.7 MB, free: 16.14 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.666e-05/0.0981, allocations: 37.34 kB / 487.8 MB, free: 16.11 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.483e-05/0.09811, allocations: 5 kB / 487.8 MB, free: 16.11 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.155e-05/0.09812, allocations: 32.09 kB / 487.8 MB, free: 16.07 MB / 350.1 MB Notification: Performance of pre-optimization done (n=12): time 1.122e-06/0.09813, allocations: 0 / 487.8 MB, free: 16.07 MB / 350.1 MB Notification: Performance of matching and sorting (n=16): time 0.0009745/0.0991, allocations: 0.6831 MB / 488.5 MB, free: 15.46 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.167e-05/0.09912, allocations: 53.91 kB / 488.5 MB, free: 15.4 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.432e-05/0.0992, allocations: 126.8 kB / 488.7 MB, free: 15.29 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.047e-05/0.09921, allocations: 29.69 kB / 488.7 MB, free: 15.25 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.59e-05/0.09924, allocations: 104 kB / 488.8 MB, free: 15.14 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.996e-05/0.09927, allocations: 58.48 kB / 488.9 MB, free: 15.09 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.557e-05/0.09932, allocations: 33.39 kB / 488.9 MB, free: 15.07 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 4.422e-05/0.09936, allocations: 321.4 kB / 489.2 MB, free: 14.75 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.718e-05/0.09942, allocations: 34.11 kB / 489.2 MB, free: 14.73 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.905e-05/0.09949, allocations: 68.97 kB / 489.3 MB, free: 14.68 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.0005302/0.1, allocations: 368.2 kB / 489.7 MB, free: 14.38 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.183e-06/0.1, allocations: 0 / 489.7 MB, free: 14.38 MB / 350.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.000185/0.1002, allocations: 144.2 kB / 489.8 MB, free: 14.29 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.322e-05/0.1002, allocations: 5.219 kB / 489.8 MB, free: 14.29 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.1002, allocations: 1.188 kB / 489.8 MB, free: 14.29 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.502e-05/0.1002, allocations: 1.25 kB / 489.8 MB, free: 14.29 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001771/0.1004, allocations: 40.86 kB / 489.9 MB, free: 14.28 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.172e-06/0.1004, allocations: 1.406 kB / 489.9 MB, free: 14.28 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.695e-05/0.1005, allocations: 1.406 kB / 489.9 MB, free: 14.28 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.088e-05/0.1005, allocations: 7.688 kB / 489.9 MB, free: 14.27 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 7.346e-05/0.1006, allocations: 135.5 kB / 490 MB, free: 14.14 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.236e-05/0.1006, allocations: 10.23 kB / 490 MB, free: 14.14 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.171e-05/0.1006, allocations: 12.84 kB / 490 MB, free: 14.12 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.448e-06/0.1006, allocations: 10.83 kB / 490 MB, free: 14.11 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.603e-06/0.1006, allocations: 0 / 490 MB, free: 14.11 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.758e-06/0.1006, allocations: 5.359 kB / 490 MB, free: 14.11 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.0005235/0.1012, allocations: 0.6048 MB / 490.6 MB, free: 13.5 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.1012, allocations: 0 / 490.6 MB, free: 13.5 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001223/0.1013, allocations: 25.41 kB / 490.7 MB, free: 13.5 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001/0.1014, allocations: 22.97 kB / 490.7 MB, free: 13.48 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.058e-05/0.1014, allocations: 1 kB / 490.7 MB, free: 13.48 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006666/0.1021, allocations: 1.364 MB / 492.1 MB, free: 12.06 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.903e-06/0.1021, allocations: 1.469 kB / 492.1 MB, free: 12.06 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003017/0.1024, allocations: 306.9 kB / 492.4 MB, free: 11.81 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.721e-05/0.1024, allocations: 84.38 kB / 492.4 MB, free: 11.71 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.532e-05/0.1024, allocations: 5.406 kB / 492.4 MB, free: 11.71 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.947e-05/0.1025, allocations: 6.469 kB / 492.4 MB, free: 11.71 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.249e-05/0.1025, allocations: 21.45 kB / 492.5 MB, free: 11.69 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.584e-06/0.1025, allocations: 4.469 kB / 492.5 MB, free: 11.69 MB / 350.1 MB Notification: Performance of sorting global known variables: time 4.026e-05/0.1026, allocations: 97.92 kB / 492.6 MB, free: 11.61 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1026, allocations: 0 / 492.6 MB, free: 11.61 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002839/0.1029, allocations: 28.19 kB / 492.6 MB, free: 11.6 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.0004703/0.1033, allocations: 0.8349 MB / 493.4 MB, free: 10.82 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002234/0.1036, allocations: 99.92 kB / 493.5 MB, free: 10.78 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.1036, allocations: 1.25 kB / 493.5 MB, free: 10.78 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002333/0.1038, allocations: 171.5 kB / 493.7 MB, free: 10.64 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003481/0.1041, allocations: 20.86 kB / 493.7 MB, free: 10.62 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001559/0.1057, allocations: 1.799 MB / 495.5 MB, free: 9.027 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001584/0.1059, allocations: 0.7078 MB / 496.2 MB, free: 8.316 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.409e-05/0.1059, allocations: 11.05 kB / 496.2 MB, free: 8.312 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.609e-05/0.106, allocations: 35.36 kB / 496.3 MB, free: 8.285 MB / 350.1 MB Notification: Performance of SimCode: time 8.21e-07/0.106, allocations: 0 / 496.3 MB, free: 8.285 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02399/0.13, allocations: 3.043 MB / 499.3 MB, free: 6.82 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.72/10.85, allocations: 22.55 kB / 499.3 MB, free: 6.801 MB / 350.1 MB " [Timeout remaining time 649] (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: 13.623118684976362] Failed to read output from testmodel.py, exit status != 0: 11.181349748978391 11.001469775 10.902168743 Calling exit ...