Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedInitial.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.001715/0.001715, allocations: 107.5 kB / 16.45 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.002187/0.002187, allocations: 191.7 kB / 19.41 MB, free: 3.68 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.383/1.383, 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.002917/0.002917, allocations: 0.561 MB / 303.2 MB, free: 9.219 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.TwoMassesEquationsReducedInitial,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Mechanical_TwoMassesEquationsReducedInitial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedInitial,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Mechanical_TwoMassesEquationsReducedInitial",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001814/0.001814, allocations: 63.91 kB / 421.5 MB, free: 25.35 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09331/0.09513, allocations: 52.3 MB / 473.8 MB, free: 4.953 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedInitial): time 0.001748/0.09688, allocations: 0.5202 MB / 474.3 MB, free: 4.434 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001637/0.09704, allocations: 27.84 kB / 474.3 MB, free: 4.406 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.575e-05/0.09707, allocations: 0 / 474.3 MB, free: 4.406 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 1.715e-05/0.09708, allocations: 0 / 474.3 MB, free: 4.406 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 3.154e-05/0.09711, allocations: 4 kB / 474.3 MB, free: 4.402 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000128/0.09724, allocations: 11.92 kB / 474.3 MB, free: 4.391 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 6.382e-05/0.09731, allocations: 19.97 kB / 474.4 MB, free: 4.371 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.558e-05/0.09736, allocations: 3.938 kB / 474.4 MB, free: 4.367 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.48e-05/0.09739, allocations: 11.94 kB / 474.4 MB, free: 4.355 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.605e-05/0.09745, allocations: 11.92 kB / 474.4 MB, free: 4.344 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.631e-05/0.09747, allocations: 0 / 474.4 MB, free: 4.344 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.804e-06/0.09748, allocations: 0 / 474.4 MB, free: 4.344 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.735e-05/0.09749, allocations: 8 kB / 474.4 MB, free: 4.336 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 2.606e-05/0.09752, allocations: 7.922 kB / 474.4 MB, free: 4.328 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 6.679e-05/0.09759, allocations: 20.14 kB / 474.4 MB, free: 4.309 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.09759, allocations: 4 kB / 474.4 MB, free: 4.305 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.09759, allocations: 0 / 474.4 MB, free: 4.305 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.1e-06/0.0976, allocations: 0 / 474.4 MB, free: 4.305 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004492/0.09805, allocations: 335.5 kB / 474.8 MB, free: 3.926 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.241e-05/0.09809, allocations: 11.89 kB / 474.8 MB, free: 3.914 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.196e-05/0.09813, allocations: 34.75 kB / 474.8 MB, free: 3.871 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.531e-05/0.09816, allocations: 4.891 kB / 474.8 MB, free: 3.867 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001517/0.09831, allocations: 168.3 kB / 475 MB, free: 3.664 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.335e-05/0.09832, allocations: 4.375 kB / 475 MB, free: 3.66 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.015e-05/0.09834, allocations: 8.375 kB / 475 MB, free: 3.652 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001124/0.09845, allocations: 46.23 kB / 475 MB, free: 3.602 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.323e-05/0.09847, allocations: 3.938 kB / 475 MB, free: 3.598 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.263e-06/0.09847, allocations: 0 / 475 MB, free: 3.598 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.228e-06/0.09848, allocations: 0 / 475 MB, free: 3.598 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.582e-05/0.09852, allocations: 15.98 kB / 475 MB, free: 3.582 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004429/0.09897, allocations: 302.5 kB / 475.3 MB, free: 3.23 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.396e-05/0.09906, allocations: 42.56 kB / 475.4 MB, free: 3.18 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.41e-05/0.09909, allocations: 12.86 kB / 475.4 MB, free: 3.164 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.028e-05/0.0991, allocations: 96 / 475.4 MB, free: 3.164 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.231e-05/0.09913, allocations: 34.55 kB / 475.4 MB, free: 3.121 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 7.31e-07/0.09913, allocations: 0 / 475.4 MB, free: 3.121 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.000409/0.09954, allocations: 159.6 kB / 475.6 MB, free: 2.938 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.632e-05/0.09958, allocations: 59.39 kB / 475.6 MB, free: 2.867 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.706e-05/0.09967, allocations: 93.86 kB / 475.7 MB, free: 2.766 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.877e-05/0.09969, allocations: 25.7 kB / 475.8 MB, free: 2.734 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.626e-05/0.09975, allocations: 88.14 kB / 475.8 MB, free: 2.645 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.896e-05/0.09977, allocations: 15.84 kB / 475.9 MB, free: 2.629 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.301e-05/0.09981, allocations: 17.72 kB / 475.9 MB, free: 2.605 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001527/0.09996, allocations: 323.1 kB / 476.2 MB, free: 2.281 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.043e-05/0.09998, allocations: 11.98 kB / 476.2 MB, free: 2.27 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.966e-05/0.1, allocations: 21.72 kB / 476.2 MB, free: 2.242 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.332e-05/0.1001, allocations: 33.66 kB / 476.3 MB, free: 2.203 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.388e-06/0.1001, allocations: 4 kB / 476.3 MB, free: 2.199 MB / 334.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000146/0.1002, allocations: 70.47 kB / 476.3 MB, free: 2.121 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.547e-05/0.1002, allocations: 11.94 kB / 476.3 MB, free: 2.109 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.609e-06/0.1002, allocations: 0 / 476.3 MB, free: 2.109 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001411/0.1004, allocations: 24.88 kB / 476.4 MB, free: 2.082 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.424e-05/0.1004, allocations: 4 kB / 476.4 MB, free: 2.078 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001141/0.1016, allocations: 1.356 MB / 477.7 MB, free: 0.582 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.554e-05/0.1016, allocations: 11.98 kB / 477.7 MB, free: 0.5703 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.028e-06/0.1016, allocations: 0 / 477.7 MB, free: 0.5703 MB / 334.1 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 (5): * Single equations (assignments): 4 * 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 prepare postOptimizeDAE: time 9.717e-05/0.1017, allocations: 117.7 kB / 477.9 MB, free: 456 kB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.196e-05/0.1017, allocations: 0 / 477.9 MB, free: 456 kB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.872e-05/0.1017, allocations: 7.5 kB / 477.9 MB, free: 448 kB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.212e-06/0.1017, allocations: 4.094 kB / 477.9 MB, free: 444 kB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.1017, allocations: 4 kB / 477.9 MB, free: 440 kB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.23e-06/0.1017, allocations: 3.984 kB / 477.9 MB, free: 436 kB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001773/0.1019, allocations: 157.6 kB / 478 MB, free: 228 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.1019, allocations: 0 / 478 MB, free: 228 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.889e-05/0.102, allocations: 7.938 kB / 478 MB, free: 220 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.865e-05/0.102, allocations: 20.84 kB / 478.1 MB, free: 196 kB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.782e-06/0.102, allocations: 0 / 478.1 MB, free: 196 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001031/0.1031, allocations: 1.342 MB / 479.4 MB, free: 14.71 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.935e-06/0.1031, allocations: 8.094 kB / 479.4 MB, free: 14.7 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001888/0.1033, allocations: 172.4 kB / 479.6 MB, free: 14.51 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.29e-05/0.1033, allocations: 77.11 kB / 479.6 MB, free: 14.42 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.122e-05/0.1033, allocations: 7.938 kB / 479.7 MB, free: 14.41 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.91e-05/0.1034, allocations: 4 kB / 479.7 MB, free: 14.41 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.653e-05/0.1034, allocations: 8.016 kB / 479.7 MB, free: 14.4 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.846e-06/0.1034, allocations: 0 / 479.7 MB, free: 14.4 MB / 350.1 MB Notification: Performance of sorting global known variables: time 4.884e-05/0.1034, allocations: 83.34 kB / 479.7 MB, free: 14.32 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.1034, allocations: 3.938 kB / 479.8 MB, free: 14.31 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002248/0.1037, allocations: 8 kB / 479.8 MB, free: 14.3 MB / 350.1 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.0005166/0.1042, allocations: 0.7076 MB / 480.5 MB, free: 13.57 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002617/0.1044, allocations: 146.6 kB / 480.6 MB, free: 13.41 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.1044, allocations: 0 / 480.6 MB, free: 13.41 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001455/0.1046, allocations: 122.7 kB / 480.7 MB, free: 13.28 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001969/0.1048, allocations: 4.875 kB / 480.7 MB, free: 13.27 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001225/0.106, allocations: 1.292 MB / 482 MB, free: 11.89 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003253/0.1063, allocations: 0.6807 MB / 482.7 MB, free: 11.18 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 1.705e-05/0.1064, allocations: 0 / 482.7 MB, free: 11.18 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.635e-05/0.1064, allocations: 7.438 kB / 482.7 MB, free: 11.18 MB / 350.1 MB Notification: Performance of SimCode: time 3.01e-07/0.1064, allocations: 0 / 482.7 MB, free: 11.18 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02645/0.1328, allocations: 1.59 MB / 484.3 MB, free: 9.828 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.51/9.643, allocations: 11.88 kB / 484.3 MB, free: 9.816 MB / 350.1 MB " [Timeout remaining time 650] (rm -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedInitial.pipe ; mkfifo ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedInitial.pipe ; head -c 1048576 < ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedInitial.pipe >> ../files/ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedInitial.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Mechanical_TwoMassesEquationsReducedInitial_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Mechanical_TwoMassesEquationsReducedInitial.fmu > ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedInitial.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.010705256834626] Failed to read output from testmodel.py, exit status != 0: 9.719483854714781 9.733910194 9.633515019 Calling exit ...