Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullInitial.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001574/0.001574, allocations: 109.2 kB / 16.46 MB, free: 6.504 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001582/0.001582, allocations: 195.8 kB / 19.41 MB, free: 3.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.364/1.364, allocations: 225.6 MB / 247.8 MB, free: 13.95 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.0.0+maint.om/package.mo): time 0.002706/0.002706, allocations: 0.5687 MB / 303.3 MB, free: 9.199 MB / 238.1 MB " [Timeout remaining time 180] Using package ModelicaTestOverdetermined with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullInitial,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Mechanical_TwoMassesFullInitial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullInitial,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Mechanical_TwoMassesFullInitial",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001859/0.001859, allocations: 67.89 kB / 421.5 MB, free: 25.33 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08954/0.0914, allocations: 52.3 MB / 473.8 MB, free: 4.934 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullInitial): time 0.0029/0.0943, allocations: 1.654 MB / 475.4 MB, free: 3.27 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002917/0.0946, allocations: 95.67 kB / 475.5 MB, free: 3.176 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.856e-05/0.09465, allocations: 7.938 kB / 475.5 MB, free: 3.168 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.334e-05/0.09471, allocations: 15.86 kB / 475.5 MB, free: 3.152 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001084/0.09482, allocations: 31.7 kB / 475.6 MB, free: 3.121 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001378/0.09495, allocations: 27.91 kB / 475.6 MB, free: 3.094 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001487/0.0951, allocations: 103.5 kB / 475.7 MB, free: 2.992 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001429/0.09525, allocations: 27.97 kB / 475.7 MB, free: 2.965 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.499e-05/0.09532, allocations: 43.91 kB / 475.8 MB, free: 2.922 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001025/0.09542, allocations: 39.78 kB / 475.8 MB, free: 2.883 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.142e-05/0.09544, allocations: 12 kB / 475.8 MB, free: 2.871 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.782e-05/0.09546, allocations: 8 kB / 475.8 MB, free: 2.863 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 3.272e-05/0.09549, allocations: 23.92 kB / 475.9 MB, free: 2.84 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 6.121e-05/0.09556, allocations: 51.73 kB / 475.9 MB, free: 2.789 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001775/0.09573, allocations: 111.8 kB / 476 MB, free: 2.68 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.09574, allocations: 4 kB / 476 MB, free: 2.676 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.09574, allocations: 3.938 kB / 476 MB, free: 2.672 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.769e-06/0.09574, allocations: 0 / 476 MB, free: 2.672 MB / 334.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.0005602/0.0963, allocations: 403.3 kB / 476.4 MB, free: 2.227 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.983e-05/0.09634, allocations: 8.031 kB / 476.4 MB, free: 2.219 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.085e-05/0.0964, allocations: 42.73 kB / 476.5 MB, free: 2.168 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.02e-05/0.09643, allocations: 8.891 kB / 476.5 MB, free: 2.16 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001962/0.09662, allocations: 188.2 kB / 476.7 MB, free: 1.938 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.441e-05/0.09664, allocations: 8.562 kB / 476.7 MB, free: 1.93 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.801e-05/0.09666, allocations: 12.38 kB / 476.7 MB, free: 1.918 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001873/0.09685, allocations: 89.78 kB / 476.8 MB, free: 1.824 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.363e-05/0.09686, allocations: 0 / 476.8 MB, free: 1.824 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.367e-05/0.09688, allocations: 4 kB / 476.8 MB, free: 1.82 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.943e-06/0.09689, allocations: 8 kB / 476.8 MB, free: 1.812 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001239/0.09701, allocations: 62.02 kB / 476.8 MB, free: 1.754 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005848/0.09759, allocations: 388.6 kB / 477.2 MB, free: 1.324 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000179/0.09777, allocations: 90.5 kB / 477.3 MB, free: 1.227 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.767e-05/0.09784, allocations: 40.78 kB / 477.4 MB, free: 1.184 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.34e-05/0.09785, allocations: 4 kB / 477.4 MB, free: 1.18 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.098e-05/0.09789, allocations: 34.56 kB / 477.4 MB, free: 1.137 MB / 334.1 MB Notification: Performance of pre-optimization done (n=12): time 1.122e-06/0.09789, allocations: 0 / 477.4 MB, free: 1.137 MB / 334.1 MB Notification: Performance of matching and sorting (n=16): time 0.001175/0.09906, allocations: 0.6895 MB / 478.1 MB, free: 364 kB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.057e-05/0.0991, allocations: 59.41 kB / 478.1 MB, free: 292 kB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001299/0.09923, allocations: 126.2 kB / 478.3 MB, free: 156 kB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.86e-05/0.09925, allocations: 25.7 kB / 478.3 MB, free: 124 kB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.954e-05/0.09932, allocations: 104.3 kB / 478.4 MB, free: 12 kB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.154e-05/0.09939, allocations: 63.47 kB / 478.4 MB, free: 15.95 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.998e-05/0.09944, allocations: 29.7 kB / 478.5 MB, free: 15.91 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001483/0.09959, allocations: 322.8 kB / 478.8 MB, free: 15.59 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.602e-05/0.09966, allocations: 35.98 kB / 478.8 MB, free: 15.55 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.324e-05/0.09974, allocations: 62.55 kB / 478.9 MB, free: 15.48 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.s = $START.mass2.s ($START.mass1.s + 0.5 * (mass1.L + mass2.L) = $START.mass2.s) Notification: Performance of analyzeInitialSystem (initialization): time 0.000768/0.1005, allocations: 412.4 kB / 479.3 MB, free: 15.04 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.1005, allocations: 3.938 kB / 479.3 MB, free: 15.04 MB / 350.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002784/0.1008, allocations: 166.3 kB / 479.5 MB, free: 14.86 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.634e-05/0.1008, allocations: 8 kB / 479.5 MB, free: 14.86 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.939e-06/0.1008, allocations: 0 / 479.5 MB, free: 14.86 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001322/0.1009, allocations: 36.77 kB / 479.5 MB, free: 14.82 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.741e-05/0.101, allocations: 23.98 kB / 479.5 MB, free: 14.79 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001518/0.1026, allocations: 1.611 MB / 481.1 MB, free: 13.04 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.077e-05/0.1026, allocations: 7.938 kB / 481.1 MB, free: 13.03 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.107e-06/0.1026, allocations: 4.031 kB / 481.1 MB, free: 13.02 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.s = $START.mass2.s. 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 (16): * Single equations (assignments): 15 * 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,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001276/0.1027, allocations: 134.6 kB / 481.3 MB, free: 12.88 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.326e-05/0.1028, allocations: 11.95 kB / 481.3 MB, free: 12.87 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.31e-05/0.1028, allocations: 16.84 kB / 481.3 MB, free: 12.86 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.656e-06/0.1028, allocations: 4 kB / 481.3 MB, free: 12.86 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.556e-06/0.1028, allocations: 8 kB / 481.3 MB, free: 12.85 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.925e-06/0.1028, allocations: 0 / 481.3 MB, free: 12.85 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.0007253/0.1036, allocations: 0.5944 MB / 481.9 MB, free: 12.16 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.1036, allocations: 0 / 481.9 MB, free: 12.16 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001229/0.1037, allocations: 31.92 kB / 481.9 MB, free: 12.13 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.019e-05/0.1038, allocations: 24.94 kB / 482 MB, free: 12.1 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.126e-05/0.1038, allocations: 8 kB / 482 MB, free: 12.09 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001054/0.1048, allocations: 1.363 MB / 483.3 MB, free: 10.59 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.467e-06/0.1048, allocations: 3.938 kB / 483.3 MB, free: 10.59 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003659/0.1052, allocations: 302.8 kB / 483.6 MB, free: 10.27 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.843e-05/0.1052, allocations: 89.09 kB / 483.7 MB, free: 10.16 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.851e-05/0.1053, allocations: 7.938 kB / 483.7 MB, free: 10.15 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.649e-05/0.1053, allocations: 4 kB / 483.7 MB, free: 10.15 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.518e-05/0.1054, allocations: 11.98 kB / 483.7 MB, free: 10.14 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.614e-06/0.1054, allocations: 4 kB / 483.8 MB, free: 10.13 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.353e-05/0.1054, allocations: 95.27 kB / 483.8 MB, free: 10.04 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1054, allocations: 0 / 483.8 MB, free: 10.04 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002984/0.1057, allocations: 36.06 kB / 483.9 MB, free: 10 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.000709/0.1065, allocations: 0.8328 MB / 484.7 MB, free: 9.129 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004313/0.1069, allocations: 226.4 kB / 484.9 MB, free: 8.898 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.025e-06/0.1069, allocations: 0 / 484.9 MB, free: 8.898 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002081/0.1071, allocations: 162.6 kB / 485.1 MB, free: 8.727 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003304/0.1074, allocations: 24.3 kB / 485.1 MB, free: 8.703 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002115/0.1095, allocations: 1.849 MB / 487 MB, free: 6.738 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003796/0.1099, allocations: 0.7085 MB / 487.7 MB, free: 6.004 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.963e-05/0.11, allocations: 9.078 kB / 487.7 MB, free: 5.992 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.268e-05/0.11, allocations: 35.42 kB / 487.7 MB, free: 5.957 MB / 350.1 MB Notification: Performance of SimCode: time 5.91e-07/0.11, allocations: 0 / 487.7 MB, free: 5.957 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02936/0.1394, allocations: 3.065 MB / 490.8 MB, free: 3.129 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.661/9.8, allocations: 15.77 kB / 490.8 MB, free: 3.113 MB / 350.1 MB " [Timeout remaining time 650] (rm -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullInitial.pipe ; mkfifo ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullInitial.pipe ; head -c 1048576 < ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullInitial.pipe >> ../files/ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullInitial.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Mechanical_TwoMassesFullInitial_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=50 --tolerance=1e-06 ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Mechanical_TwoMassesFullInitial.fmu > ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullInitial.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.124932798091322] Failed to read output from testmodel.py, exit status != 0: 9.882550966925919 9.907502556 9.807369814 Calling exit ...