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.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.001281/0.001281, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.00156/0.00156, allocations: 215.8 kB / 22.26 MB, free: 5.078 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.478/1.478, allocations: 230.6 MB / 256 MB, free: 8.027 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.00351/0.00351, allocations: 0.5835 MB / 313 MB, free: 2.543 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.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.002024/0.002024, allocations: 63.89 kB / 435.2 MB, free: 17.13 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0983/0.1003, allocations: 53.53 MB / 488.7 MB, free: 11.51 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedInitial): time 0.0017/0.102, allocations: 0.5156 MB / 489.2 MB, free: 10.99 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001534/0.1022, allocations: 28.3 kB / 489.2 MB, free: 10.96 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.617e-05/0.1022, allocations: 0 / 489.2 MB, free: 10.96 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.601e-05/0.1022, allocations: 3.938 kB / 489.2 MB, free: 10.96 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 2.608e-05/0.1022, allocations: 4 kB / 489.2 MB, free: 10.96 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001135/0.1024, allocations: 8 kB / 489.3 MB, free: 10.95 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 5.982e-05/0.1024, allocations: 19.92 kB / 489.3 MB, free: 10.93 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.266e-05/0.1025, allocations: 0 / 489.3 MB, free: 10.93 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.105e-05/0.1025, allocations: 11.92 kB / 489.3 MB, free: 10.92 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.135e-05/0.1025, allocations: 15.92 kB / 489.3 MB, free: 10.9 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.367e-05/0.1026, allocations: 0 / 489.3 MB, free: 10.9 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.598e-06/0.1026, allocations: 4 kB / 489.3 MB, free: 10.9 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.457e-05/0.1026, allocations: 3.984 kB / 489.3 MB, free: 10.89 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.681e-05/0.1026, allocations: 11.94 kB / 489.3 MB, free: 10.88 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 5.861e-05/0.1027, allocations: 12.14 kB / 489.3 MB, free: 10.87 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.386e-06/0.1027, allocations: 4 kB / 489.3 MB, free: 10.87 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.1027, allocations: 4 kB / 489.3 MB, free: 10.86 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.728e-06/0.1027, allocations: 0 / 489.3 MB, free: 10.86 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0003622/0.103, allocations: 254.4 kB / 489.6 MB, free: 10.58 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.591e-05/0.1031, allocations: 8.031 kB / 489.6 MB, free: 10.57 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.816e-05/0.1031, allocations: 34.75 kB / 489.6 MB, free: 10.53 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.889e-05/0.1031, allocations: 4.938 kB / 489.6 MB, free: 10.53 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001023/0.1032, allocations: 114.5 kB / 489.7 MB, free: 10.39 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.25e-05/0.1033, allocations: 4.375 kB / 489.8 MB, free: 10.39 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.559e-05/0.1033, allocations: 4.375 kB / 489.8 MB, free: 10.38 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.996e-05/0.1034, allocations: 50.19 kB / 489.8 MB, free: 10.33 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.214e-05/0.1034, allocations: 3.938 kB / 489.8 MB, free: 10.32 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.043e-06/0.1034, allocations: 4 kB / 489.8 MB, free: 10.32 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.218e-06/0.1034, allocations: 0 / 489.8 MB, free: 10.32 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.371e-05/0.1034, allocations: 15.98 kB / 489.8 MB, free: 10.3 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004092/0.1038, allocations: 243.9 kB / 490.1 MB, free: 10.02 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.367e-05/0.1039, allocations: 38.52 kB / 490.1 MB, free: 9.977 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.092e-05/0.104, allocations: 16.94 kB / 490.1 MB, free: 9.957 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.217e-05/0.104, allocations: 4 kB / 490.1 MB, free: 9.953 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.629e-05/0.104, allocations: 34.56 kB / 490.2 MB, free: 9.91 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 9.72e-07/0.104, allocations: 0 / 490.2 MB, free: 9.91 MB / 350.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003765/0.1044, allocations: 86.44 kB / 490.2 MB, free: 9.816 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.847e-05/0.1044, allocations: 55.41 kB / 490.3 MB, free: 9.75 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.205e-05/0.1045, allocations: 97.86 kB / 490.4 MB, free: 9.645 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.655e-05/0.1045, allocations: 33.58 kB / 490.4 MB, free: 9.605 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.924e-05/0.1046, allocations: 88.09 kB / 490.5 MB, free: 9.516 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.162e-05/0.1046, allocations: 15.89 kB / 490.5 MB, free: 9.5 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.508e-05/0.1046, allocations: 17.72 kB / 490.5 MB, free: 9.477 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001407/0.1048, allocations: 314.8 kB / 490.9 MB, free: 9.16 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.898e-05/0.1048, allocations: 15.98 kB / 490.9 MB, free: 9.145 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.043e-05/0.1048, allocations: 21.72 kB / 490.9 MB, free: 9.117 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.596e-05/0.1049, allocations: 37.64 kB / 490.9 MB, free: 9.074 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.1049, allocations: 0 / 490.9 MB, free: 9.074 MB / 350.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001445/0.105, allocations: 70.48 kB / 491 MB, free: 8.996 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.661e-05/0.1051, allocations: 8 kB / 491 MB, free: 8.988 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.498e-06/0.1051, allocations: 0 / 491 MB, free: 8.988 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001355/0.1052, allocations: 20.88 kB / 491 MB, free: 8.965 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.138e-05/0.1053, allocations: 4 kB / 491 MB, free: 8.961 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001115/0.1064, allocations: 1.252 MB / 492.3 MB, free: 7.594 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.02e-05/0.1064, allocations: 0 / 492.3 MB, free: 7.594 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.438e-06/0.1064, allocations: 0 / 492.3 MB, free: 7.594 MB / 350.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.089e-05/0.1065, allocations: 123.6 kB / 492.4 MB, free: 7.465 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.518e-05/0.1065, allocations: 0 / 492.4 MB, free: 7.465 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.928e-05/0.1065, allocations: 3.781 kB / 492.4 MB, free: 7.457 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.51e-06/0.1065, allocations: 11.98 kB / 492.4 MB, free: 7.445 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.094e-06/0.1065, allocations: 0 / 492.4 MB, free: 7.445 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/0.1065, allocations: 432 / 492.4 MB, free: 7.445 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001703/0.1067, allocations: 140.6 kB / 492.6 MB, free: 7.266 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.1067, allocations: 0 / 492.6 MB, free: 7.266 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.435e-05/0.1067, allocations: 0 / 492.6 MB, free: 7.266 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.973e-05/0.1068, allocations: 16.84 kB / 492.6 MB, free: 7.246 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.134e-06/0.1068, allocations: 0 / 492.6 MB, free: 7.246 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001002/0.1078, allocations: 1.252 MB / 493.8 MB, free: 5.883 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.006e-06/0.1078, allocations: 8.094 kB / 493.8 MB, free: 5.875 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001953/0.108, allocations: 172.3 kB / 494 MB, free: 5.688 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.244e-06/0.108, allocations: 4.031 kB / 494 MB, free: 5.684 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.548e-06/0.108, allocations: 3.938 kB / 494 MB, free: 5.68 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.612e-05/0.1081, allocations: 0 / 494 MB, free: 5.68 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.762e-05/0.1081, allocations: 7.984 kB / 494 MB, free: 5.672 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.08e-06/0.1081, allocations: 7.938 kB / 494 MB, free: 5.664 MB / 350.1 MB Notification: Performance of sorting global known variables: time 4.126e-05/0.1082, allocations: 79.34 kB / 494.1 MB, free: 5.586 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1082, allocations: 0 / 494.1 MB, free: 5.586 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000252/0.1084, allocations: 8 kB / 494.1 MB, free: 5.578 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.0005176/0.1089, allocations: 0.7076 MB / 494.8 MB, free: 4.84 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002704/0.1092, allocations: 146.6 kB / 495 MB, free: 4.684 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.1092, allocations: 0 / 495 MB, free: 4.684 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001479/0.1093, allocations: 126.7 kB / 495.1 MB, free: 4.547 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002154/0.1096, allocations: 3.984 kB / 495.1 MB, free: 4.543 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001263/0.1108, allocations: 1.288 MB / 496.4 MB, free: 3.16 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00034/0.1112, allocations: 0.6846 MB / 497.1 MB, free: 2.449 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 1.922e-05/0.1112, allocations: 4 kB / 497.1 MB, free: 2.445 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.131e-05/0.1112, allocations: 11.42 kB / 497.1 MB, free: 2.434 MB / 350.1 MB Notification: Performance of SimCode: time 4.21e-07/0.1112, allocations: 0 / 497.1 MB, free: 2.434 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03102/0.1422, allocations: 1.595 MB / 498.7 MB, free: 1.012 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.46/11.6, allocations: 9.766 kB / 498.7 MB, free: 1.008 MB / 350.1 MB " [Timeout remaining time 648] (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: 14.270918903173879] Failed to read output from testmodel.py, exit status != 0: 11.707717460114509 11.728347111 11.621846053 Calling exit ...